Skip to content

jestPlaywrightSkip is not a function (with xdescribe) #745

Open
@yj-ang

Description

@yj-ang

Describe the bug
Using jestPlaywrightSkip (and any other extend methods) with either xdescribe or xit is throwing JS error, which make a test/test suite fail.

To Reproduce
Steps to reproduce the behavior:

  1. Use jestPlaywrightSkip with either xdescribe or xit.

Expected behavior
Instead of failing the test/test suite, it should properly skip them.

Screenshots
Screenshot 2021-06-09 at 4 46 26 PM

Desktop:

  • OS: macOS
  • Playwright version: 1.10.0
  • jest-playwright version: 1.5.1

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