From ebac8f6f9b1d8e92e338415e17b865f00179ceb4 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mar 21 2023 15:54:28 +0000 Subject: Use system-wide chromium for webui tests Fixes: https://pagure.io/freeipa/issue/9347 Signed-off-by: Alexander Bokovoy Reviewed-By: Francisco Trivino --- diff --git a/install/ui/Gruntfile.js b/install/ui/Gruntfile.js index f39d192..e1a47da 100644 --- a/install/ui/Gruntfile.js +++ b/install/ui/Gruntfile.js @@ -6,6 +6,7 @@ module.exports = function(grunt) { qunit: { options: { puppeteer: { + executablePath: '/usr/bin/chromium-browser', args: [ "--allow-file-access-from-files" ] diff --git a/ipatests/azure/templates/prepare-webui-fedora.yml b/ipatests/azure/templates/prepare-webui-fedora.yml index 3b76dca..9e2d936 100644 --- a/ipatests/azure/templates/prepare-webui-fedora.yml +++ b/ipatests/azure/templates/prepare-webui-fedora.yml @@ -1,5 +1,5 @@ steps: - script: | set -e - sudo dnf -y install npm fontconfig gtk3 atk at-spi2-atk + sudo dnf -y install npm fontconfig gtk3 atk at-spi2-atk chromium displayName: Install WebUI Unit tests prerequisites