Skip to content

Commit

Permalink
fix(devops): auto roll tests (#3536)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Aug 19, 2020
1 parent a78d83e commit e679b82
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/auto_roll.yml
Expand Up @@ -27,12 +27,11 @@ 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 --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && node test/runner test/ --jobs=1 --forbid-only --timeout=30000 && npm run coverage"
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && node test/runner test/ --jobs=1 --forbid-only --timeout=30000"
env:
BROWSER: ${{ matrix.browser }}
DEBUG: "pw:*,-pw:wrapped*,-pw:test*"
DEBUG_FILE: "testrun.log"
PWCHANNEL: none
FFPATH: ${{ steps.build-browser.outputs.FFPATH }}
WKPATH: ${{ steps.build-browser.outputs.WKPATH }}
- uses: actions/upload-artifact@v1
Expand Down
3 changes: 0 additions & 3 deletions test/base.fixture.ts
Expand Up @@ -152,9 +152,6 @@ registerFixture('toImpl', async ({playwright}, test) => {

registerWorkerFixture('browserType', async ({playwright, browserName}, test) => {
const browserType = playwright[browserName];
const executablePath = getExecutablePath(browserName)
if (executablePath)
browserType._executablePath = executablePath
await test(browserType);
});

Expand Down
2 changes: 1 addition & 1 deletion test/browsertype-basic.spec.ts
Expand Up @@ -18,7 +18,7 @@
import fs from 'fs';
import './base.fixture';

it('browserType.executablePath should work', async({browserType}) => {
it.skip(Boolean(process.env.CRPATH || process.env.FFPATH || process.env.WKPATH))('browserType.executablePath should work', async({browserType}) => {
const executablePath = browserType.executablePath();
expect(fs.existsSync(executablePath)).toBe(true);
expect(fs.realpathSync(executablePath)).toBe(executablePath);
Expand Down

0 comments on commit e679b82

Please sign in to comment.