summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/setup/WebDriverThread.java
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/setup/WebDriverThread.java')
-rw-r--r--integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/setup/WebDriverThread.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/setup/WebDriverThread.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/setup/WebDriverThread.java
index 4d08e846e8..a24c21dab8 100644
--- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/setup/WebDriverThread.java
+++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/setup/WebDriverThread.java
@@ -104,7 +104,9 @@ public class WebDriverThread {
//firefoxProfile.setPreference("browser.download.dir", config.getContainerDownloadAutomationFolder());
//firefoxProfile.setPreference("app.update.notifyDuringDownload", false);
//firefoxProfile.setPreference("browser.download.lastDir", config.getContainerDownloadAutomationFolder());
- firefoxProfile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/octet-stream, application/xml, text/plain, text/xml, image/jpeg");
+ final String contentType = "application/zip, application/octet-stream, application/xml, text/plain, text/xml, image/jpeg";
+ firefoxProfile.setPreference("browser.helperApps.neverAsk.saveToDisk", contentType);
+ firefoxProfile.setPreference("browser.helperApps.neverAsk.openFile", contentType);
firefoxProfile.setPreference("network.proxy.type", 4);
firefoxProfile.setAcceptUntrustedCertificates(true);
firefoxProfile.setAssumeUntrustedCertificateIssuer(true);