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

[DRAFT - PENDING] Cypress Moved To Frontend And System Banner Component Testing Examples #93

Closed
wants to merge 6 commits into from

Conversation

LightSeekerSC
Copy link
Contributor

Description of changes:

  • Moves Cypress testing files into the frontend directory to co-exist with the React codebase and enable component testing
  • Provides an example of component testing with the SystemBanner component
    • Demonstrates mounting
    • Demonstrates configuring window environment variables
    • Demonstrates checking CSS
    • Demonstrates checking element coordinates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@LightSeekerSC
Copy link
Contributor Author

Tests are successful. We are removing the Cypress test. It appears to be in a stalled state, but going to the "Actions" tab on the project shows that the entire workflow was processed successfully.

@LightSeekerSC LightSeekerSC marked this pull request as draft May 15, 2024 23:34
@LightSeekerSC
Copy link
Contributor Author

Making this a draft temporarily. Two issues in the most recent commit:

  • eslint errors - FIXED locally
  • System banner test now fails with new React mount
    • May need to create different mounts for React and simple components or need to figure out why MemoryRouter is messing up the banner

@LightSeekerSC LightSeekerSC force-pushed the cypress-component-testing branch 2 times, most recently from e51dd60 to 9105264 Compare May 21, 2024 06:50
@LightSeekerSC LightSeekerSC changed the title Cypress Moved To Frontend And System Banner Component Testing Examples [DRAFT - PENDING] Cypress Moved To Frontend And System Banner Component Testing Examples May 23, 2024
@LightSeekerSC
Copy link
Contributor Author

Cancelling this for now while other work is prioritized. Will re-review this once Cypress component testing is ready to be implemented.

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