@@ -58,6 +58,8 @@ test.describe("with single target", () => {
5858 test . describe ( "with multiple targets" , ( ) => {
5959 test ( "sets attributes when condition is true" , async ( { page } ) => {
6060 await page . click ( ".mx-name-actionButton2" ) ;
61+ await waitForMendixApp ( page ) ;
62+ await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" ) ;
6163 await page . click ( ".mx-name-actionButton2" ) ;
6264 await waitForMendixApp ( page ) ;
6365 await page . click ( ".mx-name-radioButtons2 input:first-child" ) ;
@@ -89,6 +91,8 @@ test.describe("with single target", () => {
8991
9092 test ( "updates target attributes using a NF" , async ( { page } ) => {
9193 await page . click ( ".mx-name-actionButton2" ) ;
94+ await waitForMendixApp ( page ) ;
95+ await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" ) ;
9296 await page . click ( ".mx-name-actionButton2" ) ;
9397 await waitForMendixApp ( page ) ;
9498 await page . click ( ".mx-name-radioButtons2 input:first-child" ) ;
@@ -118,6 +122,8 @@ test.describe("with single target", () => {
118122 page
119123 } ) => {
120124 await page . click ( ".mx-name-actionButton2" ) ;
125+ await waitForMendixApp ( page ) ;
126+ await expect ( page . locator ( ".mx-name-actionButton2" ) ) . not . toHaveAttribute ( "data-disabled" , "true" ) ;
121127 await page . click ( ".mx-name-actionButton2" ) ;
122128 await waitForMendixApp ( page ) ;
123129 await page . click ( ".mx-name-radioButtons2 input:first-child" ) ;
0 commit comments