test: Add browser tests for the media viewing gallery and viewer (#2661)

This commit is contained in:
Dermot Duffy authored and GitHub committed 2026-08-07 16:08:56 -07:00
1 parent 567690831c
commit 673d8fe133
25 files changed
+1563 -144

No files matched your search

@@ -4,7 +4,7 @@ import type { RawAdvancedCameraCardConfig } from '../../../src/config/types';
import { MountedCardFactory, type MountedCard } from '../../browser/mounted-card';
import {
CARD_INITIALIZED_MESSAGE,
createCameraHASS,
createGenericCameraHASS,
createInitializedAutomation,
createStillImageCameraConfig,
createStillImageCardConfig,
@@ -26,7 +26,7 @@ const mount = async (
): Promise<MountedCard> =>
await MountedCardFactory.createFromSource(
createConfig(overrides),
createCameraHASS({ cameras: [OTHER_CAMERA_ENTITY] }),
createGenericCameraHASS({ cameras: [OTHER_CAMERA_ENTITY] }),
);
// The cameras the card has actually loaded media for, in order. Media that