Skip to content

Commit

Permalink
test switch
Browse files Browse the repository at this point in the history
  • Loading branch information
dou-du committed Aug 30, 2021
1 parent cdfca15 commit 8751c1a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,14 @@ def test_test01(self):

self.driver.save_screenshot("jupyterlab-extension4.png")

switch = self.driver.find_element_by_name('spin')
switch.click()

for i in range(5, 10):
time.sleep(1)
self.driver.save_screenshot("jupyterlab-extension"+str(i)+".png")

test = TestTest01()
test.setup_method('Chrome')
test.test_test01()
test.teardown_method('Chrome')

0 comments on commit 8751c1a

Please sign in to comment.