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:
@@ -134,15 +134,13 @@ describe("<RoomSummaryCard />", () => {
|
||||
});
|
||||
|
||||
describe("poll history", () => {
|
||||
it("renders poll history option when feature is enabled", () => {
|
||||
featureEnabledSpy.mockImplementation((feature) => feature === "feature_poll_history");
|
||||
it("renders poll history option", () => {
|
||||
const { getByText } = getComponent();
|
||||
|
||||
expect(getByText("Polls history")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("opens poll history dialog on button click", () => {
|
||||
featureEnabledSpy.mockImplementation((feature) => feature === "feature_poll_history");
|
||||
const { getByText } = getComponent();
|
||||
|
||||
fireEvent.click(getByText("Polls history"));
|
||||
|
||||
@@ -83,6 +83,13 @@ exports[`<RoomSummaryCard /> renders the room summary 1`] = `
|
||||
>
|
||||
Files
|
||||
</div>
|
||||
<div
|
||||
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_poll"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
>
|
||||
Polls history
|
||||
</div>
|
||||
<div
|
||||
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_export"
|
||||
role="button"
|
||||
|
||||
Reference in New Issue
Block a user