From: Nicolas Coden Date: Thu, 11 Oct 2018 19:52:43 +0000 (+0200) Subject: test: add visual test for Tabs deep-linking X-Git-Tag: v6.6.0~3^2~84^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fbc2eeb54d192a817f83def087af1f20b2d53fa;p=thirdparty%2Ffoundation%2Ffoundation-sites.git test: add visual test for Tabs deep-linking --- diff --git a/test/visual/tabs/deep-linking.html b/test/visual/tabs/deep-linking.html new file mode 100644 index 000000000..e2d908cf0 --- /dev/null +++ b/test/visual/tabs/deep-linking.html @@ -0,0 +1,86 @@ + + + + + + + + Tabs Deep Linking + + + +
+
+
+ +

Tabs Deep Linking

+ +

+

  • When a tab is set as active, #panel... should be set in the url. +
  • Refresing the page should make it scroll down to the active tab
  • +
  • Going back in history should restore the previous state (even if no all tabs were active before).
  • +

    + +
    + Placeholder +
    + + + +
    +
    +

    Content for #panel1. I should be active by default.

    +
    +
    +

    Content for #panel2

    +
    +
    +

    Content for #panel3

    +
    +
    +

    Content for #panel4

    +
    +
    + +
    + Placeholder +
    + + + +
    +
    +

    Content for #panel5. I can collapse.

    +
    +
    +

    Content for #panel6. I can collapse.

    +
    +
    +

    Content for #panel7. I can collapse.

    +
    +
    +

    Content for #panel8. I can collapse.

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