From 66bc59de1dff67f835543d1bfc3b41fc4393c2fa Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 24 May 2022 23:51:59 -0700 Subject: [PATCH] Have desktop_browser run disable_firefox_studies I'd prefer not to do this, but I don't see a better way to deal with the stupid 'welcome' screens. I'm not maintaining needles to click them away forever. Signed-off-by: Adam Williamson --- tests/desktop_browser.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/desktop_browser.pm b/tests/desktop_browser.pm index 686dd866..bff348fa 100644 --- a/tests/desktop_browser.pm +++ b/tests/desktop_browser.pm @@ -28,6 +28,10 @@ sub _open_new_tab { sub run { my $self = shift; check_desktop; + # switch to a VT and disable things that can mess with the test + $self->root_console(tty=>3); + disable_firefox_studies; + desktop_vt; send_key 'super'; # wait out animations wait_still_screen(stilltime=>4, similarity_level=>45);