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/icons/VideoMuted.svg b/src/icons/VideoMuted.svg index 188ed08..20ecf0f 100644 --- a/src/icons/VideoMuted.svg +++ b/src/icons/VideoMuted.svg @@ -1,4 +1,4 @@ - + diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index b3fdaa3..198edb2 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -383,11 +383,13 @@ export function InCallView({ key="1" muted={microphoneMuted} onPress={toggleMicrophoneMuted} + data-testid="incall_mute" />, ); @@ -398,6 +400,7 @@ export function InCallView({ key="3" enabled={isScreensharing} onPress={toggleScreensharing} + data-testid="incall_screenshare" /> ); } diff --git a/src/room/LobbyView.tsx b/src/room/LobbyView.tsx index a1a6961..2e726cc 100644 --- a/src/room/LobbyView.tsx +++ b/src/room/LobbyView.tsx @@ -137,6 +137,7 @@ export function LobbyView({ size="lg" disabled={state !== GroupCallState.LocalCallFeedInitialized} onPress={onEnter} + data-testid="lobby_joinCall" > Join call now 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 (
-
))} -