import { expect, test } from "@playwright/test";
import { getStory } from "../test-utils";
test.describe("App teaser page", () => {
    test("Paid plan", async ({ page }) => {
        await getStory(page, "components-c3appteaser--operate");
        await expect(page).toHaveScreenshot();
    });
    test("Trial expired", async ({ page }) => {
        await getStory(page, "components-c3appteaser--trial-expired");
        await expect(page).toHaveScreenshot();
    });
    test("Sleeping cluster", async ({ page }) => {
        await getStory(page, "components-c3appteaser--sleeping-cluster");
        await expect(page).toHaveScreenshot();
    });
    test("Cannot create cluster", async ({ page }) => {
        await getStory(page, "components-c3appteaser--cannot-create-cluster");
        await expect(page).toHaveScreenshot();
    });
    test("Cannot upgrade plan", async ({ page }) => {
        await getStory(page, "components-c3appteaser--cannot-upgrade-plan");
        await expect(page).toHaveScreenshot();
    });
    test("Cannot resume cluster", async ({ page }) => {
        await getStory(page, "components-c3appteaser--cannot-resume-cluster");
        await expect(page).toHaveScreenshot();
    });
});
