🏆

Finished a challenge?

Share your solution on LinkedIn—post is auto-filled, just click and review!

Share Your Progress

Real-World Scenarios

Practice Challenges

A collection of realistic automation challenges designed to test your skills with Selenium, Playwright, Cypress, and API testing. Each module mimics a production feature with intentional flakes, dynamic attributes, and complex state.

Module

Difficulty

Tool focus

E-Commerce Automation

Simulate storefront journeys with carts, coupons, taxes, inventory checks, and order confirmations.

Intermediate

Cart Price Audit

Ensure line items, taxes, promotions, and totals never drift.

Tests found inside

  • 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

Advanced

Checkout Resilience

Validate UX when payment gateways succeed, fail, or time out.

Tests found inside

  • 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

Beginner

Order History Insights

List filtering, table assertions, and toast confirmations.

Tests found inside

  • 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

Notes & Knowledge Sharing

Exercise CRUD, tagging, collaboration indicators, and optimistic UI.

Beginner

Rich Text Authoring

Validate editor formatting, autosave, and accessibility.

Tests found inside

  • 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

Intermediate

Tag & Search Relevance

Guarantee filters + search return expected notes.

Tests found inside

  • 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

Advanced

Collaboration Signals

Simulate multi-user editing and permissions.

Tests found inside

  • 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

Authentication & Sessions

Work through onboarding flows, validation, MFA, and storage state.

Beginner

Signup Validation Matrix

Ensure every field surfaces friendly, automation-friendly errors.

Tests found inside

  • 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

Intermediate

Session Persistence

Confirm tokens, cookies, and localStorage behave.

Tests found inside

  • 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

Advanced

Password Recovery

Model OTP and reset links with negative coverage.

Tests found inside

  • 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

Admin Dashboard & Analytics

Role-based access, charts, live tables, and moderation tools.

Intermediate

RBAC Gatekeeping

Confirm only admins reach /admin routes and widgets.

Tests found inside

  • 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

Advanced

Live Metrics Integrity

Dashboard charts, sparklines, and stats panels.

Tests found inside

  • 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

Intermediate

Moderation Workflow

Review latest notes/orders and take action.

Tests found inside

  • 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

API Explorer & Gateway

Chain REST calls, compare environments, and co-locate docs.

Beginner

Smoke Suites

Basic health, auth, and CRUD coverage.

Tests found inside

  • 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

Intermediate

Data Seeding Harness

Prep data for UI suites using APIs.

Tests found inside

  • 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

Advanced

Contract + Error Coverage

Assert schema, status codes, and chaos behaviour.

Tests found inside

  • 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

Flaky Network Simulation

Master retry logic, timeout handling, and polling strategies with endpoints that randomly fail, delay, or succeed.

Beginner

Basic Retry Logic

Implement simple retry mechanisms for flaky endpoints.

Tests found inside

  • Call /flaky-data and retry on failure up to 3 times
  • Assert successful response after retries
  • Log attempt count and total execution time

Perfect for learning retry patterns

Intermediate

Exponential Backoff

Implement sophisticated retry strategies with increasing delays.

Tests found inside

  • Test /flaky-submit with exponential backoff (1s, 2s, 4s)
  • Handle different error types (500, 400, timeout)
  • Verify total retry time stays within acceptable limits

Essential for production-grade automation

Advanced

Polling & Long-Running Operations

Handle delayed responses and async operations gracefully.

Tests found inside

  • Poll /flaky-endpoint until success with timeout protection
  • Implement circuit breaker pattern for repeated failures
  • Test with custom delay and success rate parameters

Critical for real-world distributed systems

Pixel Perfect - Visual Regression

Master visual regression testing with intentional UI variations. Every page load introduces subtle changes to train your threshold tuning skills.

Beginner

Position Shift Detection

Configure thresholds to catch meaningful pixel shifts while ignoring anti-aliasing.

Tests found inside

  • Capture baseline screenshots of components with random 0-8px shifts
  • Set threshold to catch 4px+ movements
  • Ignore sub-pixel rendering differences across browsers

Perfect for learning Playwright screenshot assertions

Intermediate

Color & Typography Variance

Detect subtle color changes and font rendering differences.

Tests found inside

  • Identify hex color shifts between #333 to #777
  • Configure RGB comparison with appropriate tolerance
  • Handle font rendering variations across operating systems

Essential for brand consistency testing

Advanced

Multi-Zone Visual Testing

Comprehensive visual testing with region-specific thresholds.

Tests found inside

  • Apply different thresholds per component (logo: 0px, buttons: 3px, cards: 5px)
  • Mask dynamic content while testing static elements
  • Generate HTML diff reports with highlighted changes
  • Integrate visual tests into CI/CD pipeline

Production-grade visual regression strategy

Mock Inbox - OTP/2FA Testing

Master OTP verification automation with our mock inbox API. Practice retrieving verification codes programmatically to test 2FA/MFA flows.

Beginner

Basic OTP Flow Automation

Automate the complete OTP verification cycle from request to validation.

Tests found inside

  • Trigger OTP request via UI, retrieve code from mock inbox API
  • Enter OTP in UI and verify success message appears
  • Test invalid OTP handling and error message display

Perfect for learning API + UI hybrid testing

Intermediate

OTP Expiration & Edge Cases

Test OTP lifecycle, expiration, and one-time use validation.

Tests found inside

  • Wait 10+ minutes and verify expired OTP rejection
  • Verify OTP can only be used once (second verification fails)
  • Test concurrent OTP requests with different purposes

Essential for robust 2FA test coverage

Advanced

End-to-End 2FA Integration

Build complete test suites integrating OTP flows in user journeys.

Tests found inside

  • Automate signup flow with email verification OTP
  • Test password reset with OTP validation
  • Chain multiple OTP verifications in admin approval workflows
  • Create reusable OTP helper functions for test frameworks

Production-grade 2FA automation patterns

UI Chaos & Dynamic DOM

Practice targeting elements without stable test IDs. Classes and attributes randomize on every refresh to simulate real-world flaky selectors.

Advanced

Chaos Mode Testing

Build resilient locators that survive randomized classes and dynamic IDs.

Tests found inside

  • Locate buttons and inputs when data-testid attributes randomly disappear
  • Handle dynamic CSS classes that change on every page load
  • Write robust XPath and CSS selectors using text content and ARIA labels

Master advanced selector strategies

Advanced

Nightmare Difficulty

The ultimate selector challenge with maximum randomization.

Tests found inside

  • Navigate pages where all IDs and classes are cryptic random strings
  • Rely on semantic HTML, ARIA roles, and visual hierarchy
  • Prove your framework can handle production-like selector chaos

For experienced automation engineers

FakeBank - Banking Workflows

End-to-end banking playground with role-based access, multi-currency accounts, transfer approvals, and service request workflows. Session-isolated data for independent testing.

Intermediate

Customer Journey Testing

Automate complete customer banking flows including transfers and service requests.

Tests found inside

  • Login as customer, verify account balances and transaction history
  • Create transfers with sufficient/insufficient funds scenarios
  • Submit service requests and track status changes

Perfect for end-to-end UI automation

Advanced

Approval Workflow Automation

Test multi-tier approval workflows for banking professionals.

Tests found inside

  • Create transfers requiring RM or Ops approval
  • Login as RM and approve transfers under $10,000
  • Login as Ops and handle high-value transfer approvals
  • Verify balance updates only after approval

Complex multi-user workflow testing

Intermediate

Role-Based Access Control

Validate permission boundaries across customer, RM, and Ops roles.

Tests found inside

  • Verify customers only see their own accounts
  • Confirm RM sees only assigned customers (C1-C3)
  • Validate Ops has access to all customers
  • Test 403 responses for unauthorized access attempts

Essential for security testing practice

Beginner

Session Isolation Verification

Confirm each tester gets independent FakeBank state.

Tests found inside

  • Open two browsers/sessions with different users
  • Create transfers in each session independently
  • Verify transactions do not appear across sessions
  • Test session reset functionality

Learn session-based testing patterns