Skip to content

Commit 41ab9e1

Browse files
authored
Update README.md
1 parent 4238c87 commit 41ab9e1

File tree

1 file changed

+30
-36
lines changed

1 file changed

+30
-36
lines changed

README.md

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -50,44 +50,38 @@ The project is structured as follows:
5050
│  └─ install_chrome.sh
5151
├─ settings.gradle
5252
└─ 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
7953
   └─ test
8054
      ├─ java
8155
      │  └─ io
8256
      │     └─ github
8357
      │        └─ 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
8982
      │              └─ TestListener.java
9083
      └─ resources
84+
         ├─ config.properties
9185
         └─ testData
9286
            └─ login
9387
               └─ login.csv
@@ -102,19 +96,19 @@ The project is structured as follows:
10296
- [Workflow](#workflow)
10397

10498
### 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.
106100

107101
### 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.
109103

110104
### 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.
112106

113107
### 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.
115109

116110
### 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.
118112

119113
### Workflow
120114
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

Comments
 (0)