Skip to content

Commit 13c48e7

Browse files
test(accessibility-helper): increase timeout for actionButton2 disabled-state assertions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b351f83 commit 13c48e7

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

packages/pluggableWidgets/accessibility-helper-web/e2e/AccessibilityHelper.spec.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)