Skip to content

Commit

Permalink
fix: make flow name required and update all contexts for passing e2e …
Browse files Browse the repository at this point in the history
…tests (#3268)
  • Loading branch information
jessicamcinchak authored Jun 11, 2024
1 parent 468e520 commit fd91661
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/tests/ui-driven/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface Context {
id?: string;
publishedId?: number;
slug: string;
name?: string;
name: string;
data?: object;
};
sessionIds?: string[];
Expand Down
1 change: 1 addition & 0 deletions e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ let context: Context = {
...contextDefaults,
flow: {
slug: "invite-to-pay-test",
name: "Invite to pay test",
data: inviteToPayFlow,
},
sessionIds: [], // used to collect and clean up sessions
Expand Down
1 change: 1 addition & 0 deletions e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ let context: Context = {
...contextDefaults,
flow: {
slug: "invite-to-pay-test",
name: "Invite to pay test",
data: inviteToPayFlow,
},
sessionIds: [], // used to collect and clean up sessions
Expand Down
1 change: 1 addition & 0 deletions e2e/tests/ui-driven/src/pay.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ let context: Context = {
...contextDefaults,
flow: {
slug: "pay-test",
name: "Pay test",
data: payFlow,
},
sessionIds: [], // used to collect and clean up sessions
Expand Down
1 change: 1 addition & 0 deletions e2e/tests/ui-driven/src/save-and-return.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test.describe("Save and return", () => {
...contextDefaults,
flow: {
slug: "e2e-save-and-return-test-flow",
name: "E2E Save and Return test flow",
data: simpleSendFlow,
},
};
Expand Down
1 change: 1 addition & 0 deletions e2e/tests/ui-driven/src/sections.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test.describe("Section statuses", () => {
...contextDefaults,
flow: {
slug: "sections-test-flow",
name: "Sections test flow",
data: flow,
},
};
Expand Down

0 comments on commit fd91661

Please sign in to comment.