docs: complete handbook and prepare component verification tasks
This commit is contained in:
@@ -283,12 +283,14 @@ describe("documentation structure", () => {
|
||||
route.path = "/guide";
|
||||
await nextTick();
|
||||
await flushPromises();
|
||||
expect(w.findAll(".docs-sidebar a")).toHaveLength(4);
|
||||
expect(w.findAll(".docs-sidebar a")).toHaveLength(
|
||||
guideGroups.flatMap((group) => group.items).length,
|
||||
);
|
||||
expect(
|
||||
w.get('.docs-sidebar [aria-current="page"]').attributes("href"),
|
||||
).toBe("/guide");
|
||||
expect(w.get(".page-navigation .page-next").attributes("href")).toBe(
|
||||
"/themes",
|
||||
"/colors",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user