diff --git a/packages/app/src/components/Blank.cy.tsx b/packages/app/src/components/Blank.cy.tsx
index 8acc0740ca85..8f47bde2f27b 100644
--- a/packages/app/src/components/Blank.cy.tsx
+++ b/packages/app/src/components/Blank.cy.tsx
@@ -14,19 +14,19 @@ describe('initial', () => {
})
describe('testIsolationBlankPage', () => {
- it('works', () => {
+ beforeEach(() => {
getContainerEl()!.innerHTML = testIsolationBlankPage()
-
cy.get('[data-cy="cypress-logo"]')
cy.get('[data-cy="text"]').should('have.text', 'Default blank page')
cy.get('[data-cy="subtext"]').should('have.text', 'This page was cleared by navigating to about:blank.All active session data (cookies, localStorage and sessionStorage) across all domains are cleared.')
+ })
+ it('works', () => {
cy.percySnapshot()
})
it('works with small viewport', () => {
cy.viewport(200, 500)
- getContainerEl()!.innerHTML = testIsolationBlankPage()
cy.percySnapshot()
})
@@ -35,13 +35,15 @@ describe('testIsolationBlankPage', () => {
describe('visitFailure', () => {
it('works', () => {
getContainerEl()!.innerHTML = visitFailure({ url: 'http://foo.cypress.io' })
-
- cy.percySnapshot()
})
it('works with details', () => {
getContainerEl()!.innerHTML = visitFailure({ url: 'http://foo.cypress.io', status: 404, statusText: 'Not Found', contentType: 'text/html' })
+ cy.get('p').contains('Sorry, we could not load:')
+ cy.get('a').contains('http://foo.cypress.io').should('have.attr', 'href', 'http://foo.cypress.io')
+ cy.get('p').contains('404 - Not Found (text/html)')
+
cy.percySnapshot()
})
})
diff --git a/packages/app/src/debug/DebugRunStates.cy.tsx b/packages/app/src/debug/DebugRunStates.cy.tsx
index 81a740df5475..5b76ce3e826a 100644
--- a/packages/app/src/debug/DebugRunStates.cy.tsx
+++ b/packages/app/src/debug/DebugRunStates.cy.tsx
@@ -27,7 +27,8 @@ describe('Debug page states', () => {
it('renders', () => {
cy.mount()
- cy.percySnapshot()
+ cy.contains('Well Done!')
+ cy.contains('All your tests passed')
})
})
@@ -35,17 +36,19 @@ describe('Debug page states', () => {
it('renders for single spec', () => {
cy.mount()
+ cy.findByTestId('collapsible').should('be.visible')
+ cy.get('h3').contains('Incomplete')
+ cy.contains(mockError)
cy.contains('1 of 1 spec skipped').should('be.visible')
-
- cy.percySnapshot()
})
it('renders for plural specs', () => {
cy.mount()
+ cy.findByTestId('collapsible').should('be.visible')
+ cy.get('h3').contains('Incomplete')
+ cy.contains(mockError)
cy.contains('4 of 50 specs skipped').should('be.visible')
-
- cy.percySnapshot()
})
})
@@ -53,7 +56,9 @@ describe('Debug page states', () => {
it('renders', () => {
cy.mount()
- cy.percySnapshot()
+ cy.findByTestId('collapsible').should('be.visible')
+ cy.get('h3').contains('Incomplete')
+ cy.contains('Run has no tests')
})
})
@@ -61,14 +66,21 @@ describe('Debug page states', () => {
it('renders without CI information', () => {
cy.mount()
- cy.percySnapshot()
+ cy.findByTestId('collapsible').should('be.visible')
+ cy.get('h3').contains('Incomplete')
+ cy.contains('The run started but never completed. This can happen when the run is cancelled from CI or when Cypress crashes while running tests. Archive this run to remove it from the runs list and analytics.')
+ cy.contains('4 of 50 specs skipped')
})
it('renders with CI information', () => {
cy.mount()
- cy.percySnapshot()
+ cy.findByTestId('collapsible').should('be.visible')
+ cy.get('h3').contains('Incomplete')
+ cy.contains('The run started but never completed. This can happen when the run is cancelled from CI or when Cypress crashes while running tests. Check your CircleCI #12345 logs for more information. Archive this run to remove it from the runs list and analytics.')
+ cy.findByTestId('external').contains('CircleCI #12345').should('have.attr', 'href', 'https://circleci.com/')
+ cy.contains('4 of 50 specs skipped')
})
})
@@ -87,7 +99,9 @@ describe('Debug page states', () => {
/>,
)
- cy.percySnapshot()
+ cy.contains('You\'ve reached your monthly test result limit')
+ cy.contains('Your Free Cypress Cloud plan includes 100 monthly recorded test results. Contact your Cypress Cloud admin to upgrade your plan and view more test results.')
+ cy.findByTestId('external').contains('Contact admin')
})
it('displays messaging for plan admins', () => {
@@ -103,7 +117,9 @@ describe('Debug page states', () => {
/>,
)
- cy.percySnapshot()
+ cy.contains('You\'ve reached your monthly test result limit')
+ cy.contains('Your Free Cypress Cloud plan includes 100 monthly recorded test results. Upgrade your plan now to view more test results.')
+ cy.findByTestId('external').contains('Upgrade plan')
})
})
@@ -121,7 +137,9 @@ describe('Debug page states', () => {
/>,
)
- cy.percySnapshot()
+ cy.contains('Beyond data retention')
+ cy.contains('Your data retention limit is 30 days and these tests ran 60 days ago. Upgrade your plan to increase your data retention limit.')
+ cy.findByTestId('external').contains('Contact admin')
})
it('displays messaging for plan admins', () => {
@@ -137,7 +155,9 @@ describe('Debug page states', () => {
/>,
)
- cy.percySnapshot()
+ cy.contains('Beyond data retention')
+ cy.contains('Your data retention limit is 30 days and these tests ran 60 days ago. Upgrade your plan to increase your data retention limit.')
+ cy.findByTestId('external').contains('Upgrade plan')
})
})
@@ -158,7 +178,9 @@ describe('Debug page states', () => {
/>,
)
- cy.percySnapshot()
+ cy.contains('You\'ve reached your monthly test result limit')
+ cy.contains('Your Free Cypress Cloud plan includes 30 monthly recorded test results. Upgrade your plan now to view more test results.')
+ cy.findByTestId('external').contains('Upgrade plan')
})
})
})
@@ -166,8 +188,12 @@ describe('Debug page states', () => {
context('cancelled', () => {
it('renders', () => {
cy.mount()
-
- cy.percySnapshot()
+ cy.findByTestId('collapsible').should('be.visible')
+ cy.get('h3').contains('Manually cancelled')
+ cy.contains('2 of 5 specs skipped')
+ cy.findByTestId('cancelled-by-user-avatar').should('have.attr', 'style', 'background-image: url("https://s.gravatar.com/avatar/402f6cafb6c02371c2c23c5215ae3d85?size=48&default=mm");')
+ cy.contains('Test Tester')
+ cy.contains('Jan 24, 2019 9:00 PM')
})
})
})
diff --git a/packages/app/src/debug/StatsMetadata.cy.tsx b/packages/app/src/debug/StatsMetadata.cy.tsx
index 9901197a8763..8a1d2d0d63cd 100644
--- a/packages/app/src/debug/StatsMetadata.cy.tsx
+++ b/packages/app/src/debug/StatsMetadata.cy.tsx
@@ -235,7 +235,5 @@ describe('', () => {
cy.findByTestId(testingOrder[index]).should('be.visible')
}
})
-
- cy.percySnapshot()
})
})
diff --git a/packages/app/src/runner/SnapshotToggle.cy.tsx b/packages/app/src/runner/SnapshotToggle.cy.tsx
index 4261345647bc..730e44c5e536 100644
--- a/packages/app/src/runner/SnapshotToggle.cy.tsx
+++ b/packages/app/src/runner/SnapshotToggle.cy.tsx
@@ -6,14 +6,12 @@ describe('', () => {
cy.mount(() => ())
- cy.percySnapshot('before')
.get('body')
.findByText('2')
.click()
.parent()
.findByText('1')
.click()
- .percySnapshot('after')
})
it('renders longer text', () => {
@@ -21,14 +19,12 @@ describe('', () => {
cy.mount(() => ())
- cy.percySnapshot('before')
.get('body')
.findByText('Request')
.click()
.parent()
.findByText('Response')
.click()
- .percySnapshot('after')
})
it('emits a select event with the active message', () => {
diff --git a/packages/app/src/runner/SpecRunnerHeaderRunMode.cy.tsx b/packages/app/src/runner/SpecRunnerHeaderRunMode.cy.tsx
index 2d3e1016dee9..e534f6e83ed2 100644
--- a/packages/app/src/runner/SpecRunnerHeaderRunMode.cy.tsx
+++ b/packages/app/src/runner/SpecRunnerHeaderRunMode.cy.tsx
@@ -56,8 +56,6 @@ describe('SpecRunnerHeaderRunMode', { viewportHeight: 500 }, () => {
cy.contains('The viewport determines').should('not.exist')
cy.contains('Chrome 1').click()
cy.contains('Firefox').should('not.exist')
-
- cy.percySnapshot()
})
})
@@ -72,9 +70,8 @@ describe('SpecRunnerHeaderRunMode', { viewportHeight: 500 }, () => {
cy.mount()
+ cy.get('[data-cy="select-browser"] > button img').should('have.attr', 'src', allBrowsersIcons.Chrome)
cy.get('[data-cy="select-browser"] > button').should('be.disabled')
-
- cy.percySnapshot()
})
})
@@ -90,7 +87,7 @@ describe('SpecRunnerHeaderRunMode', { viewportHeight: 500 }, () => {
cy.mount()
cy.get('[data-cy="select-browser"] > button img').should('have.attr', 'src', allBrowsersIcons.generic)
- cy.percySnapshot()
+ cy.get('[data-cy="select-browser"] > button').should('be.disabled')
})
})
})
diff --git a/packages/app/src/runs/RunCard.cy.tsx b/packages/app/src/runs/RunCard.cy.tsx
index 799044edfc3f..0b1a8f46f81e 100644
--- a/packages/app/src/runs/RunCard.cy.tsx
+++ b/packages/app/src/runs/RunCard.cy.tsx
@@ -74,8 +74,6 @@ describe('', { viewportHeight: 400 }, () => {
cy.contains(CloudRunStubs.allPassing.commitInfo.branch as string)
.should('be.visible')
-
- cy.percySnapshot()
})
})
@@ -100,8 +98,6 @@ describe('', { viewportHeight: 400 }, () => {
// this is the human readable commit time from the stub
cy.contains('an hour ago').should('be.visible')
-
- cy.percySnapshot()
})
})
@@ -122,8 +118,6 @@ describe('', { viewportHeight: 400 }, () => {
// this is the human readable commit time from the stub
cy.contains('01:01:01').should('be.visible')
-
- cy.percySnapshot()
})
it('displays mm:ss format for run duration if duration is less than an hour', () => {
@@ -142,8 +136,6 @@ describe('', { viewportHeight: 400 }, () => {
// this is the human readable commit time from the stub
cy.contains('01:01').should('be.visible')
-
- cy.percySnapshot()
})
})
@@ -163,8 +155,6 @@ describe('', { viewportHeight: 400 }, () => {
})
cy.get('[data-cy="run-tag"]').should('have.length', 2).each(($el, i) => cy.wrap($el).contains(`tag${i}`))
-
- cy.percySnapshot()
})
it('truncates tags if > 2', () => {
@@ -182,8 +172,6 @@ describe('', { viewportHeight: 400 }, () => {
})
cy.get('[data-cy="run-tag"]').should('have.length', 3).last().contains('+4')
-
- cy.percySnapshot()
})
})
})
diff --git a/packages/app/src/runs/RunsErrorRenderer.spec.tsx b/packages/app/src/runs/RunsErrorRenderer.spec.tsx
index 68dc15d9c34e..abcc79921654 100644
--- a/packages/app/src/runs/RunsErrorRenderer.spec.tsx
+++ b/packages/app/src/runs/RunsErrorRenderer.spec.tsx
@@ -16,7 +16,10 @@ describe('', () => {
},
})
- cy.percySnapshot()
+ cy.contains('h2', 'Cannot connect to Cypress Cloud')
+ cy.contains('p', 'The request times out when trying to retrieve the recorded runs from Cypress Cloud. Please refresh the page to try again and visit out Support page if this behavior continues.')
+ cy.findByTestId('external').contains('Support page').should('have.attr', 'href', 'https://www.cypressstatus.com/')
+ cy.contains('button', 'Try again')
})
it('should show a "not found" error and opens reconnect modal', () => {
@@ -43,7 +46,6 @@ describe('', () => {
cy.contains('button', text.notFound.button).click()
cy.get('@loginConnectSpy').should('have.been.calledWith', { utmMedium: 'Runs Tab' })
- cy.percySnapshot()
})
describe('unauthorized', () => {
@@ -62,7 +64,9 @@ describe('', () => {
},
})
- cy.percySnapshot()
+ cy.contains('h2', 'Request access to view the recorded runs')
+ cy.contains('p', 'This is a private project that you do not currently have access to. Please request access from the project owner in order to view the list of runs.')
+ cy.contains('button', 'Request access')
})
it('should display an "access requested" error', () => {
@@ -81,7 +85,9 @@ describe('', () => {
},
})
- cy.percySnapshot()
+ cy.contains('h2', 'Your access request for this project has been sent.')
+ cy.contains('p', 'The owner of this project has been notified of your request. We\'ll notify you via email when your access request has been granted.')
+ cy.contains('button', 'Request Sent').should('be.disabled')
})
})
})
diff --git a/packages/app/src/settings/SettingsCard.cy.tsx b/packages/app/src/settings/SettingsCard.cy.tsx
index abb3838091b9..ed51aa787323 100644
--- a/packages/app/src/settings/SettingsCard.cy.tsx
+++ b/packages/app/src/settings/SettingsCard.cy.tsx
@@ -63,7 +63,6 @@ describe('', () => {
))
cy.contains(collapsibleSelector, title).focus().type(' ')
-
- cy.percySnapshot()
+ cy.findByTestId('setting-expanded-container').contains('The body of the content').should('be.visible')
})
})
diff --git a/packages/app/src/settings/device/ExternalEditorSettings.cy.tsx b/packages/app/src/settings/device/ExternalEditorSettings.cy.tsx
index 693ff5c346e4..312125cee29d 100644
--- a/packages/app/src/settings/device/ExternalEditorSettings.cy.tsx
+++ b/packages/app/src/settings/device/ExternalEditorSettings.cy.tsx
@@ -13,8 +13,6 @@ describe('', () => {
})
cy.findByText(editorText.noEditorSelectedPlaceholder).should('be.visible')
-
- cy.percySnapshot()
})
it('renders the title and description', () => {
diff --git a/packages/app/src/settings/project/CloudSettings.cy.tsx b/packages/app/src/settings/project/CloudSettings.cy.tsx
index 64a8e47adb8f..75535444f87b 100644
--- a/packages/app/src/settings/project/CloudSettings.cy.tsx
+++ b/packages/app/src/settings/project/CloudSettings.cy.tsx
@@ -41,8 +41,6 @@ describe('', () => {
cy.findByText(defaultMessages.settingsPage.projectId.title).should('not.exist')
cy.findByText(defaultMessages.runs.connect.buttonUser).should('be.visible')
cy.findByText(defaultMessages.settingsPage.recordKey.title).should('not.exist')
-
- cy.percySnapshot()
})
it('hides Record Key when not present', () => {
diff --git a/packages/app/src/settings/project/ConfigCode.cy.tsx b/packages/app/src/settings/project/ConfigCode.cy.tsx
index 85a6316fa8df..9f9a8ab24cb9 100644
--- a/packages/app/src/settings/project/ConfigCode.cy.tsx
+++ b/packages/app/src/settings/project/ConfigCode.cy.tsx
@@ -199,8 +199,6 @@ describe('', () => {
browser.minSupportedVersion && cy.contains(`minSupportedVersion: ${browser.minSupportedVersion},`)
browser.majorVersion && cy.contains(`majorVersion: ${browser.majorVersion},`)
})
-
- cy.percySnapshot()
} else {
throw new Error('Missing browsers to render')
}
diff --git a/packages/app/src/specs/AverageDuration.cy.tsx b/packages/app/src/specs/AverageDuration.cy.tsx
index b3c3fc1cd1ec..641c8d3424d4 100644
--- a/packages/app/src/specs/AverageDuration.cy.tsx
+++ b/packages/app/src/specs/AverageDuration.cy.tsx
@@ -23,7 +23,6 @@ describe('', () => {
it('renders nothing', () => {
cy.findByTestId('average-duration').should('not.exist')
- cy.percySnapshot()
})
})
@@ -35,7 +34,6 @@ describe('', () => {
it('renders zero duration', () => {
cy.findByTestId('average-duration').contains('0:00')
- cy.percySnapshot()
})
})
@@ -46,7 +44,6 @@ describe('', () => {
it('shows correct time', () => {
cy.findByTestId('average-duration').contains('0:00')
- cy.percySnapshot()
})
})
})
@@ -58,7 +55,6 @@ describe('', () => {
it('shows correct time', () => {
cy.findByTestId('average-duration').contains('0:12')
- cy.percySnapshot()
})
})
@@ -71,7 +67,6 @@ describe('', () => {
it('shows correct time', () => {
// 2:00 = 120 seconds
cy.findByTestId('average-duration').contains('2:00')
- cy.percySnapshot()
})
})
@@ -83,7 +78,6 @@ describe('', () => {
it('shows correct time', () => {
// 2:34 = 154 seconds
cy.findByTestId('average-duration').contains('2:34')
- cy.percySnapshot()
})
})
})
@@ -97,7 +91,6 @@ describe('', () => {
it('shows correct time', () => {
// 2:02:34 = 7354 seconds
cy.findByTestId('average-duration').contains('2:02:34')
- cy.percySnapshot()
})
})
@@ -109,7 +102,6 @@ describe('', () => {
it('shows correct time', () => {
// 42:02:34 = 151354 seconds
cy.findByTestId('average-duration').contains('42:02:34')
- cy.percySnapshot()
})
})
})
diff --git a/packages/app/src/specs/CreateSpecModal.cy.tsx b/packages/app/src/specs/CreateSpecModal.cy.tsx
index 293937474c1e..79b8c5e7f039 100644
--- a/packages/app/src/specs/CreateSpecModal.cy.tsx
+++ b/packages/app/src/specs/CreateSpecModal.cy.tsx
@@ -298,7 +298,5 @@ describe('defaultSpecFileName', () => {
cy.get('[data-cy="card"]').contains('Create new spec').click()
cy.get('input').invoke('val').should('contain', 'spec.cy.js')
-
- cy.percySnapshot()
})
})
diff --git a/packages/app/src/specs/InlineSpecListHeader.cy.tsx b/packages/app/src/specs/InlineSpecListHeader.cy.tsx
index 7964b59307bd..bbaf88550d6a 100644
--- a/packages/app/src/specs/InlineSpecListHeader.cy.tsx
+++ b/packages/app/src/specs/InlineSpecListHeader.cy.tsx
@@ -82,7 +82,6 @@ describe('InlineSpecListHeader', () => {
useRunAllSpecsStore()
mountWithProps({ isRunAllSpecsAllowed: true })
- cy.percySnapshot()
cy.get('[data-cy=run-all-specs-for-all]').as('run-all-btn').realHover()
cy.contains(`Run ${EXPECTED_SPEC_COUNT} specs`).should('be.visible')
diff --git a/packages/app/src/specs/SpecsListHeader.cy.tsx b/packages/app/src/specs/SpecsListHeader.cy.tsx
index 8e19097280ef..a0b440629909 100644
--- a/packages/app/src/specs/SpecsListHeader.cy.tsx
+++ b/packages/app/src/specs/SpecsListHeader.cy.tsx
@@ -79,8 +79,6 @@ describe('', { keystrokeDelay: 0 }, () => {
.click()
.get('@show-spec-pattern-modal')
.should('have.been.called')
-
- cy.percySnapshot()
})
it('shows the count correctly when not searching', () => {
@@ -124,7 +122,5 @@ describe('', { keystrokeDelay: 0 }, () => {
cy.contains('0 of 1 match').should('be.visible')
cy.contains('1 of 1 match').should('be.visible')
cy.contains('5 of 22 matches').should('be.visible')
-
- cy.percySnapshot()
})
})
diff --git a/packages/app/src/specs/generators/GeneratorSuccess.cy.tsx b/packages/app/src/specs/generators/GeneratorSuccess.cy.tsx
index 2b89be603575..b035916f8bd5 100644
--- a/packages/app/src/specs/generators/GeneratorSuccess.cy.tsx
+++ b/packages/app/src/specs/generators/GeneratorSuccess.cy.tsx
@@ -12,7 +12,7 @@ describe('<${spec.baseName} />', () => {
it('renders', () => {
// https://on.cypress.io/mount
mount(<${spec.baseName} />)
- })
+ })
})
`.trim()
@@ -21,8 +21,6 @@ describe('', () => {
cy.mount(() => ())
.get('body')
.contains(spec.relative)
-
- cy.percySnapshot()
})
it('can be collapsed to hide the content', () => {
diff --git a/packages/app/src/specs/generators/component/ReactComponentList.cy.tsx b/packages/app/src/specs/generators/component/ReactComponentList.cy.tsx
index 5f3ad5b79ad3..66109c83302d 100644
--- a/packages/app/src/specs/generators/component/ReactComponentList.cy.tsx
+++ b/packages/app/src/specs/generators/component/ReactComponentList.cy.tsx
@@ -18,8 +18,6 @@ describe('ReactComponentList', () => {
cy.mount()
cy.contains('No components found').should('be.visible')
-
- cy.percySnapshot()
})
it('renders error state if errored is true', () => {
@@ -30,8 +28,6 @@ describe('ReactComponentList', () => {
cy.mount()
cy.contains('Unable to parse file').should('be.visible')
-
- cy.percySnapshot()
})
it('fetches and displays a list of components', () => {
@@ -40,8 +36,6 @@ describe('ReactComponentList', () => {
cy.contains('FooBar').should('be.visible')
cy.contains('BarFoo').should('be.visible')
cy.contains('FooBarBaz').should('be.visible')
-
- cy.percySnapshot()
})
it('calls selectItem on click', () => {
diff --git a/packages/frontend-shared/src/components/CopyText.cy.tsx b/packages/frontend-shared/src/components/CopyText.cy.tsx
index fe123d718e06..7f977c592184 100644
--- a/packages/frontend-shared/src/components/CopyText.cy.tsx
+++ b/packages/frontend-shared/src/components/CopyText.cy.tsx
@@ -11,7 +11,6 @@ describe('', () => {
cy.contains('button', defaultMessages.clipboard.copy)
.should('be.visible')
- .percySnapshot()
})
it('overflows nicely', { viewportWidth: 800, viewportHeight: 120 }, () => {
diff --git a/packages/frontend-shared/src/components/InlineCodeFragment.cy.tsx b/packages/frontend-shared/src/components/InlineCodeFragment.cy.tsx
index f51be1eeec31..34e2b3a50f49 100644
--- a/packages/frontend-shared/src/components/InlineCodeFragment.cy.tsx
+++ b/packages/frontend-shared/src/components/InlineCodeFragment.cy.tsx
@@ -6,6 +6,5 @@ describe('', () => {
cy.contains('I am code')
.should('be.visible')
- .percySnapshot()
})
})
diff --git a/packages/frontend-shared/src/components/ResultCounts.cy.tsx b/packages/frontend-shared/src/components/ResultCounts.cy.tsx
index ba90959bf169..5c295b76732e 100644
--- a/packages/frontend-shared/src/components/ResultCounts.cy.tsx
+++ b/packages/frontend-shared/src/components/ResultCounts.cy.tsx
@@ -21,8 +21,6 @@ describe('', () => {
validateResult(defaultMessages.runs.results.pending, 3)
validateResult(defaultMessages.runs.results.passed, 2)
validateResult(defaultMessages.runs.results.failed, 1)
-
- cy.percySnapshot()
})
it('renders zero contents', () => {
@@ -38,8 +36,6 @@ describe('', () => {
validateResult(defaultMessages.runs.results.pending, 0)
validateResult(defaultMessages.runs.results.passed, 0)
validateResult(defaultMessages.runs.results.failed, 0)
-
- cy.percySnapshot()
})
it('renders string range values', () => {
@@ -55,8 +51,6 @@ describe('', () => {
validateResult(defaultMessages.runs.results.pending, '5-5')
validateResult(defaultMessages.runs.results.passed, '2-20')
validateResult(defaultMessages.runs.results.failed, '1-2')
-
- cy.percySnapshot()
})
it('changes order of status signs with the order prop', () => {
diff --git a/packages/frontend-shared/src/components/TerminalPrompt.cy.tsx b/packages/frontend-shared/src/components/TerminalPrompt.cy.tsx
index f59afbd6ee60..e24af419d0b2 100644
--- a/packages/frontend-shared/src/components/TerminalPrompt.cy.tsx
+++ b/packages/frontend-shared/src/components/TerminalPrompt.cy.tsx
@@ -11,7 +11,6 @@ describe('', () => {
cy.contains('button', defaultMessages.clipboard.copy)
.should('be.visible')
- .percySnapshot()
})
it('overflows nicely', { viewportWidth: 800, viewportHeight: 120 }, () => {
diff --git a/packages/frontend-shared/src/gql-components/TestingTypePicker.cy.tsx b/packages/frontend-shared/src/gql-components/TestingTypePicker.cy.tsx
index f9e9f712495b..f6bd19420854 100644
--- a/packages/frontend-shared/src/gql-components/TestingTypePicker.cy.tsx
+++ b/packages/frontend-shared/src/gql-components/TestingTypePicker.cy.tsx
@@ -32,13 +32,9 @@ describe('TestingTypePicker', () => {
cy.contains(defaultMessages.setupPage.testingCard.configured).should('be.visible')
})
- cy.percySnapshot('before click')
-
cy.contains(e2e.name).click()
cy.contains(component.name).click()
cy.get('@pick').should('have.been.calledTwice')
-
- cy.percySnapshot('after click - focus')
})
it('shows disabled ct when not invoked from cli', () => {
@@ -60,7 +56,5 @@ describe('TestingTypePicker', () => {
}).click()
cy.get('@pick').should('not.have.been.called')
-
- cy.percySnapshot()
})
})