]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/applitools.config.js
4aaedf23e5aecdf057eb7a3c875d696cd67420d8
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / applitools.config.js
1 const fs = require('fs');
2
3 // Read the contents of the ceph_release file to retrieve
4 // the branch
5 const cephRelease = fs.readFileSync('../../../../ceph_release', 'utf8').split('\n');
6 const branch = cephRelease[2] === 'dev' ? 'master' : cephRelease[1];
7 module.exports = {
8 appName: 'Ceph Dashboard',
9 batchId: process.env.APPLITOOLS_BATCH_ID,
10 apiKey: process.env.APPLITOOLS_API_KEY,
11 browser: [
12 { width: 1920, height: 1080, name: 'chrome' },
13 { width: 1920, height: 1080, name: 'firefox' },
14 { width: 800, height: 600, name: 'chrome' },
15 { width: 800, height: 600, name: 'firefox' }
16 ],
17 showLogs: false,
18 saveDebugData: true,
19 failCypressOnDiff: true,
20 concurrency: 4,
21 baselineBranchName: branch
22 };