Skip to content

browser testing assertions #649

@danielroe

Description

@danielroe
  • waitForHydration
    await page.waitForFunction(() => window.useNuxtApp?.().isHydrating === false)
  • waitForNavigation
    await page.waitForFunction(() => window.useNuxtApp?.()._route.fullPath === '/islands')

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions