diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index ba27e26..eee1406 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -23,9 +23,6 @@ jobs:
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- # This appears to be necessary to stop Vite from OOMing
- # https://github.com/vitejs/vite/issues/2433
- NODE_OPTIONS: "--max-old-space-size=16384"
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index 3558797..f49980d 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -40,9 +40,6 @@ jobs:
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
VITE_APP_VERSION: ${{ github.event.release.tag_name }}
- # This appears to be necessary to stop Vite from OOMing
- # https://github.com/vitejs/vite/issues/2433
- NODE_OPTIONS: "--max-old-space-size=16384"
- name: Create Tarball
env:
diff --git a/package.json b/package.json
index 9487319..ca31832 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"type": "module",
"scripts": {
"dev": "vite",
- "build": "vite build",
+ "build": "NODE_OPTIONS=--max-old-space-size=16384 vite build",
"serve": "vite preview",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
diff --git a/src/home/JoinExistingCallModal.tsx b/src/home/JoinExistingCallModal.tsx
index 0beae60..078d317 100644
--- a/src/home/JoinExistingCallModal.tsx
+++ b/src/home/JoinExistingCallModal.tsx
@@ -43,7 +43,9 @@ export function JoinExistingCallModal({ onJoin, onClose, ...rest }: Props) {
{t("This call already exists, would you like to join?")}
-
+
diff --git a/src/home/UnauthenticatedView.tsx b/src/home/UnauthenticatedView.tsx
index c31637b..4d4f5ce 100644
--- a/src/home/UnauthenticatedView.tsx
+++ b/src/home/UnauthenticatedView.tsx
@@ -142,6 +142,7 @@ export const UnauthenticatedView: FC = () => {
type="text"
required
autoComplete="off"
+ data-testid="home_callName"
/>
@@ -152,6 +153,7 @@ export const UnauthenticatedView: FC = () => {
placeholder={t("Display name")}
type="text"
required
+ data-testid="home_displayName"
autoComplete="off"
/>
@@ -171,7 +173,12 @@ export const UnauthenticatedView: FC = () => {
)}
-
diff --git a/src/room/VideoPreview.tsx b/src/room/VideoPreview.tsx
index 0e92cc5..aaf9df5 100644
--- a/src/room/VideoPreview.tsx
+++ b/src/room/VideoPreview.tsx
@@ -64,7 +64,13 @@ export function VideoPreview({
return (
-
+
{state === GroupCallState.LocalCallFeedUninitialized && (
{t("Camera/microphone permissions needed to join the call.")}
diff --git a/src/video-grid/VideoTile.tsx b/src/video-grid/VideoTile.tsx
index eea617f..e3d26ad 100644
--- a/src/video-grid/VideoTile.tsx
+++ b/src/video-grid/VideoTile.tsx
@@ -154,6 +154,7 @@ export const VideoTile = forwardRef(
"--tileHeight": height?.to((h) => `${h}px`),
}}
ref={ref as ForwardedRef}
+ data-testid="videoTile"
{...rest}
>
{toolbarButtons.length > 0 && !maximised && (
@@ -180,10 +181,17 @@ export const VideoTile = forwardRef(
audioMuted && !videoMuted && !speaking &&
}
{videoMuted && }
- {caption}
+
+ {caption}
+
))}
-
+
);
}