-
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.
Added Tests for Menu Button in Mobile (#43)
1. Added Test scripts to validate Menu button that replaces navigation Bar in the Mobile devices 2. Updated the Playwright config(both) to specifically run tests on a mobile viewport for Android devices. 3. Cleaned up the code by separating the repeatable shared functionalities, such as the 'You need help now' section, the website name, and the navigation bar.
- Loading branch information
1 parent
d0e0685
commit 8f17388
Showing
8 changed files
with
259 additions
and
98 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
export const pagesToTest = [ | ||
'/home', // Home page | ||
'/all-support', // About page | ||
]; | ||
// List of pages that will have common functionality across the site | ||
// such as WebsiteName Link, Navigation Bar, Cookies, and Footers | ||
export const commonPagesToTest = [ | ||
'/home', | ||
'/all-support', | ||
]; | ||
|
||
// List of helpline-related links to test-Only certain pages will have this link | ||
export const helplineLinksToTest = [ | ||
'/home', | ||
'/all-support', | ||
]; |
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
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
Oops, something went wrong.