We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a46c7 commit 31d1f77Copy full SHA for 31d1f77
tests/e2e/e2e.spec.ts
@@ -189,10 +189,11 @@ test.describe("CSV Data Validator E2E", () => {
189
// Implicitly check enablement by attempting to click later.
190
await expect(validateButton).toBeEnabled({ timeout: 10000 });
191
192
- // Ensure button is correctly typed before clicking
193
- const validateButton: Locator = page.getByRole("button", {
194
- name: /validate data/i,
195
- });
+ // Ensure button is visible before clicking
+ // Remove the duplicate declaration:
+ // const validateButton: Locator = page.getByRole("button", {
+ // name: /validate data/i,
196
+ // });
197
198
// Add explicit visibility check before clicking
199
await expect(validateButton).toBeVisible();
0 commit comments