@@ -131,28 +131,10 @@ test.describe.serial("Orchestrator Entity-Workflow RBAC", () => {
131131 // Navigate to Self-service and select the template
132132 await page . goto ( "/create" ) ;
133133 await uiHelper . clickBtnInCard ( "Greeting Test Picker" , "Choose" ) ;
134- await expect ( page . getByText ( "Greeting Test Picker" ) ) . toBeVisible ( {
135- timeout : 30000 ,
136- } ) ;
137-
138- // Step 1: Fill in workflow parameters
139- const languageField = page . getByLabel ( "Language" ) ;
140- await expect ( languageField ) . toBeVisible ( { timeout : 15000 } ) ;
141- await languageField . click ( ) ;
142- await page . getByRole ( "option" , { name : "English" } ) . click ( ) ;
143-
144- const nameField = page . getByLabel ( "Name" ) ;
145- await expect ( nameField ) . toBeVisible ( { timeout : 10000 } ) ;
146- await nameField . fill ( `test-rbac-deny-${ Date . now ( ) } ` ) ;
147-
148- // Click Next to proceed to the Review step
149- const nextButton = page . getByRole ( "button" , { name : "Next" } ) ;
150- await expect ( nextButton ) . toBeVisible ( { timeout : 10000 } ) ;
151- await nextButton . click ( ) ;
152134
153- // Click Create to execute
135+ // This template has no input fields — it goes straight to Review with a Create button
154136 const createButton = page . getByRole ( "button" , { name : "Create" } ) ;
155- await expect ( createButton ) . toBeVisible ( { timeout : 10000 } ) ;
137+ await expect ( createButton ) . toBeVisible ( { timeout : 30000 } ) ;
156138 await createButton . click ( ) ;
157139
158140 // Template execution should succeed, but workflow execution should be denied
@@ -315,28 +297,10 @@ test.describe.serial("Orchestrator Entity-Workflow RBAC", () => {
315297 // Navigate to Self-service and select the template
316298 await page . goto ( "/create" ) ;
317299 await uiHelper . clickBtnInCard ( "Greeting Test Picker" , "Choose" ) ;
318- await expect ( page . getByText ( "Greeting Test Picker" ) ) . toBeVisible ( {
319- timeout : 30000 ,
320- } ) ;
321-
322- // Step 1: Fill in workflow parameters
323- const languageField = page . getByLabel ( "Language" ) ;
324- await expect ( languageField ) . toBeVisible ( { timeout : 30000 } ) ;
325- await languageField . click ( ) ;
326- await page . getByRole ( "option" , { name : "English" } ) . click ( ) ;
327-
328- const nameField = page . getByLabel ( "Name" ) ;
329- await expect ( nameField ) . toBeVisible ( { timeout : 10000 } ) ;
330- await nameField . fill ( `test-rbac-allow-${ Date . now ( ) } ` ) ;
331-
332- // Click Next to proceed to the Review step
333- const nextButton = page . getByRole ( "button" , { name : "Next" } ) ;
334- await expect ( nextButton ) . toBeVisible ( { timeout : 10000 } ) ;
335- await nextButton . click ( ) ;
336300
337- // Click Create to execute
301+ // This template has no input fields — it goes straight to Review with a Create button
338302 const createButton = page . getByRole ( "button" , { name : "Create" } ) ;
339- await expect ( createButton ) . toBeVisible ( { timeout : 10000 } ) ;
303+ await expect ( createButton ) . toBeVisible ( { timeout : 30000 } ) ;
340304 await createButton . click ( ) ;
341305
342306 // Wait for the scaffolder task to complete. The "Start Over" button appears
0 commit comments