https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40168

--- Comment #1 from Jonathan Druart <[email protected]> ---
Created attachment 183348
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183348&action=edit
Bug 40168: Restore afterEach in KohaTable Cypress tests

We defined an anonymous function inside an arrow function, and Cypress does not
call it.

Test plan:
Set AlwaysShowHoldingsTableFilters to "Do not"
Run t/cypress/integration/KohaTable/Holdings_spec.ts:
  yarn cypress run --spec t/cypress/integration/KohaTable/Holdings_spec.ts

When done, have a look at the value of AlwaysShowHoldingsTableFilters
=> without this patch it has been modified (not restored) and is set to
"Do"
=> With this patch applied the original value is restored at the end of
the tests (actually the end of each test)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to