test: Split browser test-utils (#2662)

- Closes: #2660
This commit is contained in:
Dermot Duffy
2026-08-07 16:27:28 -07:00
committed by GitHub
parent 673d8fe133
commit 8d8d486afa
9 changed files with 161 additions and 166 deletions
@@ -1,16 +1,13 @@
import { describe, expect, it, onTestFinished } from 'vitest';
import { createLogAction } from '../../src/utils/action';
import { deepQueryAll, getFocusedElement, pressKey, pressTab } from '../browser/dom';
import { MountedCardFactory, type MountedCard } from '../browser/mounted-card';
import {
CARD_INITIALIZED_MESSAGE,
createGenericCameraHASS,
createInitializedAutomation,
createStillImageCardConfig,
deepQueryAll,
getFocusedElement,
pressKey,
pressTab,
} from '../browser/test-utils';
// What the automation writes when it runs, written as the pattern the console