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

Add WebKit support for Cypress tests #369

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smartspot2
Copy link
Member

Cypress has some experimental support for WebKit testing, but this requires additional dependencies to be installed, as well as some additional configuration options.

This PR also adds a Cypress CI group to run tests on WebKit on MacOS.

@smartspot2 smartspot2 added the dependencies Pull requests that update a dependency file label Jan 12, 2023
@smartspot2 smartspot2 self-assigned this Jan 12, 2023
@cypress
Copy link

cypress bot commented Jan 12, 2023



Test summary

116 1 0 0


Run details

Project csm_web
Status Failed
Commit 24aa82d
Started Jan 12, 2023 10:06 AM
Ended Jan 12, 2023 10:11 AM
Duration 04:29 💡
OS Linux Ubuntu -
Browser Multiple

View run in Cypress Dashboard ➡️


Failures

cypress/e2e/section/coordinator-section.cy.ts Failed
1 modifying students > invalid operations > should retry when section is at capacity

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@smartspot2
Copy link
Member Author

Upon further research, it seems like service containers are not supported on Windows or MacOS, and can only be used on Linux (https://docs.github.com/en/actions/using-containerized-services/about-service-containers). This means that it's not easy to set up a CI workflow for MacOS cypress tests; the next best solution here is to run the webkit tests on Linux, and hope that there aren't many differences compared to Safari on MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant