Skip to content

Commit

Permalink
initial setup
Browse files Browse the repository at this point in the history
remove upload and label refs

initial expects for area and uplaod file button
  • Loading branch information
RODO94 committed Dec 3, 2024
1 parent 21a0213 commit dc9caa0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,14 @@ test.describe("Flow creation, publish and preview", () => {
await editor.createInternalPortal();
await editor.populateInternalPortal();
await page.getByRole("link", { name: "start" }).click(); // return to main flow
await editor.createUploadAndLabel();
// TODO: editor.createPropertyInfo()
// await editor.createUploadAndLabel();
await editor.createDrawBoundary();
await editor.createPlanningConstraints();
// await editor.createFileUpload();

await expect(editor.nodeList).toContainText([
"Find property",
"an internal portalEdit Portal",
"Upload and label",
"Confirm your location plan",
"Planning constraints",
// "File upload",
Expand Down Expand Up @@ -169,7 +167,12 @@ test.describe("Flow creation, publish and preview", () => {
).toBeVisible();
await clickContinue({ page });

await expect(page.getByRole('heading', { name: 'Confirm your location plan' })).toBeVisible()

await expect(page.getByTestId('upload-file-button')).toBeVisible()
await expect(page.getByText("490.37")).toBeVisible()

// TODO: answer uploadAndLabel
// TODO: answerPropertyInfo, answerDrawBoundary, answerPlanningConstraints
// TODO: answerPropertyInfo, answerPlanningConstraints
});
});

0 comments on commit dc9caa0

Please sign in to comment.