Skip to content

Commit 96801e1

Browse files
internal: Update URL styles, readonly state, and viewport tag styling (#32109)
* Add focus and active states for AUT URL input styling Co-authored-by: jennifer <[email protected]> * Add actual styles based on Figma * Update vue-tag and add dark tag * update styles and placeholder * remove old studioUrlPrompt * Update tests and logic for disabled input * removed some unused functions/helper text no longer used * add readonly attr * only use readonly * update CT test to match new behavior --------- Co-authored-by: Cursor Agent <[email protected]>
1 parent d12e945 commit 96801e1

File tree

10 files changed

+254
-385
lines changed

10 files changed

+254
-385
lines changed

packages/app/cypress/e2e/cypress-in-cypress-component.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('Cypress In Cypress CT', { viewportWidth: 1500, defaultCommandTimeout:
1919
cy.waitForSpecToFinish()
2020
cy.get('[data-model-state="passed"]').should('contain', 'renders the test component')
2121

22-
cy.findByTestId('aut-url-input').should('be.disabled')
22+
cy.findByTestId('aut-url-input').should('have.prop', 'readOnly', true)
2323
cy.findByTestId('select-browser').click()
2424

2525
cy.contains('Canary').should('be.visible')

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ describe('Studio Cloud', () => {
113113

114114
cy.contains('New test')
115115

116-
cy.findByTestId('studio-url-prompt').should('not.exist')
117-
118116
cy.percySnapshot()
119117
})
120118

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@cypress-design/vue-spinner": "^1.0.0",
2929
"@cypress-design/vue-statusicon": "^1.0.0",
3030
"@cypress-design/vue-tabs": "^1.2.2",
31-
"@cypress-design/vue-tag": "^1.0.1",
31+
"@cypress-design/vue-tag": "^1.1.0",
3232
"@cypress/mount-utils": "0.0.0-development",
3333
"@faker-js/faker": "9.6.0",
3434
"@graphql-typed-document-node/core": "^3.1.0",

packages/app/src/runner/SpecRunnerDropdown.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<template>
22
<Popover
33
:key="`${props.disabled}`"
4-
class="rounded-[50px] h-[30px] mx-[6px] py-[2px] relative"
4+
class="rounded-[50px] h-[24px] mx-[6px] py-[2px] relative"
55
#="{ open, close }"
66
>
77
<PopoverButton
8-
class="border rounded-[50px] self-center h-full grow px-[5px] group outline-none hover:bg-gray-800"
8+
class="border rounded-[50px] self-center h-[24px] grow px-[5px] group outline-none hover:bg-gray-800"
99
:class="{
1010
'opacity-50 cursor-auto': props.disabled,
1111
'rounded-[5px] border-[1px] border-indigo-100': !props.minimal,

0 commit comments

Comments
 (0)