Skip to content

Commit

Permalink
Fix cypress dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrujanaReddy committed Aug 11, 2024
1 parent f4e1d35 commit cfcba43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
POSTGRES_PASSWORD: ${{ secrets.DB_PASSWORD }}
POSTGRES_DATABASE: ${{ secrets.DEV_DATABASE }}
run: |
sudo apt-get update && sudo apt-get install -y xvfb
Xvfb :99 -screen 0 1280x720x24 &
apt-get install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb
docker compose exec app npm install cypress cypress-json-results
docker compose exec app npx cypress run
Expand Down

0 comments on commit cfcba43

Please sign in to comment.