← Phòng luyện tập
Online Testing · 20 câu

Playwright: quan sát UI, route và phạm vi trạng thái

20 câu về giới hạn assertion, locator, nhập liệu, mock network, cookie và tác dụng phụ khi retry.

Nội dung luyện tập

  • pw locator resolves current dom
  • pw hidden assertion allows absence
  • pw input value not markup attribute
  • pw count versus strict action
  • pw has filter relative scope
  • pw open shadow root locator boundary
  • pw list subsequence not exact list
  • pw all captures current list length
  • pw route chain fallback versus continue
  • pw api cookie jar sharing
  • pw fill does not replay keystrokes
  • pw storage state excludes session storage
  • pw route fetch then fulfill modified body
  • pw api status default does not throw
  • pw force click weakens receives events evidence
  • pw popup first navigation route scope
  • pw network idle not product readiness
  • pw auth state artifact is credential
  • pw retry block repeats side effects
  • pw serial group retry repeats passed step

Mỗi câu đúng 1 điểm. Mục tiêu 70%. Đáp án và giải thích mở sau khi nộp bài.

Chế độ làm bài