Skip to content

Commit

Permalink
test: update scaffold CT test to not have chaining that will cause de…
Browse files Browse the repository at this point in the history
…tached dom flake (#28960)

* chore: update test to not have chaining that will cause detached dom flake

* empty commit
  • Loading branch information
jennifer-shehane committed Feb 22, 2024
1 parent c3e1120 commit e7d13cf
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

4 comments on commit e7d13cf

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e7d13cf Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.6/linux-x64/develop-e7d13cf5d01cd8108caee5879d58880b7bb5ecc8/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e7d13cf Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.6/darwin-x64/develop-e7d13cf5d01cd8108caee5879d58880b7bb5ecc8/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e7d13cf Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.6/win32-x64/develop-e7d13cf5d01cd8108caee5879d58880b7bb5ecc8/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e7d13cf Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.6/darwin-arm64/develop-e7d13cf5d01cd8108caee5879d58880b7bb5ecc8/cypress.tgz

Please sign in to comment.