Don't use example.org in tests

The text at example.org was recently changed, which breaks the emulator
tests. There is now a request there to "Avoid use in operations", so
using something else in the tests seems like the friendly thing to do.
This commit is contained in:
ash 2025-10-16 21:20:27 +01:00
parent 27696cac81
commit 08bdaceecf

View file

@ -105,14 +105,14 @@ def run(d):
# Verify that *-open* commands work # Verify that *-open* commands work
for opener in OPENERS: for opener in OPENERS:
d(f'input text "{opener} https://example.org"') d(f'input text "{opener} https://nix-on-droid.unboiled.info/README.txt"')
d.ui.press('enter') d.ui.press('enter')
screenshot(d, f'{opener}-opened') screenshot(d, f'{opener}-opened')
wait_for(d, 'This domain is for use in illustrative') wait_for(d, 'This is Nix-on-Droid.')
screenshot(d, f'{opener}-waited') screenshot(d, f'{opener}-waited')
d.ui.press('back') d.ui.press('back')
screenshot(d, f'{opener}-back') screenshot(d, f'{opener}-back')
wait_for(d, f'{opener} https://example.org') wait_for(d, f'{opener} https://nix-on-droid.unboiled.info/README.txt')
# test termux-wake-lock/termux-wake-unlock # test termux-wake-lock/termux-wake-unlock
d.ui.open_notification() d.ui.open_notification()