feat(onboarding): polish setup experience
This commit is contained in:
1 parent
f4891447d3
commit
4ca02a9133
34 files changed
+1005
-1172
No files matched your search
@@ -141,11 +141,9 @@ describe("Onboarding", () => {
|
||||
const boardPreview = page.locator('figure[aria-label="Live preview of the first board layout"]');
|
||||
expect(await boardPreview.getAttribute("data-layout-role")).toBe("base");
|
||||
expect(await boardPreview.getAttribute("data-layout-columns")).toBe("10");
|
||||
await page.getByText("Mobile", { exact: true }).click();
|
||||
expect(await boardPreview.getAttribute("data-layout-role")).toBe("mobile");
|
||||
expect(await boardPreview.getAttribute("data-layout-columns")).toBe("3");
|
||||
await page.getByText("Wide", { exact: true }).click();
|
||||
await page.getByText("Base", { exact: true }).click();
|
||||
const columnSlider = page.getByRole("slider", { name: "Board columns" });
|
||||
await columnSlider.press("ArrowRight");
|
||||
await columnSlider.press("ArrowRight");
|
||||
expect(await boardPreview.getAttribute("data-layout-columns")).toBe("12");
|
||||
|
||||
await page.getByRole("button", { name: /^Connect/ }).click();
|
||||
|
||||
Reference in new issue
Block a user