-
Notifications
You must be signed in to change notification settings - Fork 3.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
misc: display AUT bar in dark mode #31360
Conversation
cypress
|
Project |
cypress
|
Branch Review |
aut-dark-mode
|
Run status |
|
Run duration | 18m 41s |
Commit |
|
Committer | Jennifer Shehane |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
10
|
|
1232
|
|
0
|
|
32133
|
View all changes introduced in this branch ↗︎ |
UI Coverage
46.59%
|
|
---|---|
|
183
|
|
164
|
Accessibility
92.63%
|
|
---|---|
|
3 critical
8 serious
2 moderate
2 minor
|
|
881
|
cy.startAppServer(testingType) | ||
cy.visitApp() | ||
cy.specsPageIsVisible() | ||
describe('dragging panels', () => { |
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.
I split these tests out because...these tests are bonkers. It seems like it was originally testing the AUT scale %, but then had a bunch of UI assertions just tacked onto it.
Additionally, I removed a test around testing the 200 reporter width at a 500 width screen. The UI is so smooshed, it's a bit ridiculous to even test the UI at that size.
@@ -23,7 +23,7 @@ | |||
"dependencies": {}, | |||
"devDependencies": { | |||
"@cypress-design/icon-registry": "^1.5.1", | |||
"@cypress-design/vue-button": "^1.1.0", | |||
"@cypress-design/vue-button": "^1.3.0", |
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.
We're actually not even using this component in the AUT, so this update doesn't do anything.
@@ -182,26 +160,20 @@ describe('SelectorPlayground', () => { | |||
}) | |||
}) | |||
|
|||
// TODO: fix this flaky test | |||
it.skip('shows tooltips when buttons are focused', () => { | |||
it('shows copy tooltip when button is focused', () => { |
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.
Split these tests up. I think they're flaky because it's trying to do one tooltip after another which just doesn't work well with our tooltip components.
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
Update AUT bar to be dark mode - according to Figma
I did not actually end up getting rid of the Selector Playground active button and moving the state into the AUT bar. This is a bit more complex of a change than I want to spend time on since this will likely be removed with Studio enhancements anyway.
Steps to test
yarn
packages/app
runyarn cypress:run:e2e --no-exit --headed --spec=cypress/e2e/runner/cloud-debug-filter.cy.ts --browser=chrome
packages/app
runyarn cypress:open
and choose an end-to-end and ct test to view.How has the user experience changed?
Before
Run mode
Open mode
Selector Playground expanded
Selector Playground invalid
Tooltip
Selector Dropdown
Browser Dropdown
CT Testing
After
Run mode
Open mode
Selector Playground expanded
Selector Playground invalid
Tooltip
Selector Dropdown
Browser Dropdown
CT Testing
PR Tasks
cypress-documentation
?type definitions
?