Skip to content

Break Up Tests #6205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 9, 2025
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()
})
})
})