Skip to main content
Testing & QA Code Reorder Hard +35 XP

E2E Test Flow

Arrange a Playwright/Cypress E2E test.

Click lines in the correct order

Available lines5 left

Your order

Click lines above to build your solution.

Show answer and explanation

Answer: await page.goto('/login'); await page.fill('#email', 'user@test.com'); await page.fill('#password', 'secret'); await page.click('button[type=submit]'); expect(page.url()).toContain('/dashboard');

Navigate, fill credentials, submit form, then assert the resulting URL.

Hint: Navigate first, fill form, submit, then assert.

What this challenge tests

Code Reorder in Testing & QA: e2e, playwright.

Related challenges