Read a measurement from the size chart table
Medium45 pts~2 min
- Tables
- Row lookup
- Radio groups
- Modals
Practice app · StyleKart
A fashion store with Men, Women and Kids listings: multi-select filters with removable chips, a custom sort listbox, load-more paging, product pages with colour swatches, sizes, a size-chart modal and a hover gallery, a wishlist, a bag with per-line sizes and a coupons modal, sign-up validation and checkout.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Open the size chart of the Slim Fit Oxford Shirt, switch it to centimetres, select size L from the chart and verify the chest measurement for L is 104.1 cm.
Your task
- 1Open TEST_URL, go to Men (#nav-men) and open the Slim Fit Oxford Shirt (data-product-id="m-oxford-shirt").
- 2Click “Size chart” (#size-chart-link) and wait for the dialog #size-chart-modal.
- 3Click the cm unit (#unit-cm) and select the L row's radio (#chart-size-L).
- 4Find the L row in #size-chart-table and assert its Chest cell reads 104.1. Leave the size chart open.
Acceptance criteria
- The size chart is open in centimetres.
- Size L is selected in the chart and on the product page.
- The test asserts the chest measurement of 104.1 cm.
Fixtures
- Coupons
- STYLE20 (20% off bags of ₹1,999 or more) · FIRST100 (₹100 off)
- Valid mobile
- 10 digits starting with 6, 7, 8 or 9, e.g. 9123456780
- Password rules
- 8+ characters with an uppercase letter, a number and a special character, e.g. Style@2026
- Seeded bag
- Floral Wrap Midi Dress (Pink, S) ×1 · Essential Crew Neck T-Shirt (Black, M) ×2 · Square Neck Crop Top (White, S) ×1
- Delivery address
- Rohan Mehta · 9876543210 · 400001 · Flat 12, Sea View Apartments · Mumbai · Maharashtra
Playwright · Playwright Challenges · StyleKart