Add app-store installed page navigationt ests (#6333)
parent
359cfc4be0
commit
3f13791faf
|
@ -330,7 +330,10 @@ export function CalendarListContainer(props: { heading?: boolean; fromOnboarding
|
|||
})}
|
||||
description={t(`no_category_apps_description_calendar`)}
|
||||
buttonRaw={
|
||||
<Button color="secondary" href="/apps/categories/calendar">
|
||||
<Button
|
||||
color="secondary"
|
||||
data-testid="connect-calendar-apps"
|
||||
href="/apps/categories/calendar">
|
||||
{t(`connect_calendar_apps`)}
|
||||
</Button>
|
||||
}
|
||||
|
|
|
@ -183,6 +183,7 @@ const IntegrationsContainer = ({ variant, exclude }: IntegrationsContainerProps)
|
|||
buttonRaw={
|
||||
<Button
|
||||
color="secondary"
|
||||
data-testid={`connect-${variant || "other"}-apps`}
|
||||
href={variant ? `/apps/categories/${variant}` : "/apps/categories/other"}>
|
||||
{t(`connect_${variant || "other"}_apps`)}
|
||||
</Button>
|
||||
|
|
|
@ -14,6 +14,17 @@ test.describe("App Store - Authed", () => {
|
|||
await expect(page.locator(`text=Connect to Apple Server`)).toBeVisible();
|
||||
await pro.delete();
|
||||
});
|
||||
|
||||
test("Installed Apps - Navigation", async ({ page, users }) => {
|
||||
const user = await users.create();
|
||||
await user.login();
|
||||
await page.goto("/apps/installed");
|
||||
await page.waitForSelector('[data-testid="connect-calendar-apps"]');
|
||||
await page.click('[data-testid="vertical-tab-payment"]');
|
||||
await page.waitForSelector('[data-testid="connect-payment-apps"]');
|
||||
await page.click('[data-testid="vertical-tab-automation"]');
|
||||
await page.waitForSelector('[data-testid="connect-automation-apps"]');
|
||||
});
|
||||
});
|
||||
|
||||
test.describe("App Store - Unauthed", () => {
|
||||
|
|
Loading…
Reference in New Issue