Ui5 Best Practices Opa5

作者 UI5a99b882ce364无许可证收录于 2026年10月8日更新于 2026年10月8日

This skill should be used in any OPA5 task - creating, modifying, extending, debugging, fixing or reviewing an integration test. Use when the user asks to "write an OPA5 test", "add an OPA5 journey", "fix the OPA5 test failure" or mentions OPA5 or its components - opaTest, page object, journey, waitFor.

AI 生成的概览

指导编写、修复和审查 SAPUI5 应用的 OPA5 集成测试,并提供配置、多视图和清理的参考文档。

功能
该技能为 SAPUI5 应用中的 OPA5 集成测试提供指南和工具。它引导代理查阅参考文档,内容涵盖测试的初始配置、跨多个视图的测试、应用清理以及浏览器检查工具的设置。它仅包含说明,不附带脚本。
适用场景
适用于创建、修改、扩展、调试、修复或审查 OPA5 集成测试时,包括添加 journey 或诊断测试失败。当提到 opaTest、页面对象、journey 或 waitFor 等 OPA5 组件时也适用。
运行要求
不包含脚本,仅为文档。设置浏览器检查工具需要能够在浏览器中加载 OPA5 测试并在浏览器窗口中执行 JavaScript,例如 MCP Playwright。

OPA5 Guidelines and Tools

Handle Special Cases (follow when planning and writing an OPA5 test)

  • Initial Configuration for OPA5 Test → follow references/configuration.md
  • If the test-case spans multiple views → follow references/handle-multiple-views.md
  • Teardown the App → follow references/handle-teardown.md

Set Up Browser Inspection Tools (follow before running the OPA5 test)

Purpose: Efficient inspection of test failures with minimal steps. Prerequisites: A tool to load the OPA5 test in the browser and evaluate javascript in the browser window (e.g. MCP Playwright) Instructions: → follow references/setup-inspection-tools.md

来源与署名

来源:UI5/plugins-coding-agents位于plugins/ui5/skills/ui5-best-practices-opa5提交a99b882

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架