Skip to content

Commit b46d82b

Browse files
chore: Update Studio Beta UI to be back to white background (#31379)
* chore: Update Studio Beta UI to be back to white background * Add a test for the Studio header and visual snapshot * update selector to be correct * Update packages/app/cypress/e2e/studio/studio.cy.ts Co-authored-by: Bill Glesias <[email protected]> --------- Co-authored-by: Bill Glesias <[email protected]>
1 parent 18d79d5 commit b46d82b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/app/cypress/e2e/studio/studio.cy.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ describe('Cypress Studio', () => {
3333
})
3434
})
3535

36+
it('displays Studio header', () => {
37+
launchStudio({ enableCloudStudio: true })
38+
39+
cy.viewport(1500, 1000)
40+
cy.get('[data-cy="studio-toolbar"]').should('be.visible')
41+
cy.percySnapshot()
42+
})
43+
3644
it('immediately loads the studio panel', () => {
3745
const deferred = pDefer()
3846

packages/app/src/runner/studio/StudioControls.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="border-y flex border-gray-50 w-full justify-between"
3+
class="border-y flex border-gray-50 bg-white w-full justify-between"
44
data-cy="studio-toolbar"
55
>
66
<div class="flex">

0 commit comments

Comments
 (0)