-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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(#7791): tc form shouldn't submit bounds changes on dismiss #7792
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7792 +/- ##
==========================================
- Coverage 57.11% 56.83% -0.29%
==========================================
Files 674 674
Lines 27278 27276 -2
Branches 2668 2668
==========================================
- Hits 15579 15501 -78
- Misses 11359 11435 +76
Partials 340 340
... and 9 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Let's make sure to add a test for this scenario with the native time conductor, but also an embedded independent time conductor in a display layout |
Working on it rn 👍 |
- update appAction for setting time conductor in fixed mode - add a11y to time conductor in fixed mode - update tests using `setTimeConductorBounds`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small reminder to update the test framework test app action for the set time conductor bounds
- wait for the rightmost image thumbnail to be in the viewport :D
@@ -53,6 +53,9 @@ test.describe('Example Imagery Object', () => { | |||
// Verify that the created object is focused | |||
await expect(page.locator('.l-browse-bar__object-name')).toContainText(exampleImagery.name); | |||
await page.getByLabel('Focused Image Element').hover({ trial: true }); | |||
|
|||
// Wait for image thumbnail auto-scroll to complete | |||
await expect(page.getByLabel('Image Thumbnail from').last()).toBeInViewport(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here lies Can use the reset button to reset the image
test flake (2022-2024) 🪦
Closes #7791
Describe your changes:
Reverts some changes that caused the
dismiss
action on the fixed mode time conductor popup to submit changes. Does some "safe" refactoring of the component to make it slightly more maintainable.setTimeConductorBounds
to be more robustsetTimeConductorBounds
in existing testsAll Submissions:
Author Checklist
type:
label? Note: this is not necessarily the same as the original issue.Reviewer Checklist