Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 800ba1c

Browse files
committed
Add: Print Chrome debug log.
1 parent 73b0e8a commit 800ba1c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

runestone/activecode/test/test_activecode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ def test_sql_activecode(selenium_utils_get):
126126
t2 = find_ac(selenium_utils_get, div_id)
127127
click_run(selenium_utils_get, t2)
128128
# Some hacky debug code to try and understand why this fails on Github actions.
129+
for _ in selenium_utils_get.driver.get_log("browser"):
130+
print(_)
129131
try:
130132
selenium_utils_get.wait.until(EC.text_to_be_present_in_element((By.ID, f"{div_id}_stdout"), "You"))
131133
except:

0 commit comments

Comments
 (0)