diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/pybind/mgr/dashboard/frontend/applitools.config.js | |
parent | Initial commit. (diff) | |
download | ceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.tar.xz ceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/applitools.config.js')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/applitools.config.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/applitools.config.js b/src/pybind/mgr/dashboard/frontend/applitools.config.js new file mode 100644 index 000000000..2bf52651e --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/applitools.config.js @@ -0,0 +1,21 @@ +const fs = require('fs'); + +// Read the contents of the ceph_release file to retrieve +// the branch +const cephRelease = fs.readFileSync('../../../../ceph_release', 'utf8').split('\n'); +const branch = cephRelease[2] === 'dev' ? 'master' : cephRelease[1]; +module.exports = { + appName: 'Ceph Dashboard', + apiKey: process.env.APPLITOOLS_API_KEY, + browser: [ + { width: 1920, height: 1080, name: 'chrome' }, + { width: 1920, height: 1080, name: 'firefox' }, + { width: 800, height: 600, name: 'chrome' }, + { width: 800, height: 600, name: 'firefox' } + ], + showLogs: false, + saveDebugData: true, + failCypressOnDiff: true, + concurrency: 4, + baselineBranchName: branch +}; |