mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix ui tests with the external plugins
This commit is contained in:
parent
74fe9d5c16
commit
9ff64426b7
|
@ -901,6 +901,14 @@ try:
|
|||
driver, By.XPATH, "//input[@type='file' and @name='file']"
|
||||
).send_keys(join(Path.cwd(), "test.zip"))
|
||||
|
||||
access_page(
|
||||
driver,
|
||||
driver_wait,
|
||||
"//div[@data-plugins-upload='']//button[@type='submit']",
|
||||
"plugins",
|
||||
False,
|
||||
)
|
||||
|
||||
print(
|
||||
"The bad plugin has been rejected, trying to add a good plugin ...",
|
||||
flush=True,
|
||||
|
|
Loading…
Reference in a new issue