2022-02-21 21:03:07 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Sticky header renders 1`] = `
|
2023-03-28 17:45:48 +00:00
|
|
|
"<div id=\\"vector-sticky-header\\" class=\\"vector-sticky-header\\">
|
2022-02-21 21:03:07 +00:00
|
|
|
<div class=\\"vector-sticky-header-start\\">
|
2023-04-27 20:39:40 +00:00
|
|
|
<div class=\\"vector-sticky-header-icon-start vector-button-flush-left vector-button-flush-right\\" aria-hidden=\\"true\\">
|
|
|
|
<button class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-sticky-header-search-toggle\\" data-event-name=\\"ui.vector-sticky-search-form.icon\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search\\"></span>
|
2023-04-25 16:53:19 +00:00
|
|
|
|
|
|
|
<span>search</span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div> </div> <div class=\\"vector-sticky-header-context-bar\\">
|
2023-02-21 21:19:52 +00:00
|
|
|
<nav role=\\"navigation\\" aria-label=\\"\\" class=\\"vector-toc-landmark\\">
|
2023-06-26 16:54:44 +00:00
|
|
|
<div id=\\"vector-sticky-header-toc\\" class=\\"vector-dropdown mw-portlet mw-portlet-sticky-header-toc vector-sticky-header-toc\\">
|
|
|
|
<input type=\\"checkbox\\" id=\\"vector-sticky-header-toc-checkbox\\" role=\\"button\\" aria-haspopup=\\"true\\" data-event-name=\\"ui.dropdown-vector-sticky-header-toc\\" class=\\"vector-dropdown-checkbox\\" aria-label=\\"\\" tabindex=\\"-1\\">
|
2023-07-05 17:19:37 +00:00
|
|
|
<label id=\\"vector-sticky-header-toc-label\\" for=\\"vector-sticky-header-toc-checkbox\\" class=\\"vector-dropdown-label cdx-button cdx-button--weight-quiet cdx-button--icon-only\\" aria-hidden=\\"true\\" tabindex=\\"-1\\"><span class=\\"vector-dropdown-label-text\\"></span>
|
2022-10-27 23:52:23 +00:00
|
|
|
</label>
|
2023-06-26 16:54:44 +00:00
|
|
|
<div class=\\"vector-dropdown-content\\">
|
2022-11-02 23:00:04 +00:00
|
|
|
|
2022-07-01 20:19:57 +00:00
|
|
|
</div>
|
2023-07-05 17:19:37 +00:00
|
|
|
</div>
|
|
|
|
</nav>
|
2023-02-21 21:19:52 +00:00
|
|
|
<div class=\\"vector-sticky-header-context-bar-primary\\" aria-hidden=\\"true\\"></div>
|
2022-02-21 21:03:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-27 20:29:34 +00:00
|
|
|
<div class=\\"vector-sticky-header-end\\" aria-hidden=\\"true\\">
|
2022-02-21 21:03:07 +00:00
|
|
|
<div class=\\"vector-sticky-header-icons\\">
|
2023-07-05 17:19:37 +00:00
|
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-talk-sticky-header\\" data-event-name=\\"talk-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-speechBubbles mw-ui-icon-wikimedia-speechBubbles\\"></span>
|
2023-04-25 16:53:19 +00:00
|
|
|
|
|
|
|
<span></span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</a>
|
2023-07-05 17:19:37 +00:00
|
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-history-sticky-header\\" data-event-name=\\"history-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-history mw-ui-icon-wikimedia-history\\"></span>
|
2023-04-25 16:53:19 +00:00
|
|
|
|
|
|
|
<span></span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</a>
|
2023-07-05 17:19:37 +00:00
|
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon mw-watchlink\\" id=\\"ca-watchstar-sticky-header\\" data-event-name=\\"watch-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-star mw-ui-icon-wikimedia-star\\"></span>
|
2023-04-25 16:53:19 +00:00
|
|
|
|
|
|
|
<span></span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</a>
|
2023-07-05 17:19:37 +00:00
|
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-ve-edit-sticky-header\\" data-event-name=\\"ve-edit-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-edit mw-ui-icon-wikimedia-edit\\"></span>
|
2023-04-25 16:53:19 +00:00
|
|
|
|
|
|
|
<span></span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</a>
|
2023-07-05 17:19:37 +00:00
|
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-edit-sticky-header\\" data-event-name=\\"wikitext-edit-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-wikiText mw-ui-icon-wikimedia-wikiText\\"></span>
|
2023-04-25 16:53:19 +00:00
|
|
|
|
|
|
|
<span></span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</a>
|
2023-07-05 17:19:37 +00:00
|
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-viewsource-sticky-header\\" data-event-name=\\"editLock\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-star mw-ui-icon-wikimedia-star\\"></span>
|
2023-04-25 16:53:19 +00:00
|
|
|
|
|
|
|
<span></span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2023-01-30 15:33:57 +00:00
|
|
|
<div class=\\"vector-sticky-header-buttons\\">
|
2023-07-05 17:19:37 +00:00
|
|
|
<button class=\\"cdx-button cdx-button--weight-quiet mw-interlanguage-selector\\" id=\\"p-lang-btn-sticky-header\\" data-event-name=\\"ui.dropdown-p-lang-btn-sticky-header\\" tabindex=\\"-1\\"><span>0 languages</span>
|
2022-02-21 21:03:07 +00:00
|
|
|
</button>
|
2023-01-30 15:33:57 +00:00
|
|
|
</div>
|
2022-02-21 21:03:07 +00:00
|
|
|
<div class=\\"vector-sticky-header-icon-end\\">
|
|
|
|
<div class=\\"vector-user-links\\">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-28 17:45:48 +00:00
|
|
|
</div>
|
2022-02-21 21:03:07 +00:00
|
|
|
"
|
|
|
|
`;
|