when creating a maven serenity by command, the newest ver of serenity is 2.3.2. However, it's a fact to check on mvn website that 2.3.2 is pretty out of date, so when compiling the project created by the command line without modifying the serenity version, which throws failure.
So, after creating the project by command line, I'd open the project in Intelij to modify the variable of serenity version in pom.xml
The modified serenity version now is 3.8.1
2. Indicate web browser
Navigate to file serenity.properties
default webdriver is chrome, but I haven't install chrome webdriver, so I'll using Edge browser because Edge doesn't require webdriver when compiling.
After creating a maven serenity project https://github.com/phanhnt/SeleniumPractice/issues/2
1. Config serenity version in pom.xml
when creating a maven serenity by command, the newest ver of serenity is 2.3.2. However, it's a fact to check on mvn website that 2.3.2 is pretty out of date, so when compiling the project created by the command line without modifying the serenity version, which throws failure.
So, after creating the project by command line, I'd open the project in Intelij to modify the variable of serenity version in pom.xml The modified serenity version now is 3.8.1
2. Indicate web browser Navigate to file
serenity.properties
3. Run the test Finally, run that simple project basically in the command line:
mvn clean verify