Skip to content

Commit d3edf98

Browse files
committed
test(e2e): close playground via dialog
1 parent a4c4ee6 commit d3edf98

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/frontend/tests/core/unit/fileUploadComponent.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,9 +1013,7 @@ test(
10131013
await expect(page.getByText(fileContent1)).toBeVisible();
10141014
await expect(page.getByText(fileContent2)).toBeVisible();
10151015

1016-
await page
1017-
.getByRole("button", { name: TEXTS.playground, exact: true })
1018-
.click({ force: true });
1016+
await page.getByTestId("playground-close-button").click();
10191017

10201018
// Test Case 2: Single File (clear second input, use only first)
10211019
await textInputs.last().fill("");

0 commit comments

Comments
 (0)