+const fs = require('fs')
+var branch = new String();
+
+// Read the contents of the ceph_release file to retrieve
+// the branch
+fs.readFile('../../../../ceph_release', (_, data) => {
+ branch = data.toString().split('\n')[1];
+});
+
module.exports = {
appName: 'Ceph Dashboard',
batchId: process.env.APPLITOOLS_BATCH_ID,
{ width: 800, height: 600, name: 'chrome' },
{ width: 800, height: 600, name: 'firefox' }
],
- showLogs: true,
+ showLogs: false,
saveDebugData: true,
failCypressOnDiff: true,
- concurrency: 4
+ concurrency: 4,
+ baselineBranchName: branch
};