Skip to content

Commit 8b8ab6a

Browse files
committed
tests progress bar visibility
1 parent d7aec76 commit 8b8ab6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/sketch/test_sketch.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ def test_verify_code(self):
3737
compile_button = self.driver.find_element_by_id("compile")
3838
compile_button.click()
3939

40+
# test progress bar is visible
41+
progress_bar = self.get_element(By.ID, 'progress')
42+
assert progress_bar.is_displayed()
43+
4044
WebDriverWait(self.driver, VERIFY_TIMEOUT).until(
4145
expected_conditions.text_to_be_present_in_element(
4246
(By.ID, "operation_output"), "Verification Successful!")
@@ -112,3 +116,5 @@ def test_verify_deletion(self):
112116
confirm_delete_button.click()
113117
self.driver.refresh()
114118
assert 'test_file.txt' not in self.driver.page_source
119+
120+

0 commit comments

Comments
 (0)