devops: upload test results for android bots (#6121)

This commit is contained in:
Dmitry Gozman 2021-04-07 08:07:31 -07:00 committed by GitHub
parent 6ff209cdb3
commit ee44fbe2bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ import { AndroidEnv, AndroidPageEnv } from './androidEnv';
const config: folio.Config = {
testDir: path.join(__dirname, '..'),
outputDir: path.join(__dirname, '..', '..', 'test-results'),
timeout: 120000,
globalTimeout: 7200000,
workers: 1,
@ -36,7 +37,7 @@ folio.setConfig(config);
if (process.env.CI) {
folio.setReporters([
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') }),
]);
}

View File

@ -29,6 +29,7 @@ import { CLIEnv } from './cliEnv';
const config: folio.Config = {
testDir: path.join(__dirname, '..'),
outputDir: path.join(__dirname, '..', '..', 'test-results'),
timeout: process.env.PWVIDEO ? 60000 : 30000,
globalTimeout: 5400000,
};