Skip to content

Commit 686a968

Browse files
committed
Created Page Objects.ts & locators.ts
1 parent 8571f5b commit 686a968

10 files changed

Lines changed: 2065 additions & 92 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ This project covers various interactive features of the Herokuapp test site usin
3232

3333
├── constants/
3434
│ └── configuration.ts
35-
├── pageObjects/
36-
│ ├── addRemove.ts
35+
├── pages/
36+
│ ├── pageObjects.ts
3737
│ └── locators.ts
3838
├── tests/
3939
│ ├── TC01-addRemove.spec.ts
4040
│ ├── TC02-basicAuth.spec.ts
4141
│ └── TC03-brokenImages.spec.ts
42-
├── utility/
42+
├── utils/
4343
│ ├── credentials.ts
44-
│ └── utility.ts
44+
│ └── generalUtils.ts
4545
├── package.json
4646
├── playwright.config.ts
4747
└── README.md

constants/configuration.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@ export const URLs = {
44
ADD_REMOVE_ELEMENTS: '/add_remove_elements/',
55
BASIC_AUTH: '/basic_auth',
66
BROKEN_IMAGES: '/broken_images'
7+
};
8+
9+
export const Values = {
10+
NAME_PREFIX: 'Name_',
11+
DESCRIPTION_PREFIX: 'Desc_',
712
};

0 commit comments

Comments
 (0)