Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pages/base_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ def go_to_element(self, element):
def check_expected_link(self, url):
with allure.step(f'Check url is present: {url}'):
try:
# return Wait(self.driver, self.timeout).until(
# EC.url_to_be(url), message=f"Can't find element by locator {url}")
return Wait(self.driver, self.timeout).until(
EC.url_to_be(url), message=f"Can't find element by locator {url}")
lambda d: "brainup.site" in d.current_url and "/groups" in d.current_url
)
except Exception as ex:
print(ex)
return Wait(self.driver, self.timeout).until(
Expand Down
Loading