mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix xpath in plugins_page.py for web UI tests
This commit is contained in:
parent
d652eac592
commit
9fe98c1650
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ try:
|
|||
sleep(5)
|
||||
|
||||
misc_disallowed_count = safe_get_element(
|
||||
DRIVER, By.XPATH, '//p[@class="core-card-metrics-name" and text()="DISALLOWED METHODS"]/following-sibling::h5[@data-count=""]'
|
||||
DRIVER, By.XPATH, '//p[@class="core-card-metrics-name" and contains(text(), "DISALLOWED METHODS")]/following-sibling::h5[@data-count=""]'
|
||||
)
|
||||
assert isinstance(misc_disallowed_count, WebElement), "Miscellaneous disallowed count is not a WebElement"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue