·hyva-playwright-test
</>

hyva-playwright-test

hyva-themes/hyva-ai-tools

Alpine.js コンポーネントを使用して、Hyvä テーマの Playwright テストを作成します。このスキルは、Hyvä Magento ストアフロントの Playwright テストで e2e テストを作成するとき、ページ オブジェクトを作成するとき、またはセレクターの問題をデバッグするときに使用する必要があります。トリガー フレーズには、「write playwright test」、「playwright alpine」、「test hyva page」、「e2e test」、「playwright selector」などがあります。

5インストール·2トレンド·@hyva-themes

インストール

$npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-playwright-test

SKILL.md

Hyvä replaces Luma's KnockoutJS/RequireJS/jQuery with Alpine.js + Tailwind CSS. Playwright's strict mode (rejects locators matching multiple elements) conflicts with Alpine.js DOM patterns where hidden elements exist throughout the page. This skill documents pitfalls and solutions discovered while writing Playwright tests for Hyvä storefronts.

Hyvä templates scatter elements like throughout the DOM. These are invisible but present, so a bare selector like .message.error matches both hidden and visible instances, causing Playwright strict mode violations.

Never use: bare .message, .message.error, .message.success, or div.message as selectors.

Alpine.js コンポーネントを使用して、Hyvä テーマの Playwright テストを作成します。このスキルは、Hyvä Magento ストアフロントの Playwright テストで e2e テストを作成するとき、ページ オブジェクトを作成するとき、またはセレクターの問題をデバッグするときに使用する必要があります。トリガー フレーズには、「write playwright test」、「playwright alpine」、「test hyva page」、「e2e test」、「playwright selector」などがあります。 ソース: hyva-themes/hyva-ai-tools。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-playwright-test
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-17
更新日
2026-02-18

クイックアンサー

hyva-playwright-test とは?

Alpine.js コンポーネントを使用して、Hyvä テーマの Playwright テストを作成します。このスキルは、Hyvä Magento ストアフロントの Playwright テストで e2e テストを作成するとき、ページ オブジェクトを作成するとき、またはセレクターの問題をデバッグするときに使用する必要があります。トリガー フレーズには、「write playwright test」、「playwright alpine」、「test hyva page」、「e2e test」、「playwright selector」などがあります。 ソース: hyva-themes/hyva-ai-tools。

hyva-playwright-test のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-playwright-test インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/hyva-themes/hyva-ai-tools