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

Fix appointments' story #578

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Conversation

vaszig
Copy link
Contributor

@vaszig vaszig commented Oct 30, 2023

No description provided.

@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (96d84b6) 71.47% compared to head (5e7cae3) 71.05%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #578      +/-   ##
==========================================
- Coverage   71.47%   71.05%   -0.42%     
==========================================
  Files         209      209              
  Lines        4319     4319              
  Branches     1175     1175              
==========================================
- Hits         3087     3069      -18     
- Misses       1199     1217      +18     
  Partials       33       33              

see 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vaszig vaszig marked this pull request as draft October 30, 2023 16:37
@sergei-maertens sergei-maertens mentioned this pull request Oct 30, 2023
8 tasks
The storybook interaction tests are unreliable w/r to human readable
formatting of times and localizing them appropriately. Most notably,
it's hard to mock the current date in storybook interaction tests,
and it's further complicated by chromatic running tests on machines
for which we cannot control the TZ information.

The test is moved to jest with a fixed/mocked time so that we avoid
DST issues in the future, additionally the TZ information is pinned
to Europe/Amsterdam in the test script in package.json.
@sergei-maertens sergei-maertens force-pushed the fix-create-appointments-story branch from a6f4132 to 5e7cae3 Compare October 30, 2023 17:55
@sergei-maertens sergei-maertens marked this pull request as ready for review October 30, 2023 18:36
@sergei-maertens sergei-maertens merged commit 38f9244 into main Oct 30, 2023
12 of 13 checks passed
@sergei-maertens sergei-maertens deleted the fix-create-appointments-story branch October 30, 2023 18:36
sergei-maertens pushed a commit that referenced this pull request Oct 30, 2023
The storybook interaction tests are unreliable w/r to human readable
formatting of times and localizing them appropriately. Most notably,
it's hard to mock the current date in storybook interaction tests,
and it's further complicated by chromatic running tests on machines
for which we cannot control the TZ information.

The test is moved to jest with a fixed/mocked time so that we avoid
DST issues in the future, additionally the TZ information is pinned
to Europe/Amsterdam in the test script in package.json.

Backport-of: #578
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants