Skip to content

Commit b201a87

Browse files
committed
fix style reversion, failing unstable
1 parent f8115d3 commit b201a87

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

tests/address_bar_and_search/test_google_withads_url_bar_us.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import time
1+
from time import sleep
22

33
import pytest
44
from selenium.webdriver import Firefox
@@ -23,9 +23,9 @@ def test_google_withads_url_bar_us(driver: Firefox):
2323
util = Utilities()
2424

2525
nav.search("iphone")
26-
time.sleep(5)
26+
sleep(5)
2727
about_telemetry = AboutTelemetry(driver).open()
28-
time.sleep(5)
28+
sleep(5)
2929

3030
# Click on Raw JSON, switch tab and click on Raw Data
3131
about_telemetry.get_element("category-raw").click()

tests/address_bar_and_search/test_sap_google_adclick.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import time
1+
from time import sleep
22

3+
import pytest
34
from selenium.webdriver import Firefox
45

56
from modules.browser_object_navigation import Navigation
@@ -24,11 +25,11 @@ def test_sap_google_adclick(driver: Firefox):
2425
# search and click on an ad
2526
nav.search("iphone")
2627
nav.get_element("search-result").click()
27-
time.sleep(2)
28+
sleep(2)
2829

2930
# Click on Raw JSON, switch tab and click on Raw Data
3031
about_telemetry = AboutTelemetry(driver).open()
31-
time.sleep(2)
32+
sleep(2)
3233
about_telemetry.get_element("category-raw").click()
3334
about_telemetry.switch_to_new_tab()
3435
about_telemetry.get_element("rawdata-tab").click()

0 commit comments

Comments
 (0)