Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
add: Asset Management fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patr-coder committed Mar 22, 2023
1 parent 2a3f64b commit 3ab35e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/dashboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ test.describe("15. Assets Management", () => {
await page.getByRole("button", { name: "Delete" }).click();
await page.getByRole("button", { name: "Delete" }).nth(1).click();
await expect(page.getByText("One or more assets were successfully deleted.")).toBeVisible();
await page.waitForTimeout(1000);

//Find By Alphabet
const AlphabetSearch = page.locator("div.css-u20fhm");
Expand Down Expand Up @@ -625,7 +626,7 @@ test.describe("15. Assets Management", () => {
}

// Search All Assets by name
const items = ["reearth.png", "RPA.png", "ロボット.jpg"];
const items = ["images.png", "reearth.png", "RPA.png", "location.webp"];
for (const item of items) {
const input = page.locator("input.css-1cie7t4");
await input.type(`${item}`, { delay: 50 });
Expand Down Expand Up @@ -755,7 +756,7 @@ test("17. Project setting", async ({ page, reearth }) => {
await page.waitForTimeout(1000);

//Click Project List
const projectsLink = await page.getByRole("link", { name: "Project List" });
const projectsLink = page.getByRole("link", { name: "Project List" });
console.log(projectsLink);
await projectsLink.click();
await page.waitForTimeout(1000);
Expand Down

0 comments on commit 3ab35e0

Please sign in to comment.