waiting for allow_button until checking absense

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2019-12-06 10:49:01 +01:00
parent 5ccf1c0377
commit 21d24e7eef
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ class HomeView(BaseView):
dapp_view = self.dapp_tab_button.click()
dapp_view.open_url(test_dapp_url)
status_test_dapp = dapp_view.get_status_test_dapp_view()
status_test_dapp.allow_button.wait_for_element(20)
if allow_all:
status_test_dapp.allow_button.click_until_absense_of_element(status_test_dapp.allow_button)
else: