8000 [plugin-applitools] Add execution cloud support by uarlouski · Pull Request #4059 · vividus-framework/vividus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[plugin-applitools] Add execution cloud support #4059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Conversation

uarlouski
Copy link
Member

No description provided.

@github-actions
Copy link

Qodana

It seems all right 👌

No new problems found according to the checks applied
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@github-actions
Copy link

Qodana

It seems all right 👌

No new problems found according to the checks applied
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@github-actions
Copy link

Qodana

It seems all right 👌

No new problems found according to the checks applied
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@uarlouski uarlouski requested a review from valfirst June 19, 2023 12:13
@uarlouski uarlouski marked this pull request as ready for review June 19, 2023 12:13
@uarlouski uarlouski requested a review from a team as a code owner June 19, 2023 12:13
@uarlouski uarlouski requested a review from ikalinin1 June 19, 2023 12:13
@github-actions
Copy link

Qodana

It seems all right 👌

No new problems found according to the checks applied
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@codecov
Copy link
codecov bot commented Jun 19, 2023

Codecov Report

Merging #4059 (b44f1e5) into master (f04365a) will decrease coverage by 8.42%.
The diff coverage is 94.44%.

@@             Coverage Diff              @@
##             master    #4059      +/-   ##
============================================
- Coverage     97.20%   88.78%   -8.42%     
- Complexity     6420     6656     +236     
============================================
  Files           893      897       +4     
  Lines         18473    18501      +28     
  Branches       1211     1212       +1     
============================================
- Hits          17957    16427    -1530     
- Misses          409     1945    +1536     
- Partials        107      129      +22     
Impacted Files Coverage Δ
...elenium/AbstractDesiredCapabilitiesConfigurer.java 100.00% <ø> (ø)
...ools/executioncloud/ExecutionCloudUrlProvider.java 50.00% <50.00%> (ø)
...org/vividus/selenium/AbstractWebDriverFactory.java 95.55% <100.00%> (-0.19%) ⬇️
...a/org/vividus/selenium/RemoteWebDriverFactory.java 100.00% <100.00%> (ø)
...dus/selenium/StaticRemoteWebDriverUrlProvider.java 100.00% <100.00%> (ø)
...ioncloud/ExecutionCloudCapabilitiesConfigurer.java 100.00% <100.00%> (ø)
...xecutioncloud/ExecutionCloudTestStatusManager.java 100.00% <100.00%> (ø)

... and 73 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more


:plugin-short-name: applitools
include::partial$plugin-installation.adoc[]

== Properties
== UI validations
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
== UI validations
== Visual Testing


|`<empty>`
|The name of the application under test.
include::partial$applitools-properties.adoc[]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to duplicate the properties, just move the to the separate section at the very beginnging

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its not convenient at all when properties are spread across the whole page


== Execution cloud

https://applitools.com/platform/execution-cloud/[Execution Cloud] is a self-healing test infrastructure for running resilient tests using OS frameworks.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using OS frameworks.

what is it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image I guess open source :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't copy it without clear understanding

[cols="1,2"]
|===

|`executioncloud/web`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
|`executioncloud/web`
|`applitools/web`

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

applitools is not clear because its a company name, whereas executioncloud is a product that the profile is created for

@@ -1,3 +1,3 @@
=== `ESTABLISH`
==== `ESTABLISH`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,6 +1,7 @@
applitools.server-uri=
applitools.execute-api-key=
applitools.app-name=Application under test
applitools.execution-cloud.batch-name=VIVIDUS test run
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

to group stories under one batch


spring.profiles.active=web,executioncloud

selenium.grid.capabilities.browserName=chrome
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be ../web/chrome profile?

@@ -68,4 +68,17 @@
<idref bean="visualTestingSteps" />
<idref bean="ufgSteps" />
</util:list>

<beans profile="executioncloud">
<bean class="org.vividus.executioncloud.selenium.ExecutionCloudUrlProvider" primary="true" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't profile order enough to set the order of beans loading?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, why did you think so?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. VIVIDUS profiles order matters
  2. If Spring loads profiles exactly in the same order they defined, then we should rely on bean loading order, rather then marking some beans primary

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vividus is vividus, spring is spring, so order of profiles in spring doesn't make early loaded beans primary over lately loaded

@github-actions
Copy link

Qodana

It seems all right 👌

No new problems found according to the checks applied
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@uarlouski uarlouski requested a review from valfirst June 20, 2023 08:42
@github-actions
Copy link

Qodana

It seems all right 👌

No new problems found according to the checks applied
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@@ -1,13 +1,13 @@
= Applitools Plugin

The plugin provides the ability to perform visual testing using the https://applitools.com/[Applitools] visual testing platform.
The plugin provides the ability to perform various kinds of testing using the https://applitools.com/[Applitools] services such as https://applitools.com/platform/eyes/[Eyes] https://applitools.com/platform/ultrafast-grid/[Ultrafast Grid] and https://applitools.com/platform/execution-cloud/[Execution Cloud].
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The plugin provides the ability to perform various kinds of testing using the https://applitools.com/[Applitools] services such as https://applitools.com/platform/eyes/[Eyes] https://applitools.com/platform/ultrafast-grid/[Ultrafast Grid] and https://applitools.com/platform/execution-cloud/[Execution Cloud].
The plugin provides the ability to perform various kinds of testing using the https://applitools.com/[Applitools] services such as https://applitools.com/platform/eyes/[Eyes], https://applitools.com/platform/ultrafast-grid/[Ultrafast Grid] and https://applitools.com/platform/execution-cloud/[Execution Cloud].

|Description

|`applitools.execution-cloud.batch-name`
|VIVIDUS test run
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should put any default value here


import java.net.URL;

public class WebDriverUrlProvider implements RemoteWebDriverUrlProvider
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public class WebDriverUrlProvider implements RemoteWebDriverUrlProvider
public class StaticRemoteWebDriverUrlProvider implements RemoteWebDriverUrlProvider

?

* limitations under the License.
*/

package org.vividus.executioncloud;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
package org.vividus.executioncloud;
package org.vividus.applitools.executioncloud;

* limitations under the License.
*/

package org.vividus.executioncloud;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
package org.vividus.executioncloud;
package org.vividus.applitools.executioncloud;

* limitations under the License.
*/

package org.vividus.executioncloud.selenium;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
package org.vividus.executioncloud.selenium;
package org.vividus.applitools.executioncloud;

@github-actions
Copy link

Qodana

It seems all right 👌

No new problems found according to the checks applied
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

94.4% 94.4% Coverage
0.0% 0.0% Duplication

@uarlouski uarlouski requested a review from valfirst June 21, 2023 13:46
@valfirst valfirst merged commit 905fe88 into master Jun 21, 2023
@valfirst valfirst deleted the execution-cloud branch June 21, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0