Skip to content

Commit 3ae2a60

Browse files
author
Brandon Duffany
committed
Fix sketch test
1 parent bbd663c commit 3ae2a60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sketch/test_sketch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def test_ports_dropdown(self):
5858
def test_run_with_no_port(self):
5959
"""Makes sure that there is an error when we attempt to run with no
6060
port selected."""
61-
flash_button = self.get_element(By.ID, "usbflash")
61+
flash_button = self.get_element(By.ID, "uploadusb")
6262
flash_button.click()
6363
WebDriverWait(self.driver, FLASH_TIMEOUT).until(
64-
expected_condiditons.text_to_be_present_in_element(
64+
expected_conditions.text_to_be_present_in_element(
6565
(By.ID, "operation_output"), "Please select a valid port or enable the plugin!!"))

0 commit comments

Comments
 (0)