Skip to content

Commit 95f960c

Browse files
Hani YacoubHani Yacoub
authored andcommitted
adding time sleep and a logging
1 parent 29e9f8f commit 95f960c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/address_bar_and_search/test_sap_google_adclick.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
import time
23

34
import pytest
@@ -36,12 +37,14 @@ def test_sap_google_adclick(driver: Firefox):
3637

3738
# Click on Raw JSON, switch tab and click on Raw Data
3839
about_telemetry = AboutTelemetry(driver).open()
40+
time.sleep(2)
3941
about_telemetry.get_element("category-raw").click()
4042
about_telemetry.switch_tab()
4143
about_telemetry.get_element("rawdata-tab").click()
4244

4345
# Verify pings are recorded
4446
json_data = u.decode_url(driver)
47+
logging.warn(json_data)
4548
assert u.assert_json_value(
4649
json_data, '$..keyedScalars.["browser.search.adclicks.urlbar"].["google:tagged"]', 1
4750
)

0 commit comments

Comments
 (0)