Skip to content

  • 项目
  • 群组
  • 代码片段
  • 帮助
  • 当前项目
    • 正在载入...
  • 登录 / 注册
B
bit-pm
  • 项目
    • 项目
    • 详情
    • 活动
    • 周期分析
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 图表
    • 比较
    • 统计图
  • 议题 0
    • 议题 0
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 0
    • 合并请求 0
  • CI / CD
    • CI / CD
    • 流水线
    • 作业
    • 日程
    • 统计图
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 成员
    • 成员
  • 折叠边栏
  • 活动
  • 图像
  • 聊天
  • 创建新问题
  • 作业
  • 提交
  • 问题看板
  • 燕伟桐
  • bit-pm
  • Repository

切换分支/标签
  • bit-pm
  • e2e-tests
  • logs_server.spec.ts
查找文件
BlameHistoryPermalink
  • wwwillchen-bot's avatar
    Improve E2E test resilience for logs_server and update snapshot (#2613) · 35ea8edb
    由 wwwillchen-bot 提交于 2月 10, 2026
    ## Summary
    - Improve picker button wait reliability in logs_server.spec.ts using
    toPass() with visibility and enabled checks
    - Update local_agent_read_logs snapshot to use regex for dynamic log
    count matching
    
    ## Test plan
    - Run the affected E2E tests: `npx playwright test logs_server.spec.ts
    local_agent_read_logs.spec.ts`
    - Tests should pass consistently without timing-related flakiness
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2613"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Improve logs_server E2E stability and update a snapshot to handle
    dynamic log counts. We now poll with toPass until the picker button is
    visible and enabled, and the snapshot uses a regex (/LOGS Reading \d+
    logs/) instead of a fixed count.
    
    <sup>Written for commit 1810af01aee8f1862c36ded946adda4a60436b97.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    Co-authored-by: 's avatarWill Chen <willchen90@gmail.com>
    Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
    35ea8edb
logs_server.spec.ts 2.3 KB
编辑Web IDE

Replace logs_server.spec.ts

拖放文件到此处或者 点击上传


取消
将在派生(fork)项目中中创建一个新的分支, 并开启一个新的合并请求。