-
Notifications
You must be signed in to change notification settings - Fork 3.3k
internal: hide selector playground and studio toolbar when studio beta enabled #31666
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
internal: hide selector playground and studio toolbar when studio beta enabled #31666
Conversation
cypress
|
Project |
cypress
|
Branch Review |
studio-beta-hide-playground-studio-toolbar
|
Run status |
|
Run duration | 18m 58s |
Commit |
|
Committer | Jennifer Shehane |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
10
|
|
1232
|
|
0
|
|
32159
|
View all changes introduced in this branch ↗︎ |
UI Coverage
45.68%
|
|
---|---|
|
190
|
|
164
|
Accessibility
92.74%
|
|
---|---|
|
3 critical
9 serious
2 moderate
2 minor
|
|
890
|
const shouldShowStudioButton = computed(() => { | ||
return !!props.gql.studio && studioStatus.value === 'ENABLED' && !studioStore.isOpen | ||
return studioStatus.value === 'ENABLED' && !!props.gql.studio && !studioStore.isOpen |
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.
just a nit but we could use studioBetaAvailable.value
here
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.
Yah I did do this and then was debugging something and reverted it.
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
Steps to test
Automated:
studio-cloud.cy.ts
in app e2e testsSpecRunnerHeaderOpenMode.cy.tsx
in app CT testsManually:
yarn cypress:open
in the root withoutCYPRESS_ENABLE_CLOUD_STUDIO
, ensure selector playground and studio toolbar work normally outside of beta when activating studioyarn cypress:open
in the root WITHCYPRESS_ENABLE_CLOUD_STUDIO=true
, ensure selector playground and studio toolbar are hidden when activating studioHow has the user experience changed?
Changes are to internal Cypress team only
Before
After
PR Tasks
cypress-documentation
?type definitions
?