harden app files snapshot (#486)

This commit is contained in:
Will Chen
2025-06-24 16:46:40 -07:00
committed by GitHub
parent 87a0de438c
commit fe597db5b3
11 changed files with 507 additions and 507 deletions

View File

@@ -285,7 +285,7 @@ export class PageObject {
await expect(this.page.getByRole("dialog")).toMatchAriaSnapshot();
}
async snapshotAppFiles({ name }: { name?: string } = {}) {
async snapshotAppFiles({ name }: { name: string }) {
const currentAppName = await this.getCurrentAppName();
if (!currentAppName) {
throw new Error("No app selected");