create-playwright-test-data

create-playwright-test-data is a skill for Claude Code, Codex from jeffsenso/prestashop-skills. It costs 46 tokens per session (530 once invoked), scanned A, original, MIT.

A generator for Faker-based test data classes and predefined objects for new PrestaShop entities. Faker creates realistic sample values, while predefined objects refer to records already present in a demo installation.

In plain words
What is it for?
Use it to prepare multilingual test data, optional field overrides, and references to built-in entities for Playwright tests.
Why use it?
It avoids rewriting test data setup for each campaign and supports both new randomized records and known existing records.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare multilingual test data, optional field overrides, and references to built-in entities for Playwright tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffsenso/prestashop-skills/create-playwright-test-data
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jeffsenso/prestashop-skills --skill create-playwright-test-data
Clone the repo
git clone --depth 1 https://github.com/jeffsenso/prestashop-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-playwright-test-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-playwright-test-data/github.svg)](https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-playwright-test-data)
Your own site
<a href="https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-playwright-test-data"><img src="https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-playwright-test-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-playwright-test-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-playwright-test-data"><img src="https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-playwright-test-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00530
Opus 5 $0.00023 $0.00265
Sonnet 5 $0.00009 $0.00106
Haiku 4.5 $0.00005 $0.00053

Measured 9d ago against content hash 11024d3c2f18, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

create-playwright-test-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prestashop-module-development/ps9-core-ai/Component/Playwright/skills/create-playwright-test-data/SKILL.md · 61 lines

What it actually says

create-playwright-test-data

Read @.ai/Component/Playwright/CONTEXT.md for the stack and data patterns.

Faker data classes and predefined data objects live in the ui-testing-library, not in the core repo.

1. Faker data class

Create Faker{Domain} in the ui-testing-library:

  • Constructor accepts optional overrides: new FakerTax({enabled: false})
  • Default values use Faker for randomized but realistic data
  • Properties match the entity fields (name, active, rate, etc.)
  • Multilingual fields include values for at least EN and FR
// Usage in campaigns:
const createTaxData: FakerTax = new FakerTax();
const editTaxData: FakerTax = new FakerTax({enabled: false});

Reference: check existing Faker classes in the ui-testing-library (e.g. FakerTax, FakerProduct)

2. Predefined data objects

Create data{Domain} objects referencing demo install fixtures:

// Usage in campaigns:
import {dataTaxes} from '@prestashop-core/ui-testing';
dataTaxes.DefaultFrTax.id;
dataTaxes.DefaultFrTax.name;

These reference entities that exist in the vanilla PrestaShop installation — useful for tests that filter/sort existing data rather than creating new entities.

3. Local data files (if needed)

For campaign-specific data that doesn't fit in the library, create tests/UI/data/{domain}.ts in the core repo:

  • XML test data in tests/UI/data/xml/
  • TypeScript data-driven test arrays for forEach patterns

Rules

Conventions (no random data in assertions, deterministic Faker values) are in Playwright/CONTEXT.md. Skill-specific reminders:

  • Faker classes and predefined data live in the ui-testing-library, not the core repo
  • Faker defaults should produce valid entities — a bare new Faker{Domain}() must pass validation
  • Predefined data references demo install fixtures — don't assume entities exist that aren't in the standard install
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 61 lines · 46 tokens per session scan A 11024d3c2f18

Subscribe to this mod's changes

create-playwright-test-data is a skill published in the GitHub repository jeffsenso/prestashop-skills (5 stars, last pushed 14d ago), licensed MIT. It adds 46 tokens to every session and 530 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

133-java-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for framework-agnostic Java (no Spring Boot, Quarkus, Micronaut) — confirming @acceptance scenarios before coding, happy path with RestAssured, DB/Kafka test fixtures, WireMock for external REST only, and AT classes run by…

jabrena/plinth · 142 tokens

323-frameworks-spring-boot-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-authored or maintainer-sanitized Gherkin scenario facts for Spring Boot applications — including selecting scenarios tagged @acceptance, implementing happy path tests with TestRestTemplate, @SpringBootTest, Testcontainers with @ServiceConnection for…

jabrena/plinth · 156 tokens

423-frameworks-quarkus-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for Quarkus applications — including @acceptance scenarios, @QuarkusTest, BaseAcceptanceTest with QuarkusTestResourceLifecycleManager for Testcontainers and WireMock, REST Assured for full HTTP pipeline testing, WireMock…

jabrena/plinth · 219 tokens

523-frameworks-micronaut-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for Micronaut applications — @acceptance scenarios, @MicronautTest, HttpClient, BaseAcceptanceTest with TestPropertyProvider for Testcontainers and WireMock, AT suffix, Failsafe. Requires a maintainer-authored scenario…

jabrena/plinth · 172 tokens

132-java-testing-integration-testing

Use when you need to set up, review, or improve Java integration tests — including generating a BaseIntegrationTest.java with WireMock for HTTP stubs, detecting HTTP client infrastructure from import signals, injecting service coordinates dynamically via System.setProperty(), creating WireMock JSON mapping files with…

jabrena/plinth · 155 tokens

322-frameworks-spring-boot-testing-integration-tests

Use when you need to write or improve integration tests — including Testcontainers with @ServiceConnection, @DataJdbcTest persistence slices, TestRestTemplate or MockMvcTester for HTTP, data isolation, and container lifecycle management for Spring Boot 4.0.x. This should trigger for requests such as Review Java code…

jabrena/plinth · 123 tokens