This is an automated email from the ASF dual-hosted git repository.

oyvindlg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new ca3a21397a GH-3852: Fixing Fuseki UI test:e2e:win32
ca3a21397a is described below

commit ca3a21397afa7e4f798a6c780c0203752aeacfe8
Author: bern-SOPTIM <[email protected]>
AuthorDate: Fri Apr 10 23:18:26 2026 +0200

    GH-3852: Fixing Fuseki UI test:e2e:win32
    
    Fixed "test:e2e:win32" in jena-fuseki2/jena-fuseki-ui/package.json:
    
    SET /a (FUSEKI_PORT=FUSEKI_PORT ^ 3030)
    --> produced: missing brackets
    
    ${FUSEKI_PORT}
    --> is unix syntax, not windows
    
    Switched from cmd to powershell
---
 jena-fuseki2/jena-fuseki-ui/package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jena-fuseki2/jena-fuseki-ui/package.json 
b/jena-fuseki2/jena-fuseki-ui/package.json
index 8f920d383a..f546645817 100644
--- a/jena-fuseki2/jena-fuseki-ui/package.json
+++ b/jena-fuseki2/jena-fuseki-ui/package.json
@@ -13,7 +13,7 @@
     "test:unit": "vitest run --pool=threads --environment jsdom",
     "test:e2e": "run-script-os",
     "test:e2e:nix": "cross-env FUSEKI_PORT=\"${FUSEKI_PORT:=3030}\" 
PORT=\"${PORT:=8080}\" concurrently  --names 'SERVER,CLIENT,TESTS' 
--prefix-colors 'yellow,blue,green' --success 'first' --kill-others \"yarn run 
serve:fuseki\" \"yarn wait-on http://localhost:${FUSEKI_PORT}/$/ping && yarn 
run dev\" \"yarn wait-on http-get://localhost:${PORT}/index.html && cypress run 
$@\"",
-    "test:e2e:win32": "SET /a (FUSEKI_PORT=FUSEKI_PORT ^ 3030) & SET /a 
(PORT=PORT ^ 8080) & cross-env concurrently --names 'SERVER,CLIENT,TESTS' 
--prefix-colors 'yellow,blue,green' --success 'first' --kill-others \"yarn run 
serve:fuseki\" \"yarn wait-on http://localhost:${FUSEKI_PORT}/$/ping && yarn 
run dev\" \"yarn wait-on http-get://localhost:${PORT}/index.html && cypress run 
$@\"",
+    "test:e2e:win32": "powershell -NoProfile -ExecutionPolicy Bypass -Command 
\"if (-not $env:FUSEKI_PORT) { $env:FUSEKI_PORT='3030' }; if (-not $env:PORT) { 
$env:PORT='8080' }; $extra = $args -join ' '; concurrently --names 
SERVER,CLIENT,TESTS --prefix-colors yellow,blue,green --success first 
--kill-others 'yarn run serve:fuseki' ('yarn wait-on http://localhost:' + 
$env:FUSEKI_PORT + '/$/ping && yarn run dev') ('yarn wait-on 
http-get://localhost:' + $env:PORT + '/index.html && cypress r [...]
     "lint": "eslint --fix src",
     "coverage:unit": "yarn run test:unit --coverage",
     "coverage:e2e": "cross-env-shell CYPRESS_COVERAGE=true yarn run test:e2e",

Reply via email to