This is a project created by the ESaaS Demo Tool. It is based on https://github.com/adobe/aem-boilerplate.
npm inpm run lint- Create a new repository based on the
aem-boilerplatetemplate and add a mountpoint in thefstab.yaml - Add the AEM Code Sync GitHub App to the repository
- Install the AEM CLI:
npm install -g @adobe/aem-cli - Start AEM Proxy:
aem up(opens your browser athttp://localhost:3000) - Open the
{repo}directory in your favorite IDE and start coding :)
https://{branch}--vitamix--aemsites.aem.page/
This project uses Playwright for end-to-end testing. The tests verify that key elements exist and function correctly across different product configurations.
# Runs all Playwright tests in headless mode with parallel execution
npm test
# Opens Playwright's interactive UI mode for debugging and test development
npm run test:ui
# Runs tests with visible browser windows (useful for debugging)
npm run test:headed
# Runs tests in debug mode with step-by-step execution
npm run test:debug
# Installs required browser binaries for Playwright
npm run test:install
# Opens the HTML test report in your browser
npm run test:reportBefore any tests will work you must run
npm run test:installto install the browser dependancies
npm install
npm run test:install
npm testnpx playwright test tests/pdp/integration.spec.js# Run only on Chromium
npx playwright test --project=chromium
# Run only on Mobile Chrome
npx playwright test --project="Mobile Chrome"BASE_URL=https://main--vitamix--aemsites.aem.network npm testBRANCH=staging npm testTests can be manually run within a PR on github by commenting /run-tests
There are two VCCode launch configurations to debug the tests. There is also an optional Playwright Test for VS Code extension you can install to VSCode.
- Runs all tests in the project with debugging enabled.
- Use when debugging issues that affect multiple tests or investigating test setup problems
- Runs only the currently open test file with debugging enabled.
- Use when focusing on debugging a specific test file for faster, targeted debugging