Skip to content

Commit 9a36e63

Browse files
committed
Fixed test configuration
1 parent 0ddcc56 commit 9a36e63

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default defineConfig({
8888

8989
webServer: [
9090
{
91-
command: './tests/start-test-server.sh --branch dev',
91+
command: './tests/start-test-server.sh --branch main',
9292
port: 8000,
9393
waitForPort: true,
9494
stdout: 'pipe',

tests/resource.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"id": 1,
32
"type": "local",
43
"name": "Local resource",
5-
"timestamp_created": "2025-10-17T07:42:59.824955Z",
64
"host": null,
75
"jobs_local_dir": "/tmp/fractal-test-server/data-jobs",
86
"jobs_runner_config": {},

tests/start-test-server.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ else
1313
exit 2
1414
fi
1515

16-
fractal_server_path="$(pwd)/lib/fractal-server"
1716
fractal_server_test_path="/tmp/fractal-test-server"
1817

1918
PIXI_VERSION="0.48.0"
@@ -44,14 +43,14 @@ if [ ! -d "$fractal_server_test_path" ]; then
4443
cd "$fractal_server_test_path"
4544

4645
# Virtualenv, dependencies and db
47-
python3 -m venv myenv
48-
. myenv/bin/activate
46+
python3 -m venv venv
47+
. venv/bin/activate
4948
pip install "$pip_arg"
5049
fractalctl set-db
5150
fractalctl init-db-data --resource resource.json --profile default
5251
else
5352
cd "$fractal_server_test_path"
54-
. myenv/bin/activate
53+
. venv/bin/activate
5554
fi
5655

5756
# Start

0 commit comments

Comments
 (0)