-
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(#7623): Resize ConductorAxis properly #7624
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7624 +/- ##
==========================================
+ Coverage 56.14% 56.19% +0.04%
==========================================
Files 672 672
Lines 27128 27133 +5
Branches 2635 2635
==========================================
+ Hits 15231 15247 +16
+ Misses 11569 11559 -10
+ Partials 328 327 -1
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
Had a nitpick, but nothing to stop this. Nice work!
Before:
before.mov
After:
after.mov
@@ -55,20 +57,69 @@ export default { | |||
} | |||
}, | |||
emits: ['pan-axis', 'end-pan', 'zoom-axis', 'end-zoom'], | |||
setup() { | |||
const axisHolder = ref(null); |
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.
this all looks very familiar 😀
Wait to merge, have a visual test inc |
Yeah, figured. I was going to suggest that but my brain shorted. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7624 +/- ##
==========================================
- Coverage 56.31% 56.30% -0.01%
==========================================
Files 672 672
Lines 27114 27120 +6
Branches 2632 2632
==========================================
+ Hits 15269 15270 +1
- Misses 11517 11522 +5
Partials 328 328
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
This is great! Just two changes
- add framework tests for the tick functionality
- Update the new visual test to use an a11y check in aftereach
- update the readme to instruct Windows users to use the Linux container snapshot method
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.
Unless I'm missing it on mobile, we're still not executing the accessibility checks
expect(time).toBe(MISSION_TIME + 1000 * 1); | ||
await tick(1000); | ||
time = await page.evaluate(() => new Date().getTime()); | ||
expect(time).toBe(MISSION_TIME + 1000 * 2); |
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.
Awesome
Closes #7623
Describe your changes:
e2e Framework Changes:
page.screenshot()
passing in defaults that may apply to most Open MCT snapshot tests (mask timestamps, disable animations). These can be overridden in the test by passing an options object as normal.tick()
that is meant to be used in conjunction withoverrideClock
. This allows tests that have paused clock (shouldAdvanceTime: false
) to be able to manually tick the clock to trigger ui updates, router params updates, etc.All Submissions:
Author Checklist
type:
label? Note: this is not necessarily the same as the original issue.Reviewer Checklist