Practice Library
Practice Challenges for UI & API Automation
Choose a module, review the curated challenge briefs, and plug them into Selenium, Playwright, Cypress, WebdriverIO, or API tooling. Each brief includes sample assertions so you can focus on framework technique instead of inventing requirements.
Module
Difficulty
Tool focus
E-Commerce Automation
Simulate storefront journeys with carts, coupons, taxes, inventory checks, and order confirmations.
Cart Price Audit
IntermediateEnsure line items, taxes, promotions, and totals never drift.
Test ideas
- Add/remove SKUs and verify subtotal math updates correctly
- Apply coupons, stack promotions, and assert discount copy
- Trigger out-of-stock handling and confirm disabling of checkout CTA
Great for Selenium · Playwright · Cypress
Checkout Resilience
AdvancedValidate UX when payment gateways succeed, fail, or time out.
Test ideas
- Mock payment success/failure via API explorer or cy.intercept
- Assert toast messages, error banners, and recovery flows
- Confirm orders land in /app/orders with accurate statuses
Ideal for hybrid API + UI testing
Order History Insights
BeginnerList filtering, table assertions, and toast confirmations.
Test ideas
- Place order via UI/API then verify row details + totals
- Filter orders by status and confirm empty state copy
- Download receipts or detail views and assert metadata
Use Cypress component tests or Playwright traces
Rich Text Authoring
BeginnerValidate editor formatting, autosave, and accessibility.
Test ideas
- Apply bold/italic/links and ensure preview mirrors source
- Autosave drafts and confirm status chips update
- Run axe scans for color contrast + keyboard focus
Perfect for Cypress component testing
Tag & Search Relevance
IntermediateGuarantee filters + search return expected notes.
Test ideas
- Create tagged notes, then filter via chip UI
- Search by keyword and compare to API /notes response
- Validate empty state guidance for no results
Leverage Playwright locators with data-test ids
Collaboration Signals
AdvancedSimulate multi-user editing and permissions.
Test ideas
- Share notes and confirm avatar stack updates real time
- Attempt unauthorized edits and assert warning copy
- Review audit log entries in admin panel for compliance
Blend UI + API contract tests
Signup Validation Matrix
BeginnerEnsure every field surfaces friendly, automation-friendly errors.
Test ideas
- Submit empty form and capture inline validation IDs
- Test password strength meter edge cases
- Validate success path redirects to /app/dashboard
Great starter for Selenium or Cypress
Session Persistence
IntermediateConfirm tokens, cookies, and localStorage behave.
Test ideas
- Login, refresh, and ensure session persists
- Force token expiry (via API Explorer) and assert reauth flow
- Toggle theme preference and confirm it survives logout/login
Use Playwright storageState utilities
Password Recovery
AdvancedModel OTP and reset links with negative coverage.
Test ideas
- Trigger forgot password and capture email copy (mocked)
- Attempt expired token usage and assert friendly error
- Reset password then audit /auth/login telemetry ribbon
Combine API mocks with UI regression tests
RBAC Gatekeeping
IntermediateConfirm only admins reach /admin routes and widgets.
Test ideas
- Login as user vs admin and assert redirects
- Check each KPI card data-test id vs API payload
- Attempt admin API calls without scope and expect 403
Great for contract + UI parity tests
Live Metrics Integrity
AdvancedDashboard charts, sparklines, and stats panels.
Test ideas
- Intercept analytics endpoint and validate fallback skeletons
- Compare chart totals to table data for accuracy
- Screenshot diff metric cards after data refresh
Use Playwright tracing or Cypress visual tools
Moderation Workflow
IntermediateReview latest notes/orders and take action.
Test ideas
- Approve/deny notes and ensure status chips change
- Bulk update order statuses, assert toast + activity log
- Verify pagination + filters keep selection state
Ideal for WebdriverIO suites
Smoke Suites
BeginnerBasic health, auth, and CRUD coverage.
Test ideas
- Ping /api/health and assert structure
- Login + list products within a single test
- Document results in your reporting framework
Great for Postman, Newman, REST Assured
Data Seeding Harness
IntermediatePrep data for UI suites using APIs.
Test ideas
- Create carts/orders before UI tests run
- Reset fixtures post-test to keep state stable
- Expose helper functions in your automation repo
Pair with Selenium or Playwright
Contract + Error Coverage
AdvancedAssert schema, status codes, and chaos behaviour.
Test ideas
- Validate JSON schema for /api/v1/orders responses
- Trigger negative paths (401/403/422) intentionally
- Log metrics to Grafana or custom dashboards
Run in CI as nightly suites