Skip to content

Commit 466a3d1

Browse files
committed
#3414 webpage: fix playwright just config
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent f66dbdc commit 466a3d1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

webpage/config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ let defaultConfig = {
1010
baseURL: "https://www.qownnotes.org",
1111
};
1212

13-
let nextConfig = {
13+
let nextOverride = {
1414
baseURL: "https://next.qownnotes.org",
1515
};
1616

1717
let localOverride = {
18-
baseURL: "http://localhost:8080/",
18+
baseURL: "http://localhost:8080",
1919
};
2020

2121
let localDockerOverride = {
22-
baseURL: "http://localhost:8081/",
22+
baseURL: "http://localhost:8081",
2323
};
2424

2525
function deepMerge(target, source) {
@@ -46,7 +46,7 @@ function deepMerge(target, source) {
4646

4747
const configs = {
4848
prod: defaultConfig,
49-
next: nextConfig,
49+
next: deepMerge(defaultConfig, nextOverride),
5050
local: deepMerge(defaultConfig, localOverride),
5151
"local-docker": deepMerge(defaultConfig, localDockerOverride),
5252
};

webpage/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ playwright-test-local test='':
9696

9797
# Run the local docker playwright tests
9898
[group('dev')]
99-
playwright-test-next test='':
99+
playwright-test-local-docker test='':
100100
npm run playwright:test:local-docker -- tests/{{ test }}
101101

102102
# Run the playwright tests on next.qownnotes.org

0 commit comments

Comments
 (0)