diff --git a/tests/tests.yml b/tests/tests.yml index 893af8c..c39eb8a 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -13,6 +13,8 @@ - cockpit - cockpit-tests - cockpit-dashboard + - cockpit-sosreport + - cockpit-storaged - podman tests: - smoke: diff --git a/tests/verify.sh b/tests/verify.sh index 6c61cc6..0e33a39 100755 --- a/tests/verify.sh +++ b/tests/verify.sh @@ -11,7 +11,7 @@ chcon -Rt container_file_t "$SOURCE" "$LOGS" # create user account for logging in if ! id admin 2>/dev/null; then - useradd admin -G wheel + useradd -c Administrator -G wheel admin echo admin:foobar | chpasswd fi @@ -40,7 +40,16 @@ cp -a /source/test . npm install axe-core chrome-remote-interface sizzle export TEST_OS=fedora-32 -test/verify/check-menu -tv --machine \$HOST:22 --browser \$HOST:9090 +export TEST_AUDIT_NO_SELINUX=1 + +# FIXME: Test{Accounts,Login}.testBasic don't get along with the existing root session (https://github.com/cockpit-project/cockpit/pull/13773) +test/verify/check-accounts -tv --machine \$HOST:22 --browser \$HOST:9090 TestAccounts.{testRootLogin,testUnprivileged} +test/verify/check-login -tv --machine \$HOST:22 --browser \$HOST:9090 TestLogin.{testExpired,testSELinuxRestrictedUser} + +# check-menu is not @nondestructive yet, keep it last +for t in sosreport storage-basic menu; do + test/verify/check-\$t -tv --machine \$HOST:22 --browser \$HOST:9090 +done EOF # reset system changes from verify tests, for running this multiple times in a row