From 11fee910828bb15270b22bb38e0f7da7f6e08ef0 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Wed, 23 Aug 2023 20:54:27 -0700 Subject: [PATCH] use tty3 instead of tty1 --- tests/freeipa_client.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/freeipa_client.pm b/tests/freeipa_client.pm index c54881ab..e8c6d938 100644 --- a/tests/freeipa_client.pm +++ b/tests/freeipa_client.pm @@ -5,13 +5,13 @@ use utils; sub run { my $self = shift; - # switch to tty1 (we're usually there already, but just in case - # we're carrying on from a failed freeipa_webui that didn't fail - # at tty1) my $ipa_domain = 'test.openqa.rockylinux.org'; my $ipa_realm = 'TEST.OPENQA.ROCKYLINUX.ORG'; - send_key "ctrl-alt-f1"; + + # Rocky SUT is graphical so stay on/force tty3 do NOT switch to tty1 + $self->root_console(tty => 3); wait_still_screen 1; + # check domain is listed in 'realm list' validate_script_output 'realm list', sub { $_ =~ m/domain-name: test\.openqa\.rockylinux\.org.*configured: kerberos-member/s }; # check we can see the admin user in getent