• Will Chen's avatar
    Fix e2e tests (#2103) · b01f96f1
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Stabilizes e2e behavior and snapshots; adds fixtures and minor UI test
    hook.
    > 
    > - **Snapshot determinism**: Normalize `dyad_options.versioned_files`
    fileIds to `[[FILE_ID_*]]` in `test_helper.ts` and apply during request
    dumps; refresh related snapshots
    > - **Token bar reliability**: Add `data-testid="token-bar-toggle"` in
    `AuxiliaryActionsMenu` and new `po.toggleTokenBar()` helper; update
    Supabase branch test
    > - **Version integrity tests**: Add fixture app (`version-integrity`)
    and new/updated tests + snapshots validating add/edit/delete/move and
    restore flow with explicit wait
    > - **Misc**: Update local agent snapshot to include `web_search` tool;
    bump `package-lock.json` to `0.33.0-beta.1`
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    1415ef1379a71bf6efe61da5079ff65dead84ba4. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Stabilizes e2e tests by making snapshot data deterministic and fixing
    races in token bar toggle and restore flows. Updates snapshots
    (including web_search) and adds a version-integrity app fixture; also
    adds a test id for reliable selectors.
    
    - **Bug Fixes**
    - Normalize versioned_files fileIds in dumps to deterministic
    placeholders before snapshotting.
    - Add data-testid="token-bar-toggle" and PageObject.toggleTokenBar() to
    avoid flakiness; update Supabase branch test to use it.
    - Refresh snapshots to reflect deterministic IDs and the web_search
    tool.
    - Add version-integrity import app fixture and snapshot coverage; wait
    for restore completion in version_integrity.spec to prevent flakiness.
    
    - **Dependencies**
      - Bump package-lock version to 0.33.0-beta.1.
    
    <sup>Written for commit 1415ef1379a71bf6efe61da5079ff65dead84ba4.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    b01f96f1
名称
最后提交
最后更新
.claude 正在载入提交数据...
.cursor/rules 正在载入提交数据...
.devcontainer 正在载入提交数据...
.github 正在载入提交数据...
.husky 正在载入提交数据...
assets 正在载入提交数据...
docs 正在载入提交数据...
drizzle 正在载入提交数据...
e2e-tests 正在载入提交数据...
packages/@dyad-sh 正在载入提交数据...
scaffold 正在载入提交数据...
scripts 正在载入提交数据...
shared 正在载入提交数据...
src 正在载入提交数据...
testing 正在载入提交数据...
tools 正在载入提交数据...
worker 正在载入提交数据...
workers/tsc 正在载入提交数据...
.cursorignore 正在载入提交数据...
.env.example 正在载入提交数据...
.eslintrc.json 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.oxlintrc.json 正在载入提交数据...
.prettierignore 正在载入提交数据...
.prettierrc 正在载入提交数据...
AGENTS.md 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
LICENSE 正在载入提交数据...
README.md 正在载入提交数据...
SECURITY.md 正在载入提交数据...
biome.json 正在载入提交数据...
components.json 正在载入提交数据...
drizzle.config.ts 正在载入提交数据...
forge.config.ts 正在载入提交数据...
forge.env.d.ts 正在载入提交数据...
index.html 正在载入提交数据...
merge.config.ts 正在载入提交数据...
package-lock.json 正在载入提交数据...
package.json 正在载入提交数据...
playwright.config.ts 正在载入提交数据...
tsconfig.app.json 正在载入提交数据...
tsconfig.json 正在载入提交数据...
tsconfig.node.json 正在载入提交数据...
vite.main.config.mts 正在载入提交数据...
vite.preload.config.mts 正在载入提交数据...
vite.renderer.config.mts 正在载入提交数据...
vite.worker.config.mts 正在载入提交数据...
vitest.config.ts 正在载入提交数据...