You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Import the project in [IntelliJ IDEA](https://www.jetbrains.com/idea/download/).
15
15
4. Make your desired changes.
16
16
5. Use IntelliJ IDEA to run your desired tests. Alternatively, you can use the terminal to run the tests, for example `./gradlew test -Dbrowser=firefox -Dheadless=false` to run all the tests using the firefox browser in headed mode.
17
+
6. Build and browse the allure report using
18
+
```
19
+
./gradlew allureServe
20
+
```
17
21
18
22
## Languages and Frameworks
19
23
20
24
The project uses the following:
21
25
-*[Java 11](https://openjdk.java.net/projects/jdk/11/)* as the programming language.
22
26
-*[Playwright](https://playwright.dev/)* as the web browser automation framework using the Java binding.
23
27
-*[Univocity Parsers](https://www.univocity.com/pages/univocity_parsers_tutorial)* to parse and handle CSV files.
24
-
-*[TestNG](https://testng.org/doc/)* as the testing framework.
28
+
-*[JUnit 5](https://junit.org/junit5/)* as the testing framework.
25
29
-*[Lombok](https://projectlombok.org/)* to generate getters.
26
30
-*[Owner](http://owner.aeonbits.org/)* to minimize the code to handle properties file.
27
-
-*[Extent Reports](https://www.extentreports.com/)* as the test reporting strategy.
31
+
-*[Allure Report](https://qameta.io/allure-report/)* as the test reporting strategy.
28
32
-*[Gradle](https://gradle.org/)* as the Java build tool.
29
33
-*[IntelliJ IDEA](https://www.jetbrains.com/idea/)* as the IDE.
30
34
@@ -50,31 +54,27 @@ The project is structured as follows:
50
54
├─ settings.gradle
51
55
└─ src
52
56
├─ main
53
-
│ ├─ java
54
-
│ │ └─ io
55
-
│ │ └─ github
56
-
│ │ └─ tahanima
57
-
│ │ ├─ config
58
-
│ │ │ ├─ Configuration.java
59
-
│ │ │ └─ ConfigurationManager.java
60
-
│ │ ├─ data
61
-
│ │ │ ├─ BaseTestData.java
62
-
│ │ │ └─ login
63
-
│ │ │ └─ LoginTestData.java
64
-
│ │ ├─ page
65
-
│ │ │ ├─ BasePage.java
66
-
│ │ │ ├─ BasePageFactory.java
67
-
│ │ │ ├─ login
68
-
│ │ │ │ └─ LoginPage.java
69
-
│ │ │ └─ product
70
-
│ │ │ └─ ProductsPage.java
71
-
│ │ ├─ report
72
-
│ │ │ └─ ExtentReportManager.java
73
-
│ │ └─ util
74
-
│ │ ├─ BrowserFactory.java
75
-
│ │ └─ BrowserManager.java
76
-
│ └─ resources
77
-
│ └─ config.properties
57
+
│ └─ java
58
+
│ └─ io
59
+
│ └─ github
60
+
│ └─ tahanima
61
+
│ ├─ config
62
+
│ │ ├─ Configuration.java
63
+
│ │ └─ ConfigurationManager.java
64
+
│ ├─ data
65
+
│ │ ├─ BaseTestData.java
66
+
│ │ └─ login
67
+
│ │ └─ LoginTestData.java
68
+
│ ├─ page
69
+
│ │ ├─ BasePage.java
70
+
│ │ ├─ BasePageFactory.java
71
+
│ │ ├─ login
72
+
│ │ │ └─ LoginPage.java
73
+
│ │ └─ product
74
+
│ │ └─ ProductsPage.java
75
+
│ └─ util
76
+
│ ├─ BrowserFactory.java
77
+
│ └─ BrowserManager.java
78
78
└─ test
79
79
├─ java
80
80
│ └─ io
@@ -85,9 +85,13 @@ The project is structured as follows:
0 commit comments