test: open drive settings for volume and pause in browser specs
This commit is contained in:
@@ -151,6 +151,7 @@ test("provides native motion and quality controls with visible state", async ({
|
||||
await expect(page.getByRole("status")).toHaveCount(0);
|
||||
await page.keyboard.press("Escape");
|
||||
await page.getByRole("button", { name: "Play soundtrack" }).click();
|
||||
await page.getByRole("button", { name: "Drive settings" }).click();
|
||||
await expect(
|
||||
page.getByRole("button", { name: "Pause motion" }),
|
||||
).toBeVisible();
|
||||
@@ -161,6 +162,7 @@ test("provides native motion and quality controls with visible state", async ({
|
||||
.getAttribute("data-scene-generation");
|
||||
|
||||
await page.getByRole("button", { name: "Pause motion" }).click();
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(
|
||||
page.getByRole("button", { name: "Resume motion" }),
|
||||
).toBeVisible();
|
||||
@@ -174,9 +176,11 @@ test("provides native motion and quality controls with visible state", async ({
|
||||
);
|
||||
|
||||
await page.getByRole("button", { name: "Resume motion" }).click();
|
||||
await page.getByRole("button", { name: "Drive settings" }).click();
|
||||
await expect(
|
||||
page.getByRole("button", { name: "Pause motion" }),
|
||||
).toBeVisible();
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(canvas).toHaveCount(1);
|
||||
await expect(page.locator(".journey-world")).toHaveAttribute(
|
||||
"data-scene-generation",
|
||||
|
||||
Reference in New Issue
Block a user