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
Copy file name to clipboardExpand all lines: README.md
+30-36Lines changed: 30 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,44 +50,38 @@ The project is structured as follows:
50
50
│ └─ install_chrome.sh
51
51
├─ settings.gradle
52
52
└─ src
53
-
├─ main
54
-
│ ├─ java
55
-
│ │ └─ io
56
-
│ │ └─ github
57
-
│ │ └─ tahanima
58
-
│ │ ├─ browser
59
-
│ │ │ ├─ BrowserFactory.java
60
-
│ │ │ └─ BrowserManager.java
61
-
│ │ ├─ config
62
-
│ │ │ ├─ Configuration.java
63
-
│ │ │ └─ ConfigurationManager.java
64
-
│ │ ├─ data
65
-
│ │ │ ├─ BaseData.java
66
-
│ │ │ └─ login
67
-
│ │ │ └─ LoginData.java
68
-
│ │ ├─ page
69
-
│ │ │ ├─ BasePage.java
70
-
│ │ │ ├─ BasePageFactory.java
71
-
│ │ │ ├─ login
72
-
│ │ │ │ └─ LoginPage.java
73
-
│ │ │ └─ product
74
-
│ │ │ └─ ProductsPage.java
75
-
│ │ └─ report
76
-
│ │ └─ ExtentReportManager.java
77
-
│ └─ resources
78
-
│ └─ config.properties
79
53
└─ test
80
54
├─ java
81
55
│ └─ io
82
56
│ └─ github
83
57
│ └─ tahanima
84
-
│ ├─ BaseTest.java
85
-
│ ├─ login
86
-
│ │ └─ LoginTest.java
87
-
│ └─ util
88
-
│ ├─ CsvDataProviderUtil.java
58
+
│ ├─ browser
59
+
│ │ ├─ BrowserFactory.java
60
+
│ │ └─ BrowserManager.java
61
+
│ ├─ config
62
+
│ │ ├─ Configuration.java
63
+
│ │ └─ ConfigurationManager.java
64
+
│ ├─ data
65
+
│ │ ├─ BaseData.java
66
+
│ │ └─ login
67
+
│ │ └─ LoginData.java
68
+
│ ├─ e2e
69
+
│ │ ├─ BaseE2ETest.java
70
+
│ │ └─ login
71
+
│ │ └─ LoginE2ETest.java
72
+
│ ├─ pages
73
+
│ │ ├─ BasePage.java
74
+
│ │ ├─ BasePageFactory.java
75
+
│ │ ├─ login
76
+
│ │ │ └─ LoginPage.java
77
+
│ │ └─ product
78
+
│ │ └─ ProductsPage.java
79
+
│ └─ utils
80
+
│ ├─ CsvDataProviderUtils.java
81
+
│ ├─ ExtentReportManager.java
89
82
│ └─ TestListener.java
90
83
└─ resources
84
+
├─ config.properties
91
85
└─ testData
92
86
└─ login
93
87
└─ login.csv
@@ -102,19 +96,19 @@ The project is structured as follows:
102
96
-[Workflow](#workflow)
103
97
104
98
### Config
105
-
The project uses [config.properties](src/main/resources/config.properties) file to map all the global parameters such as browser and base url. All the relevant classes to read the parameters are provided in the [config](src/main/java/io/github/tahanima/config) package.
99
+
The project uses [config.properties](src/test/resources/config.properties) file to map all the global parameters such as browser and base url. All the relevant classes to read the parameters are provided in the [config](src/test/java/io/github/tahanima/config) package.
106
100
107
101
### Data
108
-
The project reads test data from csv files. The test data properties are modeled in terms of entities and the `data` package handles this. For convenience, there is an example class - [LoginData.java](src/main/java/io/github/tahanima/data/login/LoginData.java) to demonstrate the usage.
102
+
The project reads test data from csv files. The test data properties are modeled in terms of entities and the `data` package handles this. For convenience, there is an example class - [LoginData.java](src/test/java/io/github/tahanima/data/login/LoginData.java) to demonstrate the usage.
109
103
110
104
### Page
111
-
The project uses Page Object Model to capture all the relevant UI components and functionalities of a web page. The [page](src/main/java/io/github/tahanima/page) package provides all the classes to achieve this. For convenience, there is an example class - [LoginPage.java](src/main/java/io/github/tahanima/page/login/LoginPage.java) to demonstrate the usage.
105
+
The project uses Page Object Model to capture all the relevant UI components and functionalities of a web page. The [pages](src/test/java/io/github/tahanima/pages) package provides all the classes to achieve this. For convenience, there is an example class - [LoginPage.java](src/test/java/io/github/tahanima/pages/login/LoginPage.java) to demonstrate the usage.
112
106
113
107
### Report
114
-
The project uses *Extent Reports* to provide test reporting functionalities. The [report](src/main/java/io/github/tahanima/report) package contains the relevant class.
108
+
The project uses *Extent Reports* to provide test reporting functionalities.
115
109
116
110
### Test
117
-
[LoginTest.java](src/test/java/io/github/tahanima/login/LoginTest.java) demonstrates an example test script.
111
+
[LoginE2ETest.java](src/test/java/io/github/tahanima/e2e/login/LoginE2ETest.java) demonstrates an example test script.
118
112
119
113
### Workflow
120
114
The project uses GitHub Actions to run the playwright tests when an update is made to the `main` branch of the repo in GitHub.
0 commit comments