Skip to content

Commit

Permalink
Merge pull request #920
Browse files Browse the repository at this point in the history
webui: set some options on chromedriver
  • Loading branch information
arogge committed Sep 10, 2021
2 parents 95d5d65 + 3ae3d3d commit 8dbeb36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -95,6 +95,7 @@ and since Bareos version 20 this project adheres to [Semantic Versioning](https:
- Windows release package now ships source code as optional component, so there is no need for a debug-package anymore [PR #858]
- postgresql filedaemon plugin: switched from psycopg2 to pg8000, dropped support for python2.
- version information was moved from core/cmake/ and webui/cmake/ directories into the toplevel cmake/ directory [PR #861]
- add chromedriver options to improve reliability of selenium tests [PR #920]

### Deprecated

Expand Down Expand Up @@ -196,4 +197,5 @@ and since Bareos version 20 this project adheres to [Semantic Versioning](https:
[PR #914]: https://github.com/bareos/bareos/pull/914
[PR #918]: https://github.com/bareos/bareos/pull/918
[PR #919]: https://github.com/bareos/bareos/pull/919
[PR #920]: https://github.com/bareos/bareos/pull/920
[unreleased]: https://github.com/bareos/bareos/tree/master
6 changes: 6 additions & 0 deletions webui/tests/selenium/webui-selenium-test.py
Expand Up @@ -246,6 +246,12 @@ def setUp(self):
+ "-"
+ SeleniumTest.testname
)
# Set some options to improve reliability
# https://stackoverflow.com/a/55307841/11755457
opt.add_argument("--disable-extensions")
opt.add_argument("--dns-prefetch-disable")
opt.add_argument("--disable-gpu")

# test in headless mode?
if self.chromeheadless:
opt.add_argument("--headless")
Expand Down

0 comments on commit 8dbeb36

Please sign in to comment.