phanhnt / SeleniumPractice

0 stars 0 forks source link

Run a sample maven project #3

Open phanhnt opened 9 months ago

phanhnt commented 9 months ago

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.

image

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

image

2. Indicate web browser Navigate to file serenity.properties

image

3. Run the test Finally, run that simple project basically in the command line: mvn clean verify

image
phanhnt commented 9 months ago

what does headless.mode = false mean?