Forked from
tests / apertis-test-cases
592 commits behind the upstream repository.
-
Luis Araujo authored
Signed-off-by:
Luis Araujo <luis.araujo@collabora.co.uk>
Luis Araujo authoredSigned-off-by:
Luis Araujo <luis.araujo@collabora.co.uk>
webkit2gtk-aligned-scroll.yaml 1.52 KiB
metadata:
name: webkit2gtk-aligned-scroll
format: "Apertis Test Definition 1.0"
image-type: target
image-arch: any
type: functional
exec-type: manual
priority: low
maintainer: "Apertis Project"
description: "Test that scrolling is pinned in a given direction when started
mostly towards it."
resources:
- "A touch-screen and a mouse (test with both)."
macro_install_packages_preconditions: webkit2gtk-testing
expected:
- "When the scroll is started by a diagonal drag (1), you should be able to
pan the page freely."
- "When the scroll is started by a vertical drag (2), you should only be able
to pan the page vertically, regardless of if you move your finger/mouse
horizontally."
- "When the scroll is started by a horizontal drag (3), you should only be
able to pan the page horizontally, regardless of if you move your
finger/mouse vertically."
notes:
- "Check the following example video for the expected result:"
- "~https://wiki.apertis.org/static/Aligned-scroll.ogv"
- "Both mouse and touchscreen need to PASS for this test case to be considered
a PASS. If either does not pass, then the test case has failed."
run:
steps:
- "Run the test program:"
- $ GtkClutterLauncher -g 400x600 http://gnome.org/
- "Try scrolling by starting a drag diagonally (1)"
- "Try scrolling by starting a drag vertically (2)"
- "Try scrolling by starting a drag horizontally, ensure you can only pan the
page horizontally (3)"