Skip to content

Commit

Permalink
fix(test) ensure PS1 is visible in instance terminal test before typi…
Browse files Browse the repository at this point in the history
…ng a command
  • Loading branch information
edlerd committed Apr 10, 2024
1 parent 6e07531 commit 1f8135d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/instances.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test("instance terminal operations", async ({ page }) => {
await page.getByRole("button", { name: "Reconnect" }).click();
await page.getByLabel("Command").fill("sh");
await page.getByLabel("submit reconnect").click();
await expect(page.locator(".xterm-screen")).toBeVisible();
await expect(page.getByText("~ #")).toBeVisible();
await page.keyboard.type("cat /etc/issue");
await page.keyboard.press("Enter");
await expect(page.locator(".xterm-rows")).toContainText("Alpine Linux");
Expand Down

0 comments on commit 1f8135d

Please sign in to comment.