DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Testing Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Testing
Which type of assertions should you write in Playwright to enable automatic waiting during assertions?
A
Standard Jest assertions: `expect(await page.isVisible()).toBe(true)`
B
Web-first assertions: `await expect(page.locator('button')).toBeVisible()`
C
Static assert calls: `assert.strictEqual(val, true)`
D
State checks: `expect(locator.state).toBe('ready')`
Check Answer