[ADF-4195] Automation tests for SSO login with implicitFlow false (#4410)

* [ADF-4195] Automation tests for SSO login with implicitFlow false

* rebase

* fix test sso implicit flow false

* lint fix

* fix test
This commit is contained in:
Marouan Bentaleb
2019-03-19 15:00:27 +00:00
committed by Eugenio Romano
parent a04077679c
commit 355971e0ad
5 changed files with 41 additions and 9 deletions

View File

@@ -35,9 +35,9 @@ if (process.env.NAME_TEST) {
let args_options = [];
if (BROWSER_RUN === 'true') {
args_options = ['--incognito', '--window-size=1366,768', '--disable-gpu'];
args_options = ['--incognito', '--window-size=1366,768', '--disable-gpu', '--disable-web-security'];
} else {
args_options = ['--incognito', '--headless', '--window-size=1366,768', '--disable-gpu'];
args_options = ['--incognito', '--headless', '--window-size=1366,768', '--disable-gpu', '--disable-web-security'];
}
let downloadFolder = path.join(__dirname, 'e2e/downloads');
@@ -94,7 +94,7 @@ saveScreenshots = async function (alfrescoJsApi, retryCount) {
'autoRename': true
}
);
}catch(error){
} catch (error) {
console.log(error);
}
}