riot-web/test/components/views/right_panel/__snapshots__/RightPanelTabs-test.tsx.snap

120 lines
2.5 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<RightPanelTabs /> Component renders the correct tabs 1`] = `
<div>
<nav
class="mx_RightPanelTabs _nav-bar_135dy_16"
role="presentation"
>
<ul
aria-label="right panel"
class="_nav-bar-items_135dy_22"
role="tablist"
>
<li
class="_nav-tab_135dy_33"
data-current="true"
role="presentation"
>
<button
aria-controls="room-summary-panel"
aria-selected="true"
class="_nav-item_135dy_55"
id="room-summary-panel-tab"
role="tab"
>
Info
</button>
</li>
<li
class="_nav-tab_135dy_33"
role="presentation"
>
<button
aria-controls="memberlist-panel"
aria-selected="false"
class="_nav-item_135dy_55"
id="memberlist-panel-tab"
role="tab"
>
People
</button>
</li>
<li
class="_nav-tab_135dy_33"
role="presentation"
>
<button
aria-controls="thread-panel"
aria-selected="false"
class="_nav-item_135dy_55"
id="thread-panel-tab"
role="tab"
>
Threads
</button>
</li>
</ul>
</nav>
</div>
`;
exports[`<RightPanelTabs /> Correct tab is active 1`] = `
<div>
<nav
class="mx_RightPanelTabs _nav-bar_135dy_16"
role="presentation"
>
<ul
aria-label="right panel"
class="_nav-bar-items_135dy_22"
role="tablist"
>
<li
class="_nav-tab_135dy_33"
role="presentation"
>
<button
aria-controls="room-summary-panel"
aria-selected="false"
class="_nav-item_135dy_55"
id="room-summary-panel-tab"
role="tab"
>
Info
</button>
</li>
<li
class="_nav-tab_135dy_33"
data-current="true"
role="presentation"
>
<button
aria-controls="memberlist-panel"
aria-selected="true"
class="_nav-item_135dy_55"
id="memberlist-panel-tab"
role="tab"
>
People
</button>
</li>
<li
class="_nav-tab_135dy_33"
role="presentation"
>
<button
aria-controls="thread-panel"
aria-selected="false"
class="_nav-item_135dy_55"
id="thread-panel-tab"
role="tab"
>
Threads
</button>
</li>
</ul>
</nav>
</div>
`;