fix: change order of webdriver timeout checks (#22698)

This commit is contained in:
Elizabeth Thompson
2023-01-17 10:00:51 -08:00
committed by GitHub
parent edcbf597f5
commit 0a2fc9cdde
2 changed files with 9 additions and 6 deletions

View File

@@ -180,7 +180,7 @@ class TestWebDriverProxy(SupersetTestCase):
)
url = get_url_path("Superset.slice", slice_id=1, standalone="true")
webdriver.get_screenshot(url, "chart-container", user=user)
assert mock_webdriver_wait.call_args_list[1] == call(ANY, 15)
assert mock_webdriver_wait.call_args_list[2] == call(ANY, 15)
@patch("superset.utils.webdriver.WebDriverWait")
@patch("superset.utils.webdriver.firefox")