fix launchpad tests

This commit is contained in:
Ryan Manuel
2023-08-28 14:28:09 -05:00
parent 0bda09bf8d
commit 837a19c457
2 changed files with 2 additions and 3 deletions

View File

@@ -279,11 +279,10 @@ describe('component testing dependency warnings', () => {
it('does not show warning for project that does not require bundler to be installed', () => {
cy.scaffoldProject('next-12')
cy.openProject('next-12')
cy.openProject('next-12', ['--component'])
cy.visitLaunchpad()
cy.skipWelcome()
cy.get('[data-cy="warning-alert"]').should('not.exist')
cy.get('[data-cy-testingtype="component"]').click()
cy.contains('Choose a browser', { timeout: 12000 })
cy.get('[data-cy="warning-alert"]').should('not.exist')
})

View File

@@ -482,7 +482,7 @@ describe('Launchpad Top Nav Workflows', () => {
return obj.result
})
cy.contains('Component Testing').click()
cy.contains('E2E Testing').click()
cy.contains(defaultMessages.setupWizard.chooseBrowser.title).should('be.visible')