Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

run-tests-in-parallel:
executor: cypress/default
parallelism: 2
parallelism: 6
steps:
- attach_workspace:
at: ~/
Expand Down
17 changes: 17 additions & 0 deletions cypress/e2e/all_accessibility_pages.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const URLs: Array<string> = Cypress.env('URLs')

// Mostly this is to get a UI Coverage and Accessibility report
describe('Visit all Accessibility pages', () => {
URLs.forEach((URL) => {
if (!URL.startsWith('accessibility')) return

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()
})
})
})
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
const URLs: Array<string> = Cypress.env('URLs')

// Mostly this is to get a UI Coverage and Accessibility report
describe('Visit all pages', () => {
describe('Visit all API pages', () => {
URLs.forEach((URL) => {
if (!URL.startsWith('api')) return

it(`Visit ${URL} `, () => {
cy.visit(URL)
cy.get('h1')
Expand Down
17 changes: 17 additions & 0 deletions cypress/e2e/all_app_pages.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const URLs: Array<string> = Cypress.env('URLs')

// Mostly this is to get a UI Coverage and Accessibility report
describe('Visit all App pages', () => {
URLs.forEach((URL) => {
if (!URL.startsWith('app')) return

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()
})
})
})
17 changes: 17 additions & 0 deletions cypress/e2e/all_cloud_pages.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const URLs: Array<string> = Cypress.env('URLs')

// Mostly this is to get a UI Coverage and Accessibility report
describe('Visit all Cloud pages', () => {
URLs.forEach((URL) => {
if (!URL.startsWith('cloud')) return

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()
})
})
})
17 changes: 17 additions & 0 deletions cypress/e2e/all_ui_cov_pages.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const URLs: Array<string> = Cypress.env('URLs')

// Mostly this is to get a UI Coverage and Accessibility report
describe('Visit all UI Coverage pages', () => {
URLs.forEach((URL) => {
if (!URL.startsWith('ui-coverage')) return

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()
})
})
})