mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: upload test results for android bots (#6121)
This commit is contained in:
parent
6ff209cdb3
commit
ee44fbe2bc
@ -23,6 +23,7 @@ import { AndroidEnv, AndroidPageEnv } from './androidEnv';
|
|||||||
|
|
||||||
const config: folio.Config = {
|
const config: folio.Config = {
|
||||||
testDir: path.join(__dirname, '..'),
|
testDir: path.join(__dirname, '..'),
|
||||||
|
outputDir: path.join(__dirname, '..', '..', 'test-results'),
|
||||||
timeout: 120000,
|
timeout: 120000,
|
||||||
globalTimeout: 7200000,
|
globalTimeout: 7200000,
|
||||||
workers: 1,
|
workers: 1,
|
||||||
@ -36,7 +37,7 @@ folio.setConfig(config);
|
|||||||
if (process.env.CI) {
|
if (process.env.CI) {
|
||||||
folio.setReporters([
|
folio.setReporters([
|
||||||
new folio.reporters.dot(),
|
new folio.reporters.dot(),
|
||||||
new folio.reporters.json({ outputFile: path.join(__dirname, '..', 'test-results', 'report.json') }),
|
new folio.reporters.json({ outputFile: path.join(__dirname, '..', '..', 'test-results', 'report.json') }),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ import { CLIEnv } from './cliEnv';
|
|||||||
|
|
||||||
const config: folio.Config = {
|
const config: folio.Config = {
|
||||||
testDir: path.join(__dirname, '..'),
|
testDir: path.join(__dirname, '..'),
|
||||||
|
outputDir: path.join(__dirname, '..', '..', 'test-results'),
|
||||||
timeout: process.env.PWVIDEO ? 60000 : 30000,
|
timeout: process.env.PWVIDEO ? 60000 : 30000,
|
||||||
globalTimeout: 5400000,
|
globalTimeout: 5400000,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user