Skip to content

Commit

Permalink
SLVUU-129: Run layout server for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pling-scottlogic committed Jan 10, 2024
1 parent 5e6acbc commit fe2ef9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
working-directory: ./vuu-ui
browser: chrome
build: npm run showcase:build
start: npm run showcase:preview
wait-on: "http://localhost:4173"
start: npm run showcase:preview, npm run layout-server
wait-on: http://localhost:4173, http://localhost:8081/api/swagger-ui/index.html
- name: Run end-to-end tests in Edge
uses: cypress-io/github-action@bd9dda317ed2d4fbffc808ba6cdcd27823b2a13b
with:
Expand All @@ -50,7 +50,7 @@ jobs:
browser: edge
build: npm run showcase:build
start: npm run showcase:preview
wait-on: "http://localhost:4173"
wait-on: http://localhost:4173, http://localhost:8081/api/swagger-ui/index.html

# ensure the vuu example still builds
vuu-app-build:
Expand Down
1 change: 1 addition & 0 deletions vuu-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"launch:table": "node ./scripts/launch-table.mjs",
"launch:demo:electron": "cd tools/electron && node ./node_modules/.bin/electron .",
"launch:showcase": " cd showcase && node scripts/launch.mjs",
"layout-server": "cd ../layout-server && mvn spring-boot:run",
"deploy:websocket-test": "node ./tools/deploy-websocket-test.mjs",
"view-bundle": "node ./scripts/visualize-bundle.mjs",
"type-defs": "node ./scripts/build-all-type-defs.mjs",
Expand Down

0 comments on commit fe2ef9c

Please sign in to comment.