Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bug: Fails to detect the text on Xubuntu live image desktop icons #29

Open
ali1234 opened this issue May 18, 2024 · 0 comments
Open

bug: Fails to detect the text on Xubuntu live image desktop icons #29

ali1234 opened this issue May 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ali1234
Copy link
Contributor

ali1234 commented May 18, 2024

Testcase:

# Boot to live environment - Xubuntu 24.04
# Based on Ubuntu 24.04 test case

function test_setup() {
    # No setup required
    echo "No setup required"
}

function test_post_boot_grub() {
    # Wait a while for EUFI or BIOS to pass
    # We could skip having this function, but it's nice to have
    # So we have the opportunity to click that stupid dialog
    qt_wait_for_seconds 10
    # Wait for the grub menu
    qt_wait_for_text "$FUNCNAME" "$text_console_gnu_grub" 10 5
    qt_screenshot_ppm "$FUNCNAME"
    # Press enter on the 'Try or install Ubuntu' GRUB option
    qt_send_key "return"
}

function test_installer_initial_load() {
    # Wait for the installer to load
    qt_wait_for_text "$FUNCNAME" "Install Xubuntu" 10 10
}

function test_power_off_vm() {
    # send power off
    qt_poweroff_vm
}

function test_boot_to_live_environment() {
    test_setup
    test_post_boot_grub
    test_installer_initial_load
    test_power_off_vm
}

Screenshot output:

image

Text detected in this screenshot:

we A XO @) 12Mmayo201

a
@ali1234 ali1234 added the bug Something isn't working label May 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant