https://github.com/eataborda/blankfactor-test
https://github.com/eataborda/blankfactor-test
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eataborda/blankfactor-test
- Owner: eataborda
- Created: 2024-09-23T20:26:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-23T22:20:57.000Z (about 1 year ago)
- Last Synced: 2025-03-20T17:09:49.092Z (7 months ago)
- Language: Java
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blankfactor-test
A simple exercise of searching on the web page and subscribing to the news portal## Use sample project locally
- Verify that you have `Git`
- Verify that you have `Java` installed, also that you already setup the following environment variables: `$PATH` and `$JAVA_HOME`
- Clone the repository and move inside that path:
```shellscript
$ git clone git@github.com:eataborda/blankfactor-test.git
$ cd ./blankfactor-test
```### Run tests
- Run all tests on the src (Can select: chrome, firefox, edge):
```
$ ./gradlew -Ddriver="chrome"
```### Generate report
Once you have run the tests you can generate the Allure report by running the following command:
```
$ allure generate build/allure-results --clean
```
After running the above command successfully you will be able to find the report in the following path: `your-project-path/allure-report`### Open the report
Locally you can open the report in two ways:
- Using the command:
```
$ allure open /your-project-path/allure-report
```
The command starts a local web server and show the report directory's contents. Opens the report in your default browser.
- Opening the report file `/your-project-path/allure-report/index.html` in the browser of your choice. This shows the static contents of the report directory without starting any local web server.