Skip to content

Cannot read property 'getCookies' of undefined when using setSharedCookies #4

@undsoft

Description

@undsoft
  1. Follow steps described in Codeceptjs Quickstart to init a new project (installs codeceptjs ~2.6.0).
  2. Add custom helper that uses REST helper to make requests and call it in a test.
  3. Add setSharedCookies() to config.

"before all" hook: BeforeSuite for "test something":
Cannot read property 'getCookies' of undefined

Minimal reproduction is here:
https://github.com/undsoft/codeceptjs-set-shared-cookies-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions