@@ -59,7 +59,9 @@ test.describe("with single target", () => {
5959 test ( "sets attributes when condition is true" , async ( { page } ) => {
6060 await page . click ( ".mx-name-actionButton2" ) ;
6161 await waitForMendixApp ( page ) ;
62- await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" ) ;
62+ await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" , {
63+ timeout : 10000
64+ } ) ;
6365 await page . click ( ".mx-name-actionButton2" ) ;
6466 await waitForMendixApp ( page ) ;
6567 await page . click ( ".mx-name-radioButtons2 input:first-child" ) ;
@@ -92,7 +94,9 @@ test.describe("with single target", () => {
9294 test ( "updates target attributes using a NF" , async ( { page } ) => {
9395 await page . click ( ".mx-name-actionButton2" ) ;
9496 await waitForMendixApp ( page ) ;
95- await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" ) ;
97+ await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" , {
98+ timeout : 10000
99+ } ) ;
96100 await page . click ( ".mx-name-actionButton2" ) ;
97101 await waitForMendixApp ( page ) ;
98102 await page . click ( ".mx-name-radioButtons2 input:first-child" ) ;
@@ -123,7 +127,9 @@ test.describe("with single target", () => {
123127 } ) => {
124128 await page . click ( ".mx-name-actionButton2" ) ;
125129 await waitForMendixApp ( page ) ;
126- await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" ) ;
130+ await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" , {
131+ timeout : 10000
132+ } ) ;
127133 await page . click ( ".mx-name-actionButton2" ) ;
128134 await waitForMendixApp ( page ) ;
129135 await page . click ( ".mx-name-radioButtons2 input:first-child" ) ;
0 commit comments