Skip to content

Commit f6d5579

Browse files
fix: use guest mode in chrome (#448)
This PR fixes the issue where the test execution in chrome were interrupted by unwanted prompts like "Change your password". Using "Guest" mode disables those functionality in chrome. Ref: https://splunk.atlassian.net/browse/ADDON-81321
1 parent 16eb68f commit f6d5579

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest_splunk_addon_ui_smartx/base_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def get_local_chrome_opts(headless_run):
156156
chrome_opts.add_argument("--ignore-certificate-errors")
157157
chrome_opts.add_argument("--disable-dev-shm-usage")
158158
chrome_opts.add_argument("--window-size=1280,768")
159+
chrome_opts.add_argument("--guest")
159160
if headless_run:
160161
chrome_opts.add_argument("--headless")
161162
return chrome_opts

0 commit comments

Comments
 (0)