Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(rpc): add a channel bot (#2773)
Pavel Feldman10a9eef83289
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 538a191fd5..6ab77f9076 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -328,9 +328,10 @@ jobs:# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR# Wrap `npm run` in a subshell to redirect STDERR to file.# Enable core dumps in the subshell.- - run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && HEADLESS=false npm run test -- --line-break=100 2>./headful-linux-testrun.log"+ - run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run test -- --line-break=100 2>./headful-linux-testrun.log"env:DEBUG: "*"+ HEADLESS: "false"- uses: actions/upload-artifact@v1if: failure()with:@@ -341,3 +342,42 @@ jobs:with:name: headful-linux-coredumpspath: coredumps++ channel_linux:+ name: "Channel Chromium Linux"+ runs-on: ubuntu-18.04+ steps:+ - uses: actions/checkout@v2+ - uses: actions/setup-node@v1+ with:+ node-version: 10+ - uses: microsoft/playwright-github-action@v1+ - run: npm ci+ - run: mkdir -p coredumps+ # Set core dump file name pattern+ - run: sudo bash -c 'echo "$(pwd -P)/coredumps/core-pid_%p.dump" > /proc/sys/kernel/core_pattern'+ # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR+ # Wrap `npm run` in a subshell to redirect STDERR to file.+ # Enable core dumps in the subshell.+ - run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run ctest 2>./channel-linux-testrun.log"+ env:+ DEBUG: "*"+ PWCHANNEL: "1"+ # Ensure output folder exists just in case it was not created by the test run.+ - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-chromium'), {recursive:true})"+ if: failure()+ - uses: actions/upload-artifact@v1+ if: failure()+ with:+ name: channel-linux-output+ path: test/output-channel+ - uses: actions/upload-artifact@v1+ if: failure()+ with:+ name: channel-linux-testrun.log+ path: channel-linux-testrun.log+ - uses: actions/upload-artifact@v1+ if: failure()+ with:+ name: channel-linux-coredumps+ path: coredumps