infra(channel): add edge stable bot (#5825)

This commit is contained in:
Pavel Feldman 2021-03-16 07:00:52 +08:00 committed by GitHub
parent 95affe9387
commit ea32ad2b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 2 deletions

View File

@ -294,3 +294,32 @@ jobs:
with:
name: chrome-stable-test-results
path: test-results
edge_stable:
name: "Edge Stable (Win)"
runs-on: windows-latest
steps:
- name: Install Media Pack
shell: powershell
run: Install-WindowsFeature Server-Media-Foundation
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: npm run build
# This only created problems, should we move ffmpeg back into npm?
- run: node lib/cli/cli install ffmpeg
- run: npx folio test/ --workers=1 --forbid-only --global-timeout=5400000 --retries=3 --reporter=dot,json
shell: bash
env:
BROWSER: "chromium"
PW_CHROMIUM_CHANNEL: "msedge"
FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"
- uses: actions/upload-artifact@v1
if: ${{ always() }}
with:
name: edge-stable-test-results
path: test-results

View File

@ -178,7 +178,7 @@ export abstract class BrowserType extends SdkObject {
}
if (!executable) {
// We can only validate dependencies for bundled browsers.
// Only validate dependencies for bundled browsers.
await validateHostRequirements(this._registry, this._name);
}

View File

@ -50,7 +50,6 @@ fixtures.persistentDownloadsContext.init(async ({ server, launchPersistent, test
{
downloadsPath: testInfo.outputPath(''),
acceptDownloads: true,
channel: browserChannel,
}
);
logOnCI('--- setting content for the page ---');