File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
tests/address_bar_and_search Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- import time
1
+ from time import sleep
2
2
3
3
import pytest
4
4
from selenium .webdriver import Firefox
@@ -23,9 +23,9 @@ def test_google_withads_url_bar_us(driver: Firefox):
23
23
util = Utilities ()
24
24
25
25
nav .search ("iphone" )
26
- time . sleep (5 )
26
+ sleep (5 )
27
27
about_telemetry = AboutTelemetry (driver ).open ()
28
- time . sleep (5 )
28
+ sleep (5 )
29
29
30
30
# Click on Raw JSON, switch tab and click on Raw Data
31
31
about_telemetry .get_element ("category-raw" ).click ()
Original file line number Diff line number Diff line change 1
- import time
1
+ from time import sleep
2
2
3
+ import pytest
3
4
from selenium .webdriver import Firefox
4
5
5
6
from modules .browser_object_navigation import Navigation
@@ -24,11 +25,11 @@ def test_sap_google_adclick(driver: Firefox):
24
25
# search and click on an ad
25
26
nav .search ("iphone" )
26
27
nav .get_element ("search-result" ).click ()
27
- time . sleep (2 )
28
+ sleep (2 )
28
29
29
30
# Click on Raw JSON, switch tab and click on Raw Data
30
31
about_telemetry = AboutTelemetry (driver ).open ()
31
- time . sleep (2 )
32
+ sleep (2 )
32
33
about_telemetry .get_element ("category-raw" ).click ()
33
34
about_telemetry .switch_to_new_tab ()
34
35
about_telemetry .get_element ("rawdata-tab" ).click ()
You can’t perform that action at this time.
0 commit comments