2021-06-07 03:09:53 +03:00
|
|
|
/**
|
|
|
|
* Copyright (c) Microsoft Corporation.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2021-09-03 21:22:25 +03:00
|
|
|
import { Config } from './stable-test-runner';
|
2021-06-07 03:09:53 +03:00
|
|
|
|
|
|
|
const config: Config = {
|
|
|
|
testDir: __dirname,
|
2021-09-03 21:22:25 +03:00
|
|
|
testIgnore: ['assets/**', 'stable-test-runner/**'],
|
2021-06-09 01:52:08 +03:00
|
|
|
timeout: 30000,
|
2021-06-07 03:09:53 +03:00
|
|
|
forbidOnly: !!process.env.CI,
|
2021-06-17 02:05:30 +03:00
|
|
|
preserveOutput: process.env.CI ? 'failures-only' : 'always',
|
2021-06-07 03:09:53 +03:00
|
|
|
projects: [
|
|
|
|
{ name: 'playwright-test' },
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|