Skip to content

Commit

Permalink
🔧 Close overview in tests on Rawhide
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Apr 1, 2023
1 parent e37b157 commit daaad6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
# -v 35: GNOME Shell 41
# -v 36: GNOME Shell 42
# -v 37: GNOME Shell 43
# -v 38: GNOME Shell 44
# -v rawhide: The current GNOME Shell version of Fedora Rawhide
# -s session: This can either be "gnome-xsession" or "gnome-wayland-nested".

# Exit on error.
Expand Down Expand Up @@ -160,7 +162,7 @@ do_in_pod gnome-extensions install "${EXTENSION}.zip"

# Starting with GNOME 40, there is a "Welcome Tour" dialog popping up at first launch.
# We disable this beforehand.
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Disabling welcome tour."
do_in_pod gsettings set org.gnome.shell welcome-dialog-last-shown-version "999" || true
fi
Expand All @@ -174,7 +176,7 @@ do_in_pod gnome-extensions enable "${EXTENSION}"

# Starting with GNOME 40, the overview is the default mode. We close this here by hitting
# the super key.
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Closing Overview."
send_keystroke "super"
fi
Expand Down

0 comments on commit daaad6e

Please sign in to comment.