Click in order · Vue.js course · Module 12: Testing & Deploy

Playwright - navigation and assertion

Arrange the Playwright code that opens a page and checks its title:

Items to click

  • .goto('/')
  • .toHaveTitle('Gallery')
  • await expect(page)
  • await page

You can check the correct answer by solving this task in the CodeWorlds game.