mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-18 18:59:23 +00:00
Merge pull request #4076 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
This commit is contained in:
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
# Make sure to grab the latest version of the Playwright image
|
# Make sure to grab the latest version of the Playwright image
|
||||||
# https://playwright.dev/docs/docker#pull-the-image
|
# https://playwright.dev/docs/docker#pull-the-image
|
||||||
image: mcr.microsoft.com/playwright:v1.60.0-noble
|
image: mcr.microsoft.com/playwright:v1.61.1-noble
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||||
|
|||||||
@@ -47,7 +47,6 @@
|
|||||||
"@formatjs/intl-segmenter": "^11.7.3",
|
"@formatjs/intl-segmenter": "^11.7.3",
|
||||||
"@livekit/components-core": "^0.12.0",
|
"@livekit/components-core": "^0.12.0",
|
||||||
"@livekit/components-react": "^2.0.0",
|
"@livekit/components-react": "^2.0.0",
|
||||||
"@livekit/protocol": "^1.42.2",
|
|
||||||
"@livekit/track-processors": "^0.7.1",
|
"@livekit/track-processors": "^0.7.1",
|
||||||
"@mediapipe/tasks-vision": "^0.10.18",
|
"@mediapipe/tasks-vision": "^0.10.18",
|
||||||
"@playwright/test": "^1.60.0",
|
"@playwright/test": "^1.60.0",
|
||||||
@@ -81,13 +80,12 @@
|
|||||||
"@vitejs/plugin-react": "^6.0.2",
|
"@vitejs/plugin-react": "^6.0.2",
|
||||||
"@vitest/browser-playwright": "^4.1.5",
|
"@vitest/browser-playwright": "^4.1.5",
|
||||||
"@vitest/coverage-v8": "^4.0.18",
|
"@vitest/coverage-v8": "^4.0.18",
|
||||||
"@vitest/ui": "4.1.7",
|
"@vitest/ui": "4.1.9",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"copy-to-clipboard": "^3.3.3",
|
"copy-to-clipboard": "^3.3.3",
|
||||||
"eslint-plugin-element-call": "link:eslint",
|
"eslint-plugin-element-call": "link:eslint",
|
||||||
"eslint-plugin-storybook": "^10.3.6",
|
"eslint-plugin-storybook": "^10.3.6",
|
||||||
"fetch-mock": "11.1.5",
|
"fetch-mock": "11.1.5",
|
||||||
"global-jsdom": "^26.0.0",
|
|
||||||
"i18next": "^25.0.0",
|
"i18next": "^25.0.0",
|
||||||
"i18next-browser-languagedetector": "^8.0.0",
|
"i18next-browser-languagedetector": "^8.0.0",
|
||||||
"i18next-cli": "^1.61.0",
|
"i18next-cli": "^1.61.0",
|
||||||
@@ -101,7 +99,7 @@
|
|||||||
"node-stdlib-browser": "^1.3.1",
|
"node-stdlib-browser": "^1.3.1",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"observable-hooks": "^4.2.3",
|
"observable-hooks": "^4.2.3",
|
||||||
"oxfmt": "^0.55.0",
|
"oxfmt": "^0.56.0",
|
||||||
"oxlint": "^1.70.0",
|
"oxlint": "^1.70.0",
|
||||||
"oxlint-tsgolint": "^0.23.0",
|
"oxlint-tsgolint": "^0.23.0",
|
||||||
"pako": "^2.0.4",
|
"pako": "^2.0.4",
|
||||||
|
|||||||
@@ -120,6 +120,11 @@ export const widgetTest = test.extend<MyFixtures>({
|
|||||||
.getByRole("heading", { name: "Welcome Room" }),
|
.getByRole("heading", { name: "Welcome Room" }),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
} else if (callType === "dm") {
|
} else if (callType === "dm") {
|
||||||
|
await TestHelpers.closeReleaseAnnouncement(
|
||||||
|
ewPage1,
|
||||||
|
"Introducing Sections",
|
||||||
|
);
|
||||||
|
|
||||||
await ewPage1
|
await ewPage1
|
||||||
.getByRole("navigation", { name: "Room list" })
|
.getByRole("navigation", { name: "Room list" })
|
||||||
.getByRole("button", { name: "New conversation" })
|
.getByRole("button", { name: "New conversation" })
|
||||||
|
|||||||
@@ -190,11 +190,27 @@ export class TestHelpers {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static async closeReleaseAnnouncement(
|
||||||
|
page: Page,
|
||||||
|
name: string,
|
||||||
|
): Promise<void> {
|
||||||
|
try {
|
||||||
|
await page
|
||||||
|
.getByRole("dialog", { name })
|
||||||
|
.getByRole("button", { name: "OK" })
|
||||||
|
.click({ timeout: 2000 });
|
||||||
|
} catch {
|
||||||
|
// Announcement not shown; nothing to do
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static async createRoom(
|
public static async createRoom(
|
||||||
name: string,
|
name: string,
|
||||||
page: Page,
|
page: Page,
|
||||||
andInvite: string[] = [],
|
andInvite: string[] = [],
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
|
await TestHelpers.closeReleaseAnnouncement(page, "Introducing Sections");
|
||||||
|
|
||||||
await page
|
await page
|
||||||
.getByRole("navigation", { name: "Room list" })
|
.getByRole("navigation", { name: "Room list" })
|
||||||
.getByRole("button", { name: "New conversation" })
|
.getByRole("button", { name: "New conversation" })
|
||||||
|
|||||||
3177
pnpm-lock.yaml
generated
3177
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -13,8 +13,7 @@ import {
|
|||||||
type TrackReference,
|
type TrackReference,
|
||||||
type TrackReferencePlaceholder,
|
type TrackReferencePlaceholder,
|
||||||
} from "@livekit/components-core";
|
} from "@livekit/components-core";
|
||||||
import { LocalTrackPublication, Track } from "livekit-client";
|
import { type LocalTrackPublication, Track } from "livekit-client";
|
||||||
import { TrackInfo } from "@livekit/protocol";
|
|
||||||
import { type ComponentProps } from "react";
|
import { type ComponentProps } from "react";
|
||||||
|
|
||||||
import { MediaView } from "./MediaView";
|
import { MediaView } from "./MediaView";
|
||||||
@@ -28,10 +27,7 @@ describe("MediaView", () => {
|
|||||||
};
|
};
|
||||||
const trackReference: TrackReference = {
|
const trackReference: TrackReference = {
|
||||||
...trackReferencePlaceholder,
|
...trackReferencePlaceholder,
|
||||||
publication: new LocalTrackPublication(
|
publication: {} as Partial<LocalTrackPublication> as LocalTrackPublication,
|
||||||
Track.Kind.Video,
|
|
||||||
new TrackInfo({ sid: "id", name: "name" }),
|
|
||||||
),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const baseProps: ComponentProps<typeof MediaView> = {
|
const baseProps: ComponentProps<typeof MediaView> = {
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE in the repository root for full details.
|
Please see LICENSE in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "global-jsdom/register";
|
|
||||||
import "@formatjs/intl-durationformat/polyfill.js";
|
import "@formatjs/intl-durationformat/polyfill.js";
|
||||||
import "@formatjs/intl-segmenter/polyfill";
|
import "@formatjs/intl-segmenter/polyfill";
|
||||||
import i18n from "i18next";
|
import i18n from "i18next";
|
||||||
|
|||||||
Reference in New Issue
Block a user