mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-20 06:01:12 -06:00
test: update scaffold CT test to not have chaining that will cause detached dom flake (#28960)
* chore: update test to not have chaining that will cause detached dom flake * empty commit
This commit is contained in:
@@ -112,15 +112,12 @@ describe('scaffolding component testing', {
|
||||
})
|
||||
|
||||
cy.contains('Component Testing').click()
|
||||
cy.get(`[data-testid="select-framework"]`)
|
||||
|
||||
cy.get('button').should('be.visible').contains('React.js(detected)')
|
||||
|
||||
cy.get('button').contains('Next step').click()
|
||||
cy.contains('button', 'React.js(detected)').should('be.visible')
|
||||
cy.contains('button', 'Next step').click()
|
||||
|
||||
// react-dom dependency is missing
|
||||
cy.findByTestId('dependency-react-dom').within(() => {
|
||||
cy.get('[aria-label="pending installation"]').should('exist')
|
||||
cy.get('[aria-label="pending installation"]')
|
||||
})
|
||||
|
||||
// fake install
|
||||
|
||||
Reference in New Issue
Block a user