Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add e2e tests for global mode #18719

Merged
merged 7 commits into from
Nov 4, 2021
5 changes: 3 additions & 2 deletions packages/launchpad/cypress/e2e/integration/open-mode.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ describe('Launchpad: Open Mode', () => {
cy.visitLaunchpad()
})

it('shows the open page when testingType is not specified', () => {
cy.get('h1').should('contain', defaultMessages.globalPage.empty.title)
it('shows the projects page when a project is not specified', () => {
cy.contains(defaultMessages.globalPage.empty.title)
cy.contains(defaultMessages.globalPage.recentProjectsHeader)
})

it('goes directly to e2e tests when launched with --e2e', () => {
Expand Down