e2e-testing

Automate browser-based end-to-end testing of interactive EDS blocks with Playwright.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/aramark-destinations/aramark-mb --skill e2e-testing-aramark-destinations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing
Source: https://github.com/aramark-destinations/aramark-mb/tree/main/.agents/skills/eds/e2e-testing
Command: npx skills add https://github.com/aramark-destinations/aramark-mb --skill e2e-testing-aramark-destinations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end browser testing of interactive EDS blocks to validate real user interactions that unit tests cannot reliably cover, ensuring robust behavior in production.

Core Features & Use Cases

  • Bootstraps Playwright-based E2E tests for EDS blocks with interactive behavior (carousels, accordions, tabs, forms, modals).
  • Provides a practical test-file structure (testDir, testMatch) and example patterns for common interactions.
  • Offers step-by-step bootstrapping guidance (config creation, scaffolding, and running tests against a local dev server).

Quick Start

Install Playwright, scaffold the e2e tests as shown, and run the tests with the project’s e2e script.

Frequently Asked Questions about e2e-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Playwright E2E tests for interactive EDS blocks?

To set up Playwright E2E tests for EDS blocks, install Playwright, create the configuration file, scaffold the test directory using testDir and testMatch, and execute the provided e2e scripts against a local dev server.

What is the best way to test carousels and accordions in EDS?

The best way to test carousels and accordions in EDS is using automated browser-based end-to-end testing with Playwright, which applies practical test patterns to validate real user interactions reliably across EDS pages.

Why do I need browser-based E2E testing for EDS blocks instead of unit tests?

You need browser-based E2E testing for EDS blocks because unit tests cannot reliably cover real user interactions like forms and modals, whereas automated browser testing ensures robust behavior in production.

Does this E2E testing approach support forms and modals on EDS pages?

Yes, this E2E testing approach supports forms and modals on EDS pages. It applies Playwright test patterns specifically designed for interactive EDS blocks including carousels, accordions, tabs, forms, and modals.

Can I run automated tests against a local dev server using Playwright?

Yes, you can run automated tests against a local dev server using Playwright. The step-by-step bootstrapping guidance includes config creation, scaffolding tests, and executing tests via provided scripts targeting your local environment.

What test-file structure should I use for Playwright automated testing of EDS blocks?

For Playwright automated testing of EDS blocks, you should use a practical test-file structure defining testDir and testMatch, alongside example patterns for scaffolding tests that cover common interactive behaviors.