1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-01 23:57:05 +00:00

QA: wait for first run wizard to display

This commit is contained in:
downtownallday 2024-04-03 12:47:23 -04:00
parent dbc7d87f4b
commit 95f23961dc

View File

@ -98,6 +98,9 @@ class NextcloudAutomation(object):
def close_first_run_wizard(self):
d = self.d
firstrunwiz = d.find_el('#firstrunwizard', throws=False, quiet=True)
if firstrunwiz and not firstrunwiz.is_displayed():
d.say_verbose("wait for first run wizard to display")
d.sleep(1)
if firstrunwiz and firstrunwiz.is_displayed():
d.say_verbose("closing first run wizard")
# ElementNotInteractableException