Skip to content

测试: 认证 — 游客模式登录 #11

@robinv8

Description

@robinv8

Epic: #10
自动化: .maestro/01_auth_guest.yaml
优先级: P0(入口流程)


前置条件

  • App 已安装到模拟器
  • 用户未登录(首次启动或已登出)

测试用例

TC-1.1 AuthView 页面元素完整性

步骤 操作 预期结果
1 启动 App 显示 AuthView
2 品牌 logo 可见(book.closed.fill 图标)
3 "Pith" 标题可见(serif 字体,48pt)
4 "碎片知识,提炼精华" 副标题可见
5 "通过 Apple 登录" 按钮可见(黑色背景)
6 "通过 Google 登录" 按钮可见(白色背景 + 边框)
7 "以游客身份探索" 链接可见(下划线)
8 底部 "继续即表示您同意 服务协议 与 隐私政策" 可见

TC-1.2 游客模式登录

步骤 操作 预期结果
1 点击 "以游客身份探索" 跳转到 DashboardView
2 顶部显示 "你好,探索者"
3 底部 TabBar 可见(首页/分类/搜索/我的)
4 "首页" tab 为选中状态(砖红色)

TC-1.3 Apple/Google 登录(暂不可测)

Apple Sign In 和 Google Sign In 尚未实现(代码中为 TODO),待 #6 完成后补充

自动化覆盖

  • TC-1.1 部分覆盖(Pith + 副标题断言)
  • TC-1.2 完整覆盖
  • TC-1.3 待实现

Metadata

Metadata

Assignees

No one assigned

    Labels

    QA测试/质量保证iosiOS 客户端test-case测试用例

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions