Skip to content

Commit

Permalink
reach choose a browser page before login in launchpad test
Browse files Browse the repository at this point in the history
  • Loading branch information
marktnoonan committed Nov 7, 2022
1 parent 57fdfc3 commit 430d356
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/launchpad/cypress/e2e/top-nav-launchpad.cy.ts
Expand Up @@ -472,7 +472,7 @@ describe('Launchpad Top Nav Workflows', () => {
cy.findByTestId(headerBarId).findByTestId('user-avatar-title').should('be.visible')
})

it('if the project has no runs, shows "record your first run" prompt after clicking', () => {
it('if the project has no runs, shows "record your first run" prompt after choosing testing type', () => {
cy.remoteGraphQLIntercept((obj) => {
if (obj.result?.data?.cloudProjectBySlug?.runs?.nodes?.length) {
obj.result.data.cloudProjectBySlug.runs.nodes = []
Expand All @@ -483,10 +483,11 @@ describe('Launchpad Top Nav Workflows', () => {

cy.contains('Component Testing').click()

cy.contains(defaultMessages.setupWizard.chooseBrowser.title).should('be.visible')

mockLogInActionsForUser(mockUserNoName)

logIn({ expectedNextStepText: 'Continue', displayName: mockUserNoName.email })
cy.contains(defaultMessages.components.loading.config.title).should('not.exist')
cy.contains('[data-cy=standard-modal] h2', defaultMessages.specPage.banners.record.title).should('be.visible')
cy.contains('[data-cy=standard-modal]', defaultMessages.specPage.banners.record.content).should('be.visible')
cy.contains('button', 'Copy').should('be.visible')
Expand Down

4 comments on commit 430d356

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 430d356 Nov 7, 2022

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 arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.0/linux-arm64/marktnoonan/windows-test-updates-430d3560947fb9ea51df1a1a21741e3eb563c25e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 430d356 Nov 7, 2022

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 platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.0/linux-x64/marktnoonan/windows-test-updates-430d3560947fb9ea51df1a1a21741e3eb563c25e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 430d356 Nov 7, 2022

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 platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.0/darwin-arm64/marktnoonan/windows-test-updates-430d3560947fb9ea51df1a1a21741e3eb563c25e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 430d356 Nov 7, 2022

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 platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.0/win32-x64/marktnoonan/windows-test-updates-430d3560947fb9ea51df1a1a21741e3eb563c25e/cypress.tgz

Please sign in to comment.