Skip to content

Commit

Permalink
Update test.sh, test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaniska244 authored Jan 28, 2025
1 parent 4d77194 commit 130e2c8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/universal/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@ check "zsh" zsh --version
check "RAILS_DEVELOPMENT_HOSTS is set correctly" echo $RAILS_DEVELOPMENT_HOSTS | grep ".githubpreview.dev,.preview.app.github.dev,.app.github.dev"

# Check that we can run a puppeteer node app.
cd /workspaces/images/src/universal/test-project/node_modules/puppeteer/.local-chromium/
pwd
ls -lha
cd /workspaces/images/src/universal/test-project/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/
sudo chown root:root chrome_sandbox
sudo chmod 4755 chrome_sandbox
sudo cp -p chrome_sandbox /usr/local/sbin/chrome-devel-sandbox
# export CHROME_DEVEL_SANDBOX env variable
export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
cd /workspaces/images/src/universal/test-project/
yarn
check "run-puppeteer" node puppeteer.js

Expand Down

0 comments on commit 130e2c8

Please sign in to comment.