diff --git a/frontend/webapp/cypress.config.ts b/frontend/webapp/cypress.config.ts index 5bc18e87c..a15e76143 100644 --- a/frontend/webapp/cypress.config.ts +++ b/frontend/webapp/cypress.config.ts @@ -2,7 +2,7 @@ import Cypress from 'cypress'; const config: Cypress.ConfigOptions = { e2e: { - baseUrl: 'https://example.cypress.io', + baseUrl: 'http://localhost:3000', setupNodeEvents(on, config) {}, supportFile: false, waitForAnimations: true, diff --git a/frontend/webapp/cypress/e2e/spec.cy.ts b/frontend/webapp/cypress/e2e/spec.cy.ts index 173acfca1..97c1ad3d2 100644 --- a/frontend/webapp/cypress/e2e/spec.cy.ts +++ b/frontend/webapp/cypress/e2e/spec.cy.ts @@ -1,7 +1,6 @@ -describe('template spec', () => { - it('passes', () => { +describe('Onboarding', () => { + it('Visiting the root path fetches a config with GraphQL. A fresh install will result in a redirect to the start of onboarding, confirming Front + Back connections', () => { cy.visit('/'); - - expect(true).to.equal(true); + cy.location('pathname').should('eq', '/choose-sources'); }); });