Skip to content

Commit

Permalink
feat(cypress): Add dependencies, running cypress test
Browse files Browse the repository at this point in the history
Signed-off-by: BinhTH-tsdv <[email protected]>
  • Loading branch information
BinhTH-tsdv committed May 15, 2024
1 parent fd1aa3f commit 6b12587
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-and-automation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,25 @@ jobs:
mvn clean install --no-transfer-progress -DRunRestIntegrationTest=true
cd ../
- name: Install Nodejs
run: |
sudo apt-get update
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install nodejs -y
nodejs -v
npm -v
- name: Install Google Chrome
run: |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
google-chrome --version
- name: Install dependencies of running sw360-frontend
run: |
sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb jq
npm i
- name: run cypress
run: |
npx cypress run --browser chrome

0 comments on commit 6b12587

Please sign in to comment.