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

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Kracht <[email protected]>
  • Loading branch information
stefan-kracht committed Dec 21, 2023
1 parent 62aa43e commit a5eafd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/explorer/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ test("it is possible to create a folder", async ({ page }) => {
const folderName = "awesome-folder";

// create folder
await page.getByTestId("dropdown-trg-new").click();
await page.getByText("New").first().click();
await page.getByTestId("new-dir").click();
await page.getByPlaceholder("folder-name").fill(folderName);
await page.getByRole("button", { name: "Create" }).click();
Expand Down Expand Up @@ -168,7 +168,7 @@ test("it is possible to create a workflow", async ({ page }) => {
const filename = "awesomeworkflow.yaml";

// create workflow
await page.getByTestId("dropdown-trg-new").click();
await page.getByText("New").first().click();
await page.getByTestId("new-workflow").click();
await page.getByTestId("new-workflow-name").fill(filename);
await page.getByTestId("new-workflow-submit").click();
Expand Down Expand Up @@ -229,7 +229,7 @@ test("it is possible to create a workflow without providing the .yaml file exten
const filenameWithoutExtension = "awesome-workflow";

// create workflow
await page.getByTestId("dropdown-trg-new").click();
await page.getByText("New").first().click();
await page.getByTestId("new-workflow").click();
await page.getByTestId("new-workflow-name").fill(filenameWithoutExtension);
await page.getByTestId("new-workflow-submit").click();
Expand Down

0 comments on commit a5eafd4

Please sign in to comment.