Skip to main content

Setup — place-create beforeEach

← Place E2E Tests (hub)

Implementation

Spece2e/tests/place-create.spec.ts
Hooktest.beforeEach on Place creation describe

Automation (Playwright)

  • addInitScript: navigator.onLine === true for headless/container.
  • Cookie banner: role button got it / dismiss cookie.
  • Race: login form vs user view (user-add-place, user-noplaces-warning) vs place view; login with seed user if needed; if landed in place, close with placeedit-close-button / place-close-button until user view.

Flow