-
Notifications
You must be signed in to change notification settings - Fork 1
/
applitools.config.js
29 lines (23 loc) · 1.29 KB
/
applitools.config.js
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
// This config file specifies how to run visual tests with Applitools.
// It applies to all tests in this project.
module.exports = {
// Concurrency refers to the number of visual checkpoints Applitools will perform in parallel.
// Warning: If you have a free account, then concurrency will be limited to 1.
testConcurrency: 1,
// A batch is the collection of visual checkpoints for a test suite.
// Batches are displayed in the dashboard, so use meaningful names.
batchName: 'Tutorial: Visual Testing with Cypress',
// Applitools can run checkpoints for snapshots against any browser in the Ultrafast Grid.
// This setting defines 5 unique browser configurations to test.
browser: [
// Add 3 desktop browsers with different viewports for cross-browser testing in the Ultrafast Grid.
// Other browsers are also available, like Edge and IE.
{width: 800, height: 600, name: 'chrome'},
{width: 1600, height: 1200, name: 'firefox'},
{width: 1024, height: 768, name: 'safari'},
// Add 2 mobile emulation devices with different orientations for cross-browser testing in the Ultrafast Grid.
// Other mobile devices are available, including iOS.
{deviceName: 'Pixel 2', screenOrientation: 'portrait'},
{deviceName: 'Nexus 10', screenOrientation: 'landscape'},
]
}