fix: update button role in end-to-end test (#2936)
refactor: update button role in end-to-end test Update the button role in the end-to-end test to use "Check & Save" instead of "Save".
This commit is contained in:
parent
23b54a63c1
commit
a22b76534b
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class CustomComponent(Component):
|
|||
await page.locator("textarea").press("Control+a");
|
||||
await page.locator("textarea").fill(customCodeWithError);
|
||||
|
||||
await page.getByText("Save").click();
|
||||
await page.getByRole("button", { name: "Check & Save" }).click();
|
||||
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue