Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -33,8 +33,8 @@ test.describe("mobile auth pages", () => {
|
||||
test("tenant protected deep links redirect unauthenticated mobile users to login with redirectTo", async ({ page }) => {
|
||||
const tenantProtectedPaths = [
|
||||
`/${tenantSlug}/dashboard`,
|
||||
`/${tenantSlug}/settings/account`,
|
||||
`/${tenantSlug}/settings/plugins`,
|
||||
`/${tenantSlug}/settings/workspace`,
|
||||
`/${tenantSlug}/settings/integrations/plugins`,
|
||||
`/${tenantSlug}/workflow-engine`,
|
||||
`/${tenantSlug}/workflow-engine/workflows/example/run/manual`,
|
||||
];
|
||||
@@ -94,12 +94,12 @@ test.describe("mobile auth pages", () => {
|
||||
await expectNoHorizontalOverflow(page);
|
||||
});
|
||||
|
||||
test("/reset without a token keeps password inputs disabled on mobile", async ({ page }) => {
|
||||
test("/reset without a token shows the invalid-link recovery state on mobile", async ({ page }) => {
|
||||
await page.goto("/reset", { waitUntil: "domcontentloaded" });
|
||||
|
||||
await expect(page.locator(resetEmailInput).first()).toBeVisible();
|
||||
await expect(page.locator(resetPasswordInput).first()).toBeVisible();
|
||||
await expect(page.locator(resetSubmitButton).first()).toBeDisabled();
|
||||
await expect(page.locator('[data-ui-id="ui.auth.reset.invalid"]').first()).toBeVisible();
|
||||
await expect(page.locator('[data-ui-id="ui.auth.reset.requestNew"]').first()).toBeVisible();
|
||||
await expect(page.locator('[data-ui-id="ui.auth.reset.invalidBackToLogin"]').first()).toBeVisible();
|
||||
await expectNoHorizontalOverflow(page);
|
||||
});
|
||||
|
||||
@@ -116,7 +116,8 @@ test.describe("mobile auth pages", () => {
|
||||
await page.goto("/auth/magic-link", { waitUntil: "domcontentloaded" });
|
||||
|
||||
await expect(page.getByRole("heading", { level: 1 })).toBeVisible();
|
||||
await expect(page.getByRole("link", { name: /request a new.*link|neuen.*link/i })).toHaveAttribute("href", "/forgot-password");
|
||||
await expect(page.locator('[data-ui-id="ui.auth.magicLink.requestNew"]').first()).toBeVisible();
|
||||
await expect(page.locator('[data-ui-id="ui.auth.magicLink.backToLogin"]').first()).toBeVisible();
|
||||
await expectNoHorizontalOverflow(page);
|
||||
});
|
||||
|
||||
@@ -126,17 +127,17 @@ test.describe("mobile auth pages", () => {
|
||||
await expect(page).toHaveURL(/\/forgot-password(?:[?#].*)?$/);
|
||||
await expectNoHorizontalOverflow(page);
|
||||
|
||||
await page.locator('a[href="/login"]').click();
|
||||
await page.locator('[data-ui-id="ui.auth.forgot.backToLoginLink"]').click();
|
||||
await expect(page).toHaveURL(/\/login(?:[?#].*)?$/);
|
||||
await expectNoHorizontalOverflow(page);
|
||||
|
||||
await page.goto("/auth/magic-link", { waitUntil: "domcontentloaded" });
|
||||
await page.locator('a[href="/forgot-password"]').click();
|
||||
await expect(page).toHaveURL(/\/forgot-password(?:[?#].*)?$/);
|
||||
await page.locator('[data-ui-id="ui.auth.magicLink.requestNew"]').click();
|
||||
await expect(page).toHaveURL(/\/login(?:[?#].*)?$/);
|
||||
await expectNoHorizontalOverflow(page);
|
||||
|
||||
await page.goto("/reset", { waitUntil: "domcontentloaded" });
|
||||
await page.locator('a[href="/login"]').click();
|
||||
await page.locator('[data-ui-id="ui.auth.reset.invalidBackToLogin"]').click();
|
||||
await expect(page).toHaveURL(/\/login(?:[?#].*)?$/);
|
||||
await expectNoHorizontalOverflow(page);
|
||||
});
|
||||
@@ -154,12 +155,12 @@ test.describe("compact mobile auth pages", () => {
|
||||
});
|
||||
}
|
||||
|
||||
test("/reset without a token keeps controls disabled at 320px", async ({ page }) => {
|
||||
test("/reset without a token keeps recovery actions usable at 320px", async ({ page }) => {
|
||||
await page.goto("/reset", { waitUntil: "domcontentloaded" });
|
||||
|
||||
await expect(page.locator(resetEmailInput).first()).toBeVisible();
|
||||
await expect(page.locator(resetPasswordInput).first()).toBeVisible();
|
||||
await expect(page.locator(resetSubmitButton).first()).toBeDisabled();
|
||||
await expect(page.locator('[data-ui-id="ui.auth.reset.invalid"]').first()).toBeVisible();
|
||||
await expect(page.locator('[data-ui-id="ui.auth.reset.requestNew"]').first()).toBeEnabled();
|
||||
await expect(page.locator('[data-ui-id="ui.auth.reset.invalidBackToLogin"]').first()).toBeEnabled();
|
||||
await expectNoHorizontalOverflow(page);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user