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

[project-base] stores tests enhancements #2951

Merged
merged 5 commits into from Dec 20, 2023
Merged

Conversation

vitek-rostislav
Copy link
Contributor

@vitek-rostislav vitek-rostislav commented Dec 18, 2023

Q A
Description, reason for the PR The data-fixture-based stores' tests are not time-agnostic, i.e. they are affected by the current time of the test execution. The tests started to fail during the Christmas week as in data fixtures, the Ostrava store is open on Christmas Sunday, while the Pardubice store is closed.
New feature No
BC breaks No
Fixes issues ...
Have you read and signed our License Agreement for contributions? Yes

🌐 Live Preview:

UPGRADE-14.0.md Outdated Show resolved Hide resolved
- the opening hours are already tested separately in time-agnostic testGetStoreOpeningHours
- the data-fixture-based stores tests are not time-agnostic, i.e. they are affected by the current time of the test execution
- the tests started to fail on the Christmas week as on the Christmas Sunday, the Ostrava store is open, while the Pardubice store is closed
@vitek-rostislav vitek-rostislav added the DX & Refactoring Requests for DX improvements and refactorings label Dec 20, 2023
@vitek-rostislav vitek-rostislav changed the title stores tests enhancements [project-base] stores tests enhancements Dec 20, 2023
@vitek-rostislav vitek-rostislav merged commit 0c08daa into 14.0 Dec 20, 2023
17 checks passed
@vitek-rostislav vitek-rostislav deleted the rv-fix-store-test branch December 20, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX & Refactoring Requests for DX improvements and refactorings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants