跳到正文
cccskills
免费在 GitHub 公开

odoo-web-testing

Odoo browser-facing test guidance for HTTP controllers, website and portal flows, QWeb templates, assets, OWL integration, browser tours, and JavaScript behavior. Use when testing or debugging public pages, portal access, forms, controllers, frontend assets, or end-to-end Odoo web behavior.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md1.8 KB
  • references/BROWSER-TESTING.md2.0 KB
  • references/OWL-TESTING.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Odoo Web Testing

Use this skill to test behavior at the browser-facing seam rather than only testing isolated controller methods. Compose it with odoo-test-writer, odoo-website, and odoo-web-security.

First Move

Identify the user journey and its boundary:

  • HTTP response, redirect, or rendered template.
  • ORM mutation or access rule.
  • Asset bundle and template loading.
  • Browser interaction, form submission, or asynchronous RPC.
  • User roles and companies that must be isolated.

Read BROWSER-TESTING.md for HTTP/browser flows and OWL-TESTING.md for components, services, registries, and field widgets.

Test Strategy

  • Use a model test for business rules that do not require HTTP.
  • Use an HTTP test for route status, auth, redirects, ownership, CSRF, and rendered content.
  • Use a browser/tour test for real interaction, assets, templates, client state, and navigation.
  • Use JavaScript unit tests for isolated client behavior and service/registry integration.
  • Add negative tests for anonymous access, another portal user's record, invalid IDs, invalid tokens, and cross-company data.

Always Apply

  • Assert externally visible behavior, not incidental HTML formatting.
  • Keep fixtures small and create users with the exact groups needed.
  • Make asynchronous behavior deterministic; do not add arbitrary sleeps.
  • Test both success and failure paths.
  • State when browser, database, or asset-bundle verification was not run.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

grill-me

免费

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when the user wants to stress-test a plan, get grilled on their design, or mentions "grill me" outside an Odoo-specific context.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when the user wants to stress-test a plan against their project's language and documented decisions.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

odoo

免费

Odoo engineering workflows for addon development, codebase exploration, debugging, architecture/refactor review, manifest/docs sync, and routing to migration work. Use when the user mentions Odoo, addons, modules, manifests, models, XML views, security CSVs, record rules, Odoo shell, OWL/QWeb/assets, or when an Odoo codebase is detected.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

odoo-17.0

免费

Odoo 17 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 17 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

odoo-18.0

免费

Odoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 18 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

查看 mart337i 的全部技能

报告此技能的问题