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:
parent
dbc7d87f4b
commit
95f23961dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user