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

[v4.4] test: Wait for modal to open before testing its content #5994

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 3, 2024

Backport

This will backport the following commits from main to v4.4:

Questions ?

Please refer to the Backport tool documentation

@github-actions github-actions bot requested a review from a team as a code owner December 3, 2024 16:46
Capybara needs to be told to expect that the modal is open
before we can check for content present in it.

Fixes a lot of extremely flaky specs.

(cherry picked from commit c67f75f)
If the modal cannot be openend after 5 seconds (Capybara default wait
tiem is 3 seconds) then something is wrong. We must not waste
precious resources and time for a buld to fail.

(cherry picked from commit 7112488)
@github-actions github-actions bot force-pushed the backport/v4.4/pr-5993 branch from 9e651a6 to c1b5ad2 Compare December 3, 2024 16:46
@github-actions github-actions bot added changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem changelog:solidus_promotions Changes to the solidus_promotions gem labels Dec 3, 2024
@tvdeyen tvdeyen removed the request for review from MadelineCollier December 3, 2024 17:02
@tvdeyen tvdeyen removed their assignment Dec 3, 2024
@tvdeyen tvdeyen merged commit 8ce84be into v4.4 Dec 3, 2024
12 checks passed
@tvdeyen tvdeyen deleted the backport/v4.4/pr-5993 branch December 3, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_admin changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem changelog:solidus_promotions Changes to the solidus_promotions gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant