From 1c306c07b3e99ab79b967ead32f9af7b8672a7ef Mon Sep 17 00:00:00 2001 From: ash Date: Thu, 16 Oct 2025 21:20:27 +0100 Subject: [PATCH] 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. --- tests/emulator/android_integration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/emulator/android_integration.py b/tests/emulator/android_integration.py index df4e2e3..442e6cc 100644 --- a/tests/emulator/android_integration.py +++ b/tests/emulator/android_integration.py @@ -105,14 +105,14 @@ def run(d): # Verify that *-open* commands work 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') 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') d.ui.press('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 d.ui.open_notification()