forked from browserstack/node-js-playwright-browserstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaywright.config.js
More file actions
31 lines (29 loc) · 732 Bytes
/
playwright.config.js
File metadata and controls
31 lines (29 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// This is a sample config for what users might be running locally
const config = {
testDir: './tests',
testMatch: '**/bstack_test*.js',
/* Maximum time one test can run for. */
timeout: 90 * 1000,
expect: {
/**
* Maximum time expect() should wait for the condition to be met.
* For example in `await expect(locator).toHaveText();`
*/
timeout: 5000,
},
/* tests in parallel */
workers: 1,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'line',
/* Configure projects for major browsers */
projects: [
{
name: 'chrome',
use: {
browserName: 'chromium',
channel: 'chrome',
},
},
],
};
module.exports = config;