Skip to content

Commit

Permalink
test(input-time-zone): update screenshot tests to use time zones unaf…
Browse files Browse the repository at this point in the history
…fected by DST (#8094)

**Related Issue:** #8086 

## Summary

✨📸🧪🔨✨
  • Loading branch information
jcfranco authored Oct 31, 2023
1 parent a9c7ed6 commit 5ead819
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default {
chromatic: { delay: 1500 },
notes: readme,
options: {
timezone: "America/Los_Angeles",
// for stability, we use a timezone unaffected by daylight savings time
timezone: "America/Mexico_City",
},
},
...storyFilters(),
Expand All @@ -28,9 +29,9 @@ export const timeZoneNameMode_TestOnly = (): string => html`
<calcite-input-time-zone mode="name" open></calcite-input-time-zone>
`;

export const initialNameSelected_TestOnly = (): string => html`
<calcite-input-time-zone mode="name" value="America/Ciudad_Juarez"></calcite-input-time-zone>
`;
export const initialNameSelected_TestOnly = (): string =>
// for stability, we use a timezone unaffected by daylight savings time
html`<calcite-input-time-zone mode="name" value="America/Phoenix"></calcite-input-time-zone>`;

export const initialOffsetSelected_TestOnly = (): string => html`
<calcite-input-time-zone value="-360"></calcite-input-time-zone>
Expand Down

0 comments on commit 5ead819

Please sign in to comment.