mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-23 11:39:17 +08:00
fixed image_mod test to match demo
This commit is contained in:
parent
503a67aa9d
commit
f122bf24bd
@ -138,6 +138,11 @@ class TestDemo(unittest.TestCase):
|
||||
"image_mod", "cheetah1"))
|
||||
tmp = os.path.join(current_dir, "test/tmp/{}.png".format(
|
||||
random.getrandbits(32)))
|
||||
elem = WebDriverWait(driver, TIMEOUT).until(
|
||||
EC.presence_of_element_located((By.CSS_SELECTOR,
|
||||
".submit"))
|
||||
)
|
||||
elem.click()
|
||||
WebDriverWait(driver, TIMEOUT).until(
|
||||
EC.visibility_of_element_located((By.CSS_SELECTOR,
|
||||
".output_interface["
|
||||
|
Loading…
Reference in New Issue
Block a user