Skip to content

Commit

Permalink
group slice assertion when navigating samples
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpkane committed Sep 24, 2024
1 parent ec1e258 commit 1b5757b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e-pw/src/oss/specs/smoke-tests/quickstart-groups.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ test.describe("quickstart-groups", () => {
expect(await modal.sidebar.getSampleFilepath(false)).toEqual(
FIRST_SAMPLE_FILENAME
);

await modal.navigateSlice("group", "right");
await modal.navigateNextSample();
expect(await modal.sidebar.getSidebarEntryText("group.name")).toEqual(
"right"
);
});

test("group media visibility toggle works", async ({ modal }) => {
Expand Down

0 comments on commit 1b5757b

Please sign in to comment.