Here, we will execute a modified version of the GiganticStoreTest that includes ignored and failed tests. We'll navigate a TestNG HTML report after the execution of a test. The steps for completion are as follows:
- Open https://github.com/TrainingByPackt/Beginning-Selenium/blob/master/docs/lesson_8/lesson8/src/test/java/com/beginningselenium/examples/tests/GiganticStoreTest.java on IntelliJ IDEA.
- Execute the test by typing mvn clean test in the root directory.
- Open the resulting target/surefire-reports/index.html file in Chrome.
- Open the report. Note the failures highlighted by TestNG from the start page, as follows:
Note that five of the six methods passed, and only one failed.
- Click on the 3 groups option. The ...