@@ -309,7 +309,7 @@ describe("WorkspacePage", () => {
309
309
// Started flaking after upgrading react-router. Tests the old parameters path
310
310
// and isn't worth spending more time to fix since this code will be removed
311
311
// in a few releases when dynamic parameters takes over the world.
312
- it . skip ( "updates the parameters when they are missing during update" , async ( ) => {
312
+ it ( "updates the parameters when they are missing during update" , async ( ) => {
313
313
// Mocks
314
314
jest
315
315
. spyOn ( API , "getWorkspaceByOwnerAndName" )
@@ -340,7 +340,9 @@ describe("WorkspacePage", () => {
340
340
341
341
// After trying to update, a new dialog asking for missed parameters should
342
342
// be displayed and filled
343
- const dialog = await waitFor ( ( ) => screen . findByTestId ( "dialog" ) ) ;
343
+ const dialog = await screen . findByRole ( "dialog" , {
344
+ name :/ w o r k s p a c e p a r a m e t e r s / i,
345
+ } ) ;
344
346
const firstParameterInput = within ( dialog ) . getByLabelText (
345
347
MockTemplateVersionParameter1 . name ,
346
348
{ exact :false } ,