mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 14:42:01 -03:30
nextcloud_tests.py: Increase timeout for NCP settings toggle test
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
e78c39cbc8
commit
10867d1914
1
.github/workflows/build-sd-images.yml
vendored
1
.github/workflows/build-sd-images.yml
vendored
@ -177,7 +177,6 @@ jobs:
|
||||
sudo rm -rf raspbian_root
|
||||
. ./build/buildlib.sh
|
||||
mount_raspbian "ncp.img"
|
||||
[[ -f raspbian_root/etc/machine-id ]] || sudo systemd-id128 new > ./raspbian_root/etc/machine-id
|
||||
sudo cat raspbian_root/etc/machine-id
|
||||
sudo systemd-id128 new | sudo tee ./raspbian_root/etc/machine-id
|
||||
sudo wget -nv https://github.com/multiarch/qemu-user-static/releases/latest/download/qemu-aarch64-static -O raspbian_root/usr/bin/qemu-aarch64-static
|
||||
|
||||
@ -246,7 +246,7 @@ def test_nextcloud(IP: str, nc_port: str, driver: WebDriver):
|
||||
try:
|
||||
li = next(filter(is_admin_notifications_checkbox, list_items))
|
||||
li.find_element(By.TAG_NAME, "input").click()
|
||||
time.sleep(5)
|
||||
time.sleep(15)
|
||||
wait.until(lambda drv: drv.find_element(By.CSS_SELECTOR, "#nextcloudpi .error-message:not(.hidden)"))
|
||||
error_box = driver.find_element(By.CSS_SELECTOR, "#nextcloudpi .error-message")
|
||||
test.check(False, str(error_box.text))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user