Skip to content

Commit

Permalink
Merge commit '87ba8278c7dad3bf4293e052896c825e98e774f9' into client_c…
Browse files Browse the repository at this point in the history
…onnections
  • Loading branch information
rodja committed Jan 8, 2023
2 parents f2db563 + 87ba827 commit eb52558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def capabilities(capabilities: Dict) -> Dict:

@pytest.fixture
def selenium(selenium: webdriver.Chrome) -> webdriver.Chrome:
selenium.implicitly_wait(0.5)
selenium.implicitly_wait(2)
selenium.set_page_load_timeout(2)
return selenium

Expand Down
2 changes: 2 additions & 0 deletions tests/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def should_contain(self, text: str) -> None:
def should_not_contain(self, text: str) -> None:
assert self.selenium.title != text
with pytest.raises(AssertionError):
self.selenium.implicitly_wait(0.5)
self.find(text)
self.selenium.implicitly_wait(2)

def click(self, target_text: str) -> WebElement:
element = self.find(target_text)
Expand Down

0 comments on commit eb52558

Please sign in to comment.