• 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
名称
最后提交
最后更新
..
AgentConsentBanner.tsx 正在载入提交数据...
AttachmentsList.tsx 正在载入提交数据...
AuxiliaryActionsMenu.tsx 正在载入提交数据...
ChatActivity.tsx 正在载入提交数据...
ChatError.tsx 正在载入提交数据...
ChatErrorBox.tsx 正在载入提交数据...
ChatHeader.tsx 正在载入提交数据...
ChatInput.tsx 正在载入提交数据...
ChatMessage.tsx 正在载入提交数据...
CodeHighlight.tsx 正在载入提交数据...
ContextLimitBanner.tsx 正在载入提交数据...
DeleteChatDialog.tsx 正在载入提交数据...
DragDropOverlay.tsx 正在载入提交数据...
DyadAddDependency.tsx 正在载入提交数据...
DyadAddIntegration.tsx 正在载入提交数据...
DyadCodeSearch.tsx 正在载入提交数据...
DyadCodeSearchResult.tsx 正在载入提交数据...
DyadCodebaseContext.tsx 正在载入提交数据...
DyadDatabaseSchema.tsx 正在载入提交数据...
DyadDelete.tsx 正在载入提交数据...
DyadEdit.tsx 正在载入提交数据...
DyadExecuteSql.tsx 正在载入提交数据...
DyadListFiles.tsx 正在载入提交数据...
DyadMarkdownParser.tsx 正在载入提交数据...
DyadMcpToolCall.tsx 正在载入提交数据...
DyadMcpToolResult.tsx 正在载入提交数据...
DyadOutput.tsx 正在载入提交数据...
DyadProblemSummary.tsx 正在载入提交数据...
DyadRead.tsx 正在载入提交数据...
DyadRename.tsx 正在载入提交数据...
DyadSearchReplace.tsx 正在载入提交数据...
DyadThink.tsx 正在载入提交数据...
DyadTokenSavings.tsx 正在载入提交数据...
DyadWebCrawl.tsx 正在载入提交数据...
DyadWebSearch.tsx 正在载入提交数据...
DyadWebSearchResult.tsx 正在载入提交数据...
DyadWrite.tsx 正在载入提交数据...
FileAttachmentDropdown.tsx 正在载入提交数据...
FixAllErrorsButton.tsx 正在载入提交数据...
HomeChatInput.tsx 正在载入提交数据...
LexicalChatInput.tsx 正在载入提交数据...
MessagesList.tsx 正在载入提交数据...
PromoMessage.tsx 正在载入提交数据...
RenameChatDialog.tsx 正在载入提交数据...
SelectedComponentDisplay.tsx 正在载入提交数据...
SummarizeInNewChatButton.tsx 正在载入提交数据...
TokenBar.tsx 正在载入提交数据...
VersionPane.tsx 正在载入提交数据...
monaco.ts 正在载入提交数据...
stateTypes.ts 正在载入提交数据...
types.d.ts 正在载入提交数据...