- To start test use a command mvn clean test -DsuiteXml="suite name" -Dconfig="property name"
- Has been created a driver factory for creating a driver
- Have implemented possibility to change the browser in terminal by using the command -Dbrowser="browser name".
Default browser is chrome.
- Example: mvn clean test -DsuiteXml="suite name" -Dconfig="property name" -Dbrowser="firefox"
- Available browsers: chrome, firefox
- Have implemented possibility to make an allure report by using the command mvn allure:report or mvn allure:serve
- Have added a logger, can read logs from the console and from the file target/logs/log.out
- Have added a retry mechanism for flaky tests
- Have added a screenshot for failed tests
- Have added a thread local for driver to make tests run in parallel
- Have added a config properties file to store test data
- Have added a ConfigProvider interface to read data from the config properties file
- Have added a possibility to use different environments by using the command -Denv="environment name".
Default environment is "dev".
- Example: mvn clean test -DsuiteXml="suite name" -Dconfig="property name" -Denv="stage"
- Available environments: dev, test, prod
-
Notifications
You must be signed in to change notification settings - Fork 0
DShurpik/Java_selenium
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published