From 9fbc2eeb54d192a817f83def087af1f20b2d53fa Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Thu, 11 Oct 2018 21:52:43 +0200 Subject: [PATCH] test: add visual test for Tabs deep-linking --- test/visual/tabs/deep-linking.html | 86 ++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 test/visual/tabs/deep-linking.html 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.

    +
    +
    + +
    +
    +
    + + + + + + -- 2.47.2