nixosTests.lomiri.desktop-appinteractions: Switch Content-Hub test to using Gallery app instead

OPNA2608 8ae6f582 5063462b

+8 -7
+8 -7
nixos/tests/lomiri.nix
··· 614 614 machine.send_key("ret") 615 615 616 616 # Peers should be loaded 617 - wait_for_text("Morph") # or Gallery, but Morph is already packaged 617 + wait_for_text("Gallery") 618 618 machine.screenshot("settings_lomiri-content-hub_peers") 619 619 620 - # Select Morph as content source 621 - mouse_click(340, 80) 620 + # Select Gallery as content source 621 + mouse_click(460, 80) 622 622 623 - # Expect Morph to be brought into the foreground, with its Downloads page open 624 - wait_for_text("No downloads") 623 + # Expect Gallery to be brought into the foreground, with its sharing page open 624 + wait_for_text("Photos") 625 625 626 626 # If lomiri-content-hub encounters a problem, it may have crashed the original application issuing the request. 627 627 # Check that it's still alive ··· 630 630 machine.screenshot("lomiri-content-hub_exchange") 631 631 632 632 # Testing any more would require more applications & setup, the fact that it's already being attempted is a good sign 633 - machine.send_key("esc") 633 + machine.send_key("tab") 634 + machine.send_key("ret") 634 635 635 - machine.sleep(2) # sleep a tiny bit so morph can close & the focus can return to LSS 636 + machine.sleep(2) # sleep a tiny bit so gallery can close & the focus can return to LSS 636 637 machine.send_key("alt-f4") 637 638 ''; 638 639 }