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

Enable Cypress component testing #1941

Merged

Conversation

williamjallen
Copy link
Collaborator

We currently use Cypress end-to-end testing to test entire pages. As we move more of the UI to Vue, we will create a number of shared components which are used on multiple pages. Cypress component testing allows us to test these shared components in isolation by mounting each component individually.

tests/CMakeLists.txt Show resolved Hide resolved
tests/cypress/component/loading-indicator.cy.js Outdated Show resolved Hide resolved
tests/CMakeLists.txt Outdated Show resolved Hide resolved
tests/CMakeLists.txt Outdated Show resolved Hide resolved
tests/cypress/component/loading-indicator.cy.js Outdated Show resolved Hide resolved
@sbelsk
Copy link
Collaborator

sbelsk commented Jan 10, 2024

You should rebase after #1942 is merged to fix the logical conflict with the new test

@williamjallen williamjallen added this pull request to the merge queue Jan 10, 2024
Merged via the queue into Kitware:master with commit 4897cc7 Jan 10, 2024
2 checks passed
@williamjallen williamjallen deleted the cypress-component-testing branch January 10, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants