Skip to content

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

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 #339

Workflow file for this run

name: 'Browser PR e2e 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
strategy:
matrix:
neo4j-version:
- 3.5
- 4.3
- 4.4
- 5
neo4j-edition:
- community
- enterprise
services:
neo4j:
image: neo4j:${{ matrix.neo4j-version }}-${{ matrix.neo4j-edition }}
env:
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
ports:
- 7687:7687
- 7474:7474
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
- run: npx serve -l 8080 dist & npm run wait-on-neo4j && yarn wait-on-dev
- run: echo "Servers ready!"
- run: yarn e2e --env server=${{ matrix.neo4j-version }},browser-password=password,edition=${{ matrix.neo4j-edition }}
- name: Upload test screenshots
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-screenshots-${{ matrix.neo4j-version }}-${{ matrix.neo4j-edition }}
path: |
./e2e_tests/screenshots
./e2e_tests/videos