fix tests
This commit is contained in:
parent
066a5969e7
commit
2190d65c59
1 changed files with 6 additions and 0 deletions
|
|
@ -79,6 +79,12 @@ test.describe("save component tests", () => {
|
||||||
await page.getByTestId("title-Group").click();
|
await page.getByTestId("title-Group").click();
|
||||||
await page.getByTestId("icon-SaveAll").click();
|
await page.getByTestId("icon-SaveAll").click();
|
||||||
|
|
||||||
|
const replaceButton = page.getByTestId("replace-button");
|
||||||
|
|
||||||
|
if (replaceButton) {
|
||||||
|
await replaceButton.click();
|
||||||
|
}
|
||||||
|
|
||||||
await page.getByPlaceholder("Search").click();
|
await page.getByPlaceholder("Search").click();
|
||||||
await page.getByPlaceholder("Search").fill("group");
|
await page.getByPlaceholder("Search").fill("group");
|
||||||
await page.waitForTimeout(2000);
|
await page.waitForTimeout(2000);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue