Skip to content

Commit

Permalink
nextcloud_tests.py: Increase timeout for NCP settings toggle test
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Knöppler <[email protected]>
  • Loading branch information
theCalcaholic committed Oct 21, 2023
1 parent e78c39c commit 10867d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-sd-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/nextcloud_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 10867d1

Please sign in to comment.