freeipa/install/ui/Gruntfile.js
Alexander Bokovoy ebac8f6f9b Use system-wide chromium for webui tests
Fixes: https://pagure.io/freeipa/issue/9347

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
2023-03-21 16:54:28 +01:00

25 lines
620 B
JavaScript

module.exports = function(grunt) {
grunt.initConfig({
qunit_junit: {
options: {}
},
qunit: {
options: {
puppeteer: {
executablePath: '/usr/bin/chromium-browser',
args: [
"--allow-file-access-from-files"
]
},
},
all: [
'test/all_tests.html'
]
}
});
grunt.loadNpmTasks('grunt-qunit-junit');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.registerTask('test', ['qunit_junit', 'qunit']);
};