Skip to content

Conversation

@duncdrum
Copy link
Contributor

@duncdrum duncdrum commented Jan 28, 2026

This ports the test from the original 24 wdio specs (npm test) to cypress.

none of the old tests or their dependencies have been removed yet, as requested.

It also adds actually executing the tests on CI using the joewiz/hsg-project container.

note: the e2e test run is not yet taken into account for automated releases, that still works as before.

OP#290

initial conversion of wdio tests
…enPage() command

- normalize title comparisons and handle whitespace in assertions across various test cases.
- Corrected the .gitignore entry from 'plan/' to 'plans/'.
- Updated build.xml to exclude 'plans/' instead of '.plan/'.
- Modified Cypress configuration to specify a new spec pattern for test files.
- Added a new command in package.json for running specific Cypress tests.
- Enhanced various test cases to improve reliability, including timeout adjustments and normalization of title comparisons.
- Removed outdated UAT test files for conferences and countries.
- Refactored several test cases to use more consistent assertions and improved selectors.
- Replaced custom commands  with direct Cypress assertions.
- use `cy.visit()` with query parameters for better readability
- Enhanced test cases for breadcrumbs and search functionality to improve clarity and consistency in assertions.
- remove deprecated commands
@duncdrum duncdrum requested a review from windauer January 28, 2026 16:47
@duncdrum duncdrum added enhancement github_actions Pull requests that update GitHub Actions code labels Jan 28, 2026
@duncdrum duncdrum marked this pull request as ready for review January 28, 2026 16:49
- Clarified node version requirements to align with package.json engines.
- Improved descriptions for running tests in both interactive and headless modes.
- Updated test structure section to reflect the organization of specs and included legacy naming conventions for reference.
- Enhanced clarity on custom commands and documentation links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant