Skip to content

Commit e79819d

Browse files
committed
timings
1 parent b384764 commit e79819d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

scripts/automated-notebook-run-script.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ def main():
127127
if cell_is_waiting_for_input(driver):
128128
print("Cell requesting input")
129129
actions.send_keys("Test_Name").perform()
130-
time.sleep(0.75)
130+
time.sleep(1.5)
131131
actions.send_keys(Keys.CONTROL, Keys.ENTER)
132-
time.sleep(0.75)
132+
time.sleep(1.5)
133133
actions.move_to_element(focused_cell).perform()
134-
time.sleep(0.75)
134+
time.sleep(1.5)
135135
driver.execute_script("""
136136
var el = document.activeElement;
137137
var evt = new KeyboardEvent('keydown', {
@@ -143,13 +143,8 @@ def main():
143143
});
144144
el.dispatchEvent(evt);
145145
""")
146-
time.sleep(0.75)
147-
os_name = platform.system()
148-
149-
if os_name == "Darwin":
150-
time.sleep(1.5)
151-
elif os_name == "Linux":
152-
time.sleep(0.75)
146+
time.sleep(1.5)
147+
time.sleep(1.5)
153148

154149
elif args.driver == "safari":
155150
print("Running all cells using Shift+Enter...")

0 commit comments

Comments
 (0)