Skip to content

Commit

Permalink
SLVUU-129: Add script to run layout server
Browse files Browse the repository at this point in the history
  • Loading branch information
pling-scottlogic committed Jan 10, 2024
1 parent 2c9d0be commit 8b9b736
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@ jobs:
uses: actions/checkout@v3
- name: Install Node & dependencies
uses: ./.github/actions/setup-vuu-ui
- name: Start layout server
run: |
cd ./layout-server
mvn spring-boot:run &
- name: Run end-to-end tests in Chrome
uses: cypress-io/github-action@bd9dda317ed2d4fbffc808ba6cdcd27823b2a13b
with:
install: false
working-directory: ./vuu-ui
browser: chrome
build: npm run showcase:build
start: npm run showcase:preview
start: npm run showcase:preview, npm run layout-server
wait-on: http://localhost:4173, http://localhost:8081
- name: Run end-to-end tests in Edge
uses: cypress-io/github-action@bd9dda317ed2d4fbffc808ba6cdcd27823b2a13b
Expand All @@ -53,7 +49,7 @@ jobs:
working-directory: ./vuu-ui
browser: edge
build: npm run showcase:build
start: npm run showcase:preview
start: npm run showcase:preview, npm run layout-server
wait-on: http://localhost:4173, http://localhost:8081

# ensure the vuu example still builds
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 8b9b736

Please sign in to comment.