Bug 34690 - Cypress - Fix random failure in Dialog_spec.ts
Summary: Cypress - Fix random failure in Dialog_spec.ts
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Pedro Amorim
QA Contact: Testopia
URL:
Keywords:
Depends on: 34319
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-01 12:02 UTC by Pedro Amorim
Modified: 2023-12-28 20:46 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:


Attachments
Bug 34690: Fix dialog_spec.ts (1.22 KB, patch)
2023-09-01 12:54 UTC, Pedro Amorim
Details | Diff | Splinter Review
bug 34690: Make the test fail consistently (1.02 KB, patch)
2023-09-01 13:20 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 34690: Fix dialog_spec.ts (1.27 KB, patch)
2023-09-01 13:20 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 34690: Make the test fail consistently (1.11 KB, patch)
2023-09-05 17:26 UTC, Tomás Cohen Arazi (tcohen)
Details | Diff | Splinter Review
Bug 34690: Fix dialog_spec.ts (1.33 KB, patch)
2023-09-05 17:26 UTC, Tomás Cohen Arazi (tcohen)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Amorim 2023-09-01 12:02:56 UTC

    
Comment 1 Pedro Amorim 2023-09-01 12:54:16 UTC
Created attachment 155113 [details] [review]
Bug 34690: Fix dialog_spec.ts

Run the tests, verify they fail
Apply this patch, run tests again, verify they now pass
Comment 2 Jonathan Druart 2023-09-01 13:20:37 UTC
Created attachment 155115 [details] [review]
bug 34690: Make the test fail consistently

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 3 Jonathan Druart 2023-09-01 13:20:40 UTC
Created attachment 155116 [details] [review]
Bug 34690: Fix dialog_spec.ts

Run the tests, verify they fail
Apply this patch, run tests again, verify they now pass

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Tomás Cohen Arazi (tcohen) 2023-09-05 17:26:19 UTC
Created attachment 155231 [details] [review]
Bug 34690: Make the test fail consistently

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: I amended the commit title
Comment 5 Tomás Cohen Arazi (tcohen) 2023-09-05 17:26:22 UTC
Created attachment 155232 [details] [review]
Bug 34690: Fix dialog_spec.ts

Run the tests, verify they fail
Apply this patch, run tests again, verify they now pass

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 6 Tomás Cohen Arazi (tcohen) 2023-09-05 17:28:26 UTC
Tested on the new Cypress 10.x KTD images.
Tests fail consistently with the first patch (good catch!) and they get fixed with the follow-up.

Thanks!
Comment 7 Tomás Cohen Arazi (tcohen) 2023-09-05 17:38:10 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 8 Fridolin Somers 2023-09-08 06:41:52 UTC
Not backported to 23.05.x