Skip to content

Commit f9ba61f

Browse files
committed
feat: change e2e test to autobinding
Signed-off-by: Simon Schrottner <[email protected]>
1 parent 9b7faec commit f9ba61f

37 files changed

+676
-1026
lines changed

.gitmodules

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
path = libs/providers/flagd-web/schemas
66
url = https://github.com/open-feature/schemas
77
[submodule "libs/providers/flagd/spec"]
8-
path = libs/providers/flagd/spec
9-
url = https://github.com/open-feature/spec.git
10-
[submodule "libs/providers/flagd-web/spec"]
11-
path = libs/providers/flagd-web/spec
12-
url = https://github.com/open-feature/spec.git
8+
path = libs/providers/flagd/spec
9+
url = https://github.com/open-feature/spec.git
1310
[submodule "libs/shared/flagd-core/flagd-schemas"]
1411
path = libs/shared/flagd-core/flagd-schemas
1512
url = https://github.com/open-feature/flagd-schemas.git
16-
[submodule "libs/providers/flagd/flagd-testbed"]
17-
path = libs/providers/flagd/flagd-testbed
18-
url = https://github.com/open-feature/flagd-testbed.git
13+
[submodule "libs/shared/flagd-core/test-harness"]
14+
path = libs/shared/flagd-core/test-harness
15+
url = https://github.com/open-feature/flagd-testbed
16+
[submodule "libs/shared/flagd-core/spec"]
17+
path = libs/shared/flagd-core/spec
18+
url = https://github.com/open-feature/spec

libs/providers/flagd-web/project.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,6 @@
5858
}
5959
]
6060
},
61-
"pullTestHarness": {
62-
"executor": "nx:run-commands",
63-
"options": {
64-
"commands": [
65-
"git submodule update --init spec",
66-
"rm -f -r ./src/e2e/features/*",
67-
"cp -v ./spec/specification/assets/gherkin/evaluation.feature ./src/e2e/features/"
68-
],
69-
"cwd": "libs/providers/flagd-web",
70-
"parallel": false
71-
}
72-
},
7361
"e2e": {
7462
"executor": "nx:run-commands",
7563
"options": {
@@ -84,7 +72,7 @@
8472
"target": "generate"
8573
},
8674
{
87-
"target": "pullTestHarness"
75+
"target": "flagd-core:pullTestHarness"
8876
}
8977
]
9078
},

libs/providers/flagd-web/schemas

libs/providers/flagd-web/src/e2e/constants.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

libs/providers/flagd-web/src/e2e/features/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

libs/providers/flagd-web/src/e2e/features/.gitkeep

Whitespace-only changes.

libs/providers/flagd-web/src/e2e/step-definitions/evaluation.ts

Lines changed: 0 additions & 339 deletions
This file was deleted.

0 commit comments

Comments
 (0)