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

Closes #167: "Should links be clickable While Delay JS is enabled" is always failing because of waiting for getByRole('link', { name: 'About Us' }) #170

Merged
merged 33 commits into from
Nov 28, 2024

Conversation

jeawhanlee
Copy link
Contributor

@jeawhanlee jeawhanlee commented Nov 20, 2024

Description

Make delayjs test compatible with general test run.

Fixes #167
Explain how this code impacts users.

Type of change

  • Enhancement (non-breaking change which improves an existing functionality).

Detailed scenario

Running npm run test:e2e on develop should trigger the error.

Technical description

Documentation

Updates delayjs test to run with general test run as expected, by removing multiple runs for various themes and switching to run with scenario outlines and also moving backstop reference creation from BeforeAll hooks to step defintion.

New dependencies

N/A

Risks

N/A

Mandatory Checklist

Code validation

  • I validated all the Acceptance Criteria. If possible, provide screenshots or videos.
  • I triggered all changed lines of code at least once without new errors/warnings/notices.
  • I implemented built-in tests to cover the new/changed code.

Code style

  • I wrote a self-explanatory code about what it does.
  • I did not introduce unnecessary complexity.

@jeawhanlee jeawhanlee added the enhancement New feature or request label Nov 20, 2024
@jeawhanlee jeawhanlee self-assigned this Nov 20, 2024
@jeawhanlee jeawhanlee requested a review from a team November 20, 2024 14:13
Miraeld
Miraeld previously approved these changes Nov 21, 2024
@jeawhanlee jeawhanlee requested review from a team and Miraeld November 26, 2024 11:31
@Mai-Saad
Copy link
Contributor

@jeawhanlee Thanks for the PR. can see 2 tests failing (one related to DJS). can you please check 🙏
https://drive.google.com/file/d/1vicoGTyChtG3Q9tsjmcd6Np7yeNNprKO/view?usp=sharing

@Mai-Saad
Copy link
Contributor

Mai-Saad commented Nov 28, 2024

Delayjs tests are green now when run npm run test:delayjs (we need to update config file manually to match the sample file here)
Screenshot from 2024-11-28 10-25-25

LLCSSBG results (note: backstop results still 0 passed, 0 failed, if this is handled on other GH then we are good)
Screenshot from 2024-11-28 10-58-06

@Mai-Saad Mai-Saad self-requested a review November 28, 2024 08:36
Mai-Saad
Mai-Saad previously approved these changes Nov 28, 2024
Miraeld
Miraeld previously approved these changes Nov 28, 2024
wordpressfan
wordpressfan previously approved these changes Nov 28, 2024
@Mai-Saad
Copy link
Contributor

Mai-Saad commented Nov 28, 2024

when run e2e , 5 failed (4 related to error in debug.log that shall be ignored and 1 timeout to be checked later)
Screenshot from 2024-11-28 12-08-34
Screenshot from 2024-11-28 12-02-19

…t-for-llcssbg-and-lrc

Closes #176: Backstop tests not working as expected for LLCSSBG & LRC tests when run generally
@Mai-Saad Mai-Saad dismissed stale reviews from wordpressfan, Miraeld, and themself via 2aeba3d November 28, 2024 15:37
@Mai-Saad Mai-Saad merged commit 313d044 into develop Nov 28, 2024
2 checks passed
@Mai-Saad Mai-Saad deleted the enhancement/167-failing-test-when-run-globally branch November 28, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants