-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update styles for dark backgrounds to be readable (#6066)
* Update styles for dark backgrounds to be readable * Update tests to visit all pages and to visit them all in dark mode. * Add back the supportFile: false config * Set parallelism to 2 * exclude partial files from visiting * fix lodash page * Ensure the page visited is not the 404 page * Add test for 404 display
- Loading branch information
1 parent
d36e03e
commit 3fd06e1
Showing
12 changed files
with
92 additions
and
121 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const URLs: Array<string> = Cypress.env('URLs') | ||
|
||
// Mostly this is to get a UI Coverage and Accessibility report | ||
describe('Visit all pages', () => { | ||
URLs.forEach((URL) => { | ||
it(`Visit ${URL} `, () => { | ||
cy.visit(URL) | ||
cy.get('h1') | ||
.should('be.visible') | ||
.and('not.have.text', 'Page Not Found') | ||
|
||
cy.get('[aria-label="Switch to dark mode"]').click() | ||
}) | ||
}) | ||
}) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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