Skip to content

Fix Cypress tests: login + optional IntroJS - #620

Open
ZihengSun wants to merge 1 commit into
mainfrom
fix/cypress-login-and-intro
Open

ZihengSun wants to merge 1 commit into
mainfrom
fix/cypress-login-and-intro

Conversation

@ZihengSun

Copy link
Copy Markdown
Member

Summary

  • CI was running the nested legacy cypress/cypress/e2e/spec.cy.js, which hard-requires .introjs-skipbutton and never logs in.
  • With geoweaver.login_required=true, visits land on localhost-login, so IntroJS never mounts → 12/13 tests fail.
  • Point workflow at e2e/spec.cy.js, set supportFile/specPattern in cypress.config.js, and use visitGeoweaver + skipIntroIfPresent so login is handled and intro is dismissed only when present.

Test plan

  • CI Cypress workflow passes on this branch
  • Locally (optional): cd cypress && npx cypress run --spec e2e/spec.cy.js against a running Geoweaver with password 123456

Made with Cursor

…ptional IntroJS.

Point CI at e2e/spec.cy.js with an explicit supportFile, add visitGeoweaver/skipIntroIfPresent helpers, and stop requiring .introjs-skipbutton when the tour never appears after localhost login.

Co-authored-by: Cursor <cursoragent@cursor.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant