]>
Commit | Line | Data |
---|---|---|
20effc67 TL |
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'); | |
1e59de90 | 6 | const branch = cephRelease[2] === 'dev' ? 'main' : cephRelease[1]; |
a4b75251 TL |
7 | module.exports = { |
8 | appName: 'Ceph Dashboard', | |
20effc67 | 9 | batchId: process.env.APPLITOOLS_BATCH_ID, |
a4b75251 TL |
10 | apiKey: process.env.APPLITOOLS_API_KEY, |
11 | browser: [ | |
12 | { width: 1920, height: 1080, name: 'chrome' }, | |
1e59de90 | 13 | { width: 1920, height: 1080, name: 'firefox' } |
a4b75251 | 14 | ], |
20effc67 | 15 | showLogs: false, |
a4b75251 TL |
16 | saveDebugData: true, |
17 | failCypressOnDiff: true, | |
20effc67 TL |
18 | concurrency: 4, |
19 | baselineBranchName: branch | |
a4b75251 | 20 | }; |