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

Re-apply use of jasmine-browser-runner (re-reverts #2771) #2783

Merged
merged 2 commits into from
May 24, 2022

Conversation

chao-xian
Copy link
Contributor

@chao-xian chao-xian commented May 23, 2022

Re-applies #2763 plus a fix to the specs that had a run order bug.

(Reverts #2771 which itself is a revert of #2763 )

Description from original PR:

Migrating from jasmine gem which is deprecated and no supported in Rails 7.

This is a blocker to a Rails 7 upgrade

Trello

chao-xian and others added 2 commits May 23, 2022 16:09
Some tests would randomly fail because there was a run order failure. Setting all tests to accept cookie compliance, and then resetting after, fixes this issue.
@chao-xian chao-xian changed the title Revert "Revert "Migrate to use jasmine-browser-runner"" Re-apply use of jasmine-browser-runner (re-reverts #2771) May 23, 2022
@chao-xian chao-xian marked this pull request as ready for review May 23, 2022 19:01
Copy link
Contributor

@gclssvglx gclssvglx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic work! Making the cookie state consistent between tests definitely seems to have resolved the failing test issue. Nice one @chao-xian 👍

@chao-xian chao-xian merged commit 39662ec into main May 24, 2022
@chao-xian chao-xian deleted the revert-2771-revert-2763-migrate-to-jasmine-browser branch May 24, 2022 10:43
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.

2 participants