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

Flaky test: Muting for an offline user #8375

Closed
dianabarsan opened this issue Jul 7, 2023 · 4 comments
Closed

Flaky test: Muting for an offline user #8375

dianabarsan opened this issue Jul 7, 2023 · 4 comments
Assignees
Labels
Flaky Indicates a flaky or unreliable test Testing Affects how the code is tested Type: Technical issue Improve something that users won't notice
Milestone

Comments

@dianabarsan
Copy link
Member

Describe the issue
Test is failing in beforeAll with:

1) for an offline user "before all" hook for for an offline user
element ("#password") still not displayed after 15000ms
Error: element ("#password") still not displayed after 15000ms
     at async setPasswordValue (/home/runner/work/cht-core/cht-core/tests/page-objects/default/login/login.wdio.page.js:123:3)
     at async Object.login (/home/runner/work/cht-core/cht-core/tests/page-objects/default/login/login.wdio.page.js:19:3)
     at async Context.<anonymous> (/home/runner/work/cht-core/cht-core/tests/e2e/default/transitions/client-side-muting.wdio-spec.js:256:7)1) for an offline user "before all" hook for for an offline user
 element ("#password") still not displayed after 15000ms
 Error: element ("#password") still not displayed after 15000ms
     at async setPasswordValue (/home/runner/work/cht-core/cht-core/tests/page-objects/default/login/login.wdio.page.js:123:3)
     at async Object.login (/home/runner/work/cht-core/cht-core/tests/page-objects/default/login/login.wdio.page.js:19:3)
     at async Context.<anonymous> (/home/runner/work/cht-core/cht-core/tests/e2e/default/transitions/client-side-muting.wdio-spec.js:256:7)

Example build: https://github.com/medic/cht-core/actions/runs/5487334521/jobs/9998939840?pr=8374#step:16:1436

@dianabarsan dianabarsan added Type: Technical issue Improve something that users won't notice Testing Affects how the code is tested Flaky Indicates a flaky or unreliable test labels Jul 7, 2023
@garethbowen
Copy link
Member

Two more failures this week.

@garethbowen
Copy link
Member

garethbowen commented Oct 8, 2023

@garethbowen
Copy link
Member

garethbowen commented Oct 9, 2023

Got this screenshot when the test is trying to log in. I'm not sure what bit of code directs the test to go to the login page in the first place.

image

@garethbowen
Copy link
Member

Potential fix merged. Reopen if this happens again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flaky Indicates a flaky or unreliable test Testing Affects how the code is tested Type: Technical issue Improve something that users won't notice
Projects
None yet
Development

No branches or pull requests

2 participants