Skip to content

Commit 0e252a9

Browse files
authored
Merge pull request #4 from applitools/mm-onboarding-updates
version updates
2 parents 5ab295a + 55c8abe commit 0e252a9

File tree

2 files changed

+32
-7
lines changed

2 files changed

+32
-7
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Applitools Example: Basic Selenium WebDriver in Java
22

3-
This is the example project for the [Selenium Java Basic tutorial](https://applitools.com/tutorials/quickstart/web/selenium/java/basic).
3+
This is the example project for the [Selenium Java Basic tutorial](https://applitools.com/tutorials).
44
It shows how to start automating visual tests
55
with [Applitools Eyes](https://applitools.com/platform/eyes/)
66
and [Selenium WebDriver](https://www.selenium.dev/) in Java.
@@ -25,14 +25,19 @@ To run this example project, you'll need:
2525
3. A good Java editor, such as [JetBrains IntelliJ IDEA](https://www.jetbrains.com/idea/).
2626
4. [Apache Maven](https://maven.apache.org/download.cgi) (typically bundled with IDEs).
2727
5. An up-to-date version of [Google Chrome](https://www.google.com/chrome/downloads/).
28-
6. A corresponding version of [ChromeDriver](https://chromedriver.chromium.org/downloads).
2928

3029
The main test case is [`AcmeBankTests.java`](src/test/java/com/applitools/example/AcmeBankTests.java).
3130
By default, the project will run tests with Ultrafast Grid but not Execution Cloud.
3231
You can change these settings in the test class.
3332

3433
To execute tests, set the `APPLITOOLS_API_KEY` environment variable
35-
to your [account's API key](https://applitools.com/tutorials/guides/getting-started/registering-an-account).
34+
to your [account's API key](https://applitools.com/tutorials/getting-started/registering-an-account).
35+
36+
Install the dependencies
37+
```
38+
mvn install
39+
```
40+
3641
You can launch the test from your IDE,
3742
or you can run it from the command line with Maven like this:
3843

@@ -41,4 +46,4 @@ mvn exec:exec@run-the-tests -Dexec.classpathScope=test
4146
```
4247

4348
**For full instructions on running this project, take our
44-
[Selenium Java Basic tutorial](https://applitools.com/tutorials/quickstart/web/selenium/java/basic)!**
49+
[Selenium Java Basic tutorial](https://applitools.com/tutorials)!**

pom.xml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.example</groupId>
88
<artifactId>example-selenium-java-basic</artifactId>
9-
<version>2.1.1</version>
9+
<version>2.1.2</version>
1010

1111
<properties>
1212
<maven.compiler.source>1.8</maven.compiler.source>
@@ -17,19 +17,39 @@
1717
<dependency>
1818
<groupId>com.applitools</groupId>
1919
<artifactId>eyes-selenium-java5</artifactId>
20-
<version>5.80.0</version>
20+
<version>5.81.0</version>
2121
<scope>test</scope>
2222
</dependency>
2323
<dependency>
2424
<groupId>org.seleniumhq.selenium</groupId>
2525
<artifactId>selenium-java</artifactId>
26-
<version>4.10.0</version>
26+
<version>4.35.0</version>
2727
<scope>test</scope>
2828
</dependency>
2929
</dependencies>
3030

3131
<build>
3232
<plugins>
33+
<plugin>
34+
<groupId>org.apache.maven.plugins</groupId>
35+
<artifactId>maven-enforcer-plugin</artifactId>
36+
<version>3.6.1</version>
37+
<executions>
38+
<execution>
39+
<id>enforce-maven</id>
40+
<goals>
41+
<goal>enforce</goal>
42+
</goals>
43+
<configuration>
44+
<rules>
45+
<requireMavenVersion>
46+
<version>3.6.1</version>
47+
</requireMavenVersion>
48+
</rules>
49+
</configuration>
50+
</execution>
51+
</executions>
52+
</plugin>
3353
<plugin>
3454
<groupId>org.codehaus.mojo</groupId>
3555
<artifactId>exec-maven-plugin</artifactId>

0 commit comments

Comments
 (0)