From: Nicolas Coden Date: Wed, 1 Aug 2018 21:31:04 +0000 (+0200) Subject: test: add visual test for Reveal "closeOnClick" option X-Git-Tag: v6.6.0~3^2~85^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=477edad49c1120850c6e88ef5bb1a02054e0862f;p=thirdparty%2Ffoundation%2Ffoundation-sites.git test: add visual test for Reveal "closeOnClick" option --- diff --git a/test/visual/reveal/close-on-click.html b/test/visual/reveal/close-on-click.html new file mode 100644 index 000000000..05b3cd7af --- /dev/null +++ b/test/visual/reveal/close-on-click.html @@ -0,0 +1,49 @@ + + + + + + + + Foundation for Sites Testing + + + + + +
+
+
+ +

Reveal: closeOnClick option

+ +

This modal should not close when clicking/taping outside of it.

+

+ +
+

Clicking/taping outside of me SHOULD NOT close me.

+

+
+ +
+ +

This modal should close when clicking (desktop) or taping without swiping (mobile) outside of it.

+

+ +
+

Clicking (desktop) or taping without swiping (mobile) outside of me SHOULD close me.

+

+
+ +
+
+
+ + + + + + +