Skip to content

Commit 015075e

Browse files
committed
always enable test mode
1 parent 22ecf5f commit 015075e

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

photon-client/tests/fixtures.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ export const test = base.extend({
1212
test.beforeAll(async () => {
1313
console.log("Running before all tests: Resetting backend state...");
1414
await axios.post("http://localhost:5800/api/test/resetBackend");
15+
await axios.post("http://localhost:5800/api/test/activateTestMode");
1516
});

photon-client/tests/platformDependent/opi.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const newModelName = "foo-bar";
1010
test.beforeEach(async ({ page }) => {
1111
page.goto("/#/settings");
1212
await axios.post("/override/platform", { platform: "opi" });
13-
await axios.post("/activateTestMode");
1413
});
1514

1615
test("testSettingsPage", async ({ page }) => {

photon-client/tests/platformDependent/rubik.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const newModelName = "foo-bar";
1010
test.beforeEach(async ({ page }) => {
1111
page.goto("/#/settings");
1212
await axios.post("/override/platform", { platform: "rubik" });
13-
await axios.post("/activateTestMode");
1413
});
1514

1615
test("testSettingsPage", async ({ page }) => {

0 commit comments

Comments
 (0)