Skip to content

fix: chromatic schedule bug #2481

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

Merged
merged 2 commits into from
Jun 23, 2022
Merged

Conversation

Kira-Pilot
Copy link
Member

NOTE: I'm not going to merge this until tomorrow when we can see if it actually fixes the snapshot tests (need a day change).

The snapshot tests for schedule were changing day to day, so we were constantly trying to have to accept new baselines. Attempting to ignore the culprit elements with the chromatic class suggested in the docs. We were using the attribute but that just wasn't doing the trick.

@Kira-Pilot Kira-Pilot changed the title bug: fix chromatic schedule bug fix: chromatic schedule bug Jun 17, 2022
{Language.autoStartDisplay(workspace.autostart_schedule)}
</span>
</div>
<div>
<span className={styles.scheduleLabel}>{Language.autoStopLabel}</span>
<span className={styles.scheduleValue} data-chromatic="ignore">
<span className={[styles.scheduleValue, "chromatic-ignore"].join(" ")}>
Copy link
Member Author

@Kira-Pilot Kira-Pilot Jun 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

combineClasses didn't like chromatic-ignore; that's a battle for another day, if this even works.

@Kira-Pilot
Copy link
Member Author

We haven't seen this issue for the last couple days so closing this for now.

@Kira-Pilot Kira-Pilot closed this Jun 22, 2022
@Kira-Pilot Kira-Pilot reopened this Jun 23, 2022
@Kira-Pilot Kira-Pilot marked this pull request as ready for review June 23, 2022 14:47
@Kira-Pilot Kira-Pilot requested a review from a team as a code owner June 23, 2022 14:47
@Kira-Pilot Kira-Pilot merged commit 929227d into main Jun 23, 2022
@Kira-Pilot Kira-Pilot deleted the fix-chromatic-schedule-bug/kira-pilot branch June 23, 2022 15:25
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.

3 participants