Skip to content

Commit

Permalink
feat: readme page (#4145)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdelion authored Jan 28, 2025
1 parent e3da57f commit b05d6b4
Show file tree
Hide file tree
Showing 23 changed files with 1,513 additions and 1,272 deletions.
24 changes: 12 additions & 12 deletions e2e/tests/ui-driven/src/create-flow.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Browser, expect, test } from "@playwright/test";
import { createExternalPortal } from "./helpers/addComponent.js";
import {
contextDefaults,
setUpTestContext,
Expand All @@ -10,6 +11,16 @@ import {
filterFlags,
selectedFlag,
} from "./helpers/globalHelpers.js";
import {
navigateToService,
publishService,
turnServiceOnline,
} from "./helpers/navigateAndPublish.js";
import {
externalPortalFlowData,
externalPortalServiceProps,
} from "./helpers/serviceData.js";
import { TestContext } from "./helpers/types.js";
import {
answerAddressInput,
answerChecklist,
Expand All @@ -22,17 +33,6 @@ import {
clickContinue,
} from "./helpers/userActions.js";
import { PlaywrightEditor } from "./pages/Editor.js";
import { createExternalPortal } from "./helpers/addComponent.js";
import {
navigateToService,
publishService,
turnServiceOnline,
} from "./helpers/navigateAndPublish.js";
import { TestContext } from "./helpers/types.js";
import {
externalPortalFlowData,
externalPortalServiceProps,
} from "./helpers/serviceData.js";

test.describe("Flow creation, publish and preview", () => {
let context: TestContext = {
Expand Down Expand Up @@ -223,7 +223,7 @@ test.describe("Flow creation, publish and preview", () => {
await navigateToService(page, serviceProps.slug);

// Add our ext portal to the middle of the service
await createExternalPortal(page, page.locator("li:nth-child(6)"));
await createExternalPortal(page, page.locator("li.hanger > a").nth(6));

await expect(
page.getByRole("link", { name: "E2E/an-external-portal-service" }),
Expand Down
Loading

0 comments on commit b05d6b4

Please sign in to comment.