Skip to content

Commit

Permalink
Revert "feat(fluggastrechte-flow): add start page to vorabcheck"
Browse files Browse the repository at this point in the history
This reverts commit 082ed18.
  • Loading branch information
chohner committed Jan 30, 2024
1 parent dd5f495 commit f3713fd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 25 deletions.
35 changes: 14 additions & 21 deletions app/models/flows/fluggastrechte/config.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
{
"predictableActionArguments": true,
"id": "/fluggastrechte/vorabcheck/",
"initial": "start",
"initial": "flughaefen",
"states": {
"start": {
"meta": { "progressPosition": 1 },
"on": {
"SUBMIT": "flughaefen"
}
},
"flughaefen": {
"meta": { "progressPosition": 2 },
"meta": { "progressPosition": 1 },
"on": {
"BACK": "start",
"SUBMIT": [
{
"target": "fluggesellschaft",
Expand All @@ -31,7 +24,7 @@
}
},
"fluggesellschaft": {
"meta": { "progressPosition": 3 },
"meta": { "progressPosition": 2 },
"on": {
"BACK": "flughaefen",
"SUBMIT": [
Expand All @@ -51,7 +44,7 @@
}
},
"bereich": {
"meta": { "progressPosition": 4 },
"meta": { "progressPosition": 3 },
"on": {
"BACK": "fluggesellschaft",
"SUBMIT": [
Expand All @@ -71,7 +64,7 @@
}
},
"verspaetung": {
"meta": { "progressPosition": 5 },
"meta": { "progressPosition": 4 },
"on": {
"BACK": "bereich",
"SUBMIT": [
Expand All @@ -91,7 +84,7 @@
}
},
"checkin": {
"meta": { "progressPosition": 6 },
"meta": { "progressPosition": 5 },
"on": {
"BACK": "verspaetung",
"SUBMIT": [
Expand All @@ -111,7 +104,7 @@
}
},
"gruende": {
"meta": { "progressPosition": 7 },
"meta": { "progressPosition": 6 },
"on": {
"BACK": "checkin",
"SUBMIT": [
Expand All @@ -127,14 +120,14 @@
}
},
"gruende-hinweis": {
"meta": { "progressPosition": 8 },
"meta": { "progressPosition": 7 },
"on": {
"BACK": "gruende",
"SUBMIT": "entschaedigung"
}
},
"entschaedigung": {
"meta": { "progressPosition": 9 },
"meta": { "progressPosition": 8 },
"on": {
"BACK": "gruende",
"SUBMIT": [
Expand All @@ -155,7 +148,7 @@
}
},
"gericht": {
"meta": { "progressPosition": 10 },
"meta": { "progressPosition": 9 },
"on": {
"BACK": "entschaedigung",
"SUBMIT": [
Expand All @@ -176,7 +169,7 @@
}
},
"abtretung": {
"meta": { "progressPosition": 11 },
"meta": { "progressPosition": 10 },
"on": {
"BACK": "gericht",
"SUBMIT": [
Expand All @@ -197,7 +190,7 @@
}
},
"kostenlos": {
"meta": { "progressPosition": 12 },
"meta": { "progressPosition": 11 },
"on": {
"BACK": "abtretung",
"SUBMIT": [
Expand All @@ -217,7 +210,7 @@
}
},
"rabatt": {
"meta": { "progressPosition": 13 },
"meta": { "progressPosition": 12 },
"on": {
"BACK": "kostenlos",
"SUBMIT": [
Expand All @@ -238,7 +231,7 @@
}
},
"buchung": {
"meta": { "progressPosition": 14 },
"meta": { "progressPosition": 13 },
"on": {
"BACK": "rabatt",
"SUBMIT": [
Expand Down
3 changes: 0 additions & 3 deletions tests/e2e/fluggastrechte.vorabcheck.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ test("forwarded to intial step", async ({ page }) => {
});

test("geldeinklagen can be traversed", async ({ page }) => {
await expectPageToBeAccessible({ page });
await vorabcheck.clickNext();

await expectPageToBeAccessible({ page });
await vorabcheck.fillMultipleInputPage([
{ field: "startAirport", value: "BER" },
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/pom/FluggastrechteVorabcheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { Vorabcheck } from "tests/e2e/pom/Vorabcheck";

export class FluggastrechteVorabcheck extends Vorabcheck {
readonly url = "/fluggastrechte/vorabcheck";
readonly initialStep = "start";
readonly initialStep = "flughaefen";
}

0 comments on commit f3713fd

Please sign in to comment.