Poll history - remove active development labs flag (#10357)
* add poll history tab to room settings * test poll history in room settings * remove posthog tracking for poll his * remove labs flag for poll history * i18n
This commit is contained in:
parent
31a959efe9
commit
2344eaab1c
9 changed files with 33 additions and 32 deletions
|
@ -89,10 +89,6 @@ describe("<RoomSettingsDialog />", () => {
|
|||
|
||||
describe("poll history", () => {
|
||||
beforeEach(() => {
|
||||
jest.spyOn(SettingsStore, "getValue").mockImplementation(
|
||||
(settingName) => settingName === "feature_poll_history",
|
||||
);
|
||||
|
||||
mockClient.getOrCreateFilter.mockResolvedValue("filterId");
|
||||
});
|
||||
it("renders poll history tab", () => {
|
||||
|
|
|
@ -62,6 +62,21 @@ NodeList [
|
|||
Notifications
|
||||
</span>
|
||||
</div>,
|
||||
<div
|
||||
class="mx_AccessibleButton mx_TabbedView_tabLabel "
|
||||
data-testid="settings-tab-ROOM_POLL_HISTORY_TAB"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
>
|
||||
<span
|
||||
class="mx_TabbedView_maskedIcon mx_RoomSettingsDialog_pollsIcon"
|
||||
/>
|
||||
<span
|
||||
class="mx_TabbedView_tabLabel_text"
|
||||
>
|
||||
Polls history
|
||||
</span>
|
||||
</div>,
|
||||
]
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue