Skip to content

Updates force password change flow to use Cypher first, falling back to dbms function call #113

Updates force password change flow to use Cypher first, falling back to dbms function call

Updates force password change flow to use Cypher first, falling back to dbms function call #113

Workflow file for this run

name: 'Browser PR single sign on tests'
on:
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm -g install yarn serve
- run: yarn install --frozen-lockfile
- run: yarn build
- run: sudo apt-get update
- run: sudo apt-get -y install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb
- name: Setup Keycloak and Neo4j
working-directory: ./docker/sso-keycloak
run: docker compose -f docker-compose.yml up -d --remove-orphans
- name: Wait for Keycloak and Neo4j config containers to finish
run: sleep 90
- run: npx serve -l 8080 dist & npm run wait-on-neo4j && yarn wait-on-dev
- run: echo "Servers ready!"
- run: yarn e2e-sso
- name: Upload test screenshots
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-screenshots-sso
path: |
./e2e_tests/screenshots
./e2e_tests/videos