-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor folder structure for improved organization
Reorganize project folder structure to enhance clarity and maintainability: - Moved Playwright configuration to `config/playwright.config.ts`. - Relocated URL constants to `constants/urls.ts`. - Moved selectors to `page-objects/selectors.ts`. - Reorganized test files under `tests/e2e`: - `inventory-functionality.test.ts` - `login-functionality.test.ts`. - Moved credentials to `tests/fixtures/credentials.ts`. - Updated utilities in `tests/utils/inventory.ts` and `tests/utils/login.ts`. This refactor adheres to project standards and improves modularity.
- Loading branch information
1 parent
2ed473f
commit 63dd2a0
Showing
9 changed files
with
20 additions
and
14 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ export const urls = { | |
loginPage: 'https://www.saucedemo.com/v1/', | ||
inventoryPage: /inventory.html/, | ||
}; | ||
|
||
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
tests/inventory-functionality.test.ts → tests/e2e/inventory-functionality.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
tests/login-functionality.test.ts → tests/e2e/login-functionality.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters