Validate narrow mode navigation and history controls

This commit is contained in:
FredApps
2026-12-05 11:59:36 +01:00
parent 54b3043f13
commit 0df0d0ef8d
@@ -0,0 +1,28 @@
name: Mode bar history controls validation
on:
push:
branches: [fredapps/4562-modebar-validation]
permissions:
contents: read
jobs:
mode-bar:
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
with:
os: '["ubuntu-24.04"]'
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
packages: >-
libxkbcommon-dev libwayland-dev libx11-dev libxrandr-dev libxi-dev
libgl1-mesa-dev libgtk-3-dev qpdf poppler-utils xvfb libxkbcommon-x11-0
command: |
# Diagnostic only while the current main lock repair is pending.
cargo metadata --format-version 1 > /dev/null
git diff --stat -- Cargo.lock
cargo test --locked -p pdfcraft-ui-egui --test it undo_and_redo_buttons_in_the_mode_bar
cargo test --locked -p pdfcraft-ui-egui --test it the_search_field_leaves_the_mode_tabs_clear_in_a_narrow_window
cargo test --locked -p pdfcraft-ui-egui --test it the_undo_button_takes_back_a_polygon_point_in_an_unchanged_document
cargo test --locked -p pdfcraft-ui-egui --test it undo_and_redo_restore_the_combine_list
cargo test --locked -p pdfcraft-ui-egui --test it min_window::
cargo test --locked -p pdfcraft-ui-egui --test it from_the_menu