File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,8 @@ describe('studio functionality', () => {
175
175
cy . get ( '.runnable-title' ) . its ( 3 ) . should ( 'contain.text' , 'visits a basic html page 3' )
176
176
} )
177
177
178
- it ( 'creates a new test from an empty spec' , ( ) => {
178
+ // TODO: The URL prompt is in cloud studio now
179
+ it . skip ( 'creates a new test from an empty spec' , ( ) => {
179
180
loadProjectAndRunSpec ( { specName : 'empty.cy.js' , specSelector : 'title' } )
180
181
181
182
cy . contains ( 'Create test with Cypress Studio' ) . click ( )
@@ -204,7 +205,7 @@ it('new-test', function() {});
204
205
} )
205
206
} )
206
207
207
- // TODO: skipping until https://github.com/cypress-io/cypress-services/issues/11086 is completed
208
+ // TODO: The URL prompt is in cloud studio now
208
209
it . skip ( 'creates a new test for an existing spec' , ( ) => {
209
210
launchStudio ( { createNewTest : true } )
210
211
Original file line number Diff line number Diff line change 97
97
:on-studio-panel-close =" handleStudioPanelClose"
98
98
:event-manager =" eventManager"
99
99
:studio-status =" studioStatus"
100
+ :aut-url-selector =" autUrlSelector"
100
101
/>
101
102
</HideDuringScreenshot >
102
103
</template >
@@ -135,6 +136,9 @@ import { useStudioStore } from '../store/studio-store'
135
136
import StudioPanel from ' ../studio/StudioPanel.vue'
136
137
import { useSubscription } from ' ../graphql'
137
138
139
+ // this is used by the StudioPanel to access the AUT URL input
140
+ const autUrlSelector = ' .aut-url-input'
141
+
138
142
const {
139
143
preferredMinimumPanelWidth,
140
144
absoluteAutMinimum,
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ const props = defineProps<{
52
52
eventManager: EventManager
53
53
studioStatus: string | null
54
54
cloudStudioSessionId? : string
55
+ autUrlSelector: string
55
56
}>()
56
57
57
58
interface StudioApp { default: StudioAppDefaultShape }
@@ -77,6 +78,7 @@ const maybeRenderReactComponent = () => {
77
78
canAccessStudioAI: props .canAccessStudioAI ,
78
79
onStudioPanelClose: props .onStudioPanelClose ,
79
80
studioSessionId: props .cloudStudioSessionId ,
81
+ autUrlSelector: props .autUrlSelector ,
80
82
})
81
83
82
84
// Store the react root in a weak map keyed by the container. We do this so that we have a reference
You can’t perform that action at this time.
0 commit comments