Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to use RegExp pattern to define devices #195

Merged

Conversation

mmarkelov
Copy link
Member

Just think that the using of RegExp will be helpful to define devices.

// jest-playwright.config.js
module.exports = {
    ...
    devices: /iPhone 8/
}

Will run tests for iPhone 8, iPhone 8 landscape, iPhone 8 Plus and iPhone 8 Plus landscape.

Also it will be able for skip test.

@mmarkelov mmarkelov requested a review from mxschmitt as a code owner July 4, 2020 13:16
@github-actions
Copy link

github-actions bot commented Jul 4, 2020

Pull Request Test Coverage Report for Build 157521889

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.4%) to 92.143%

Totals Coverage Status
Change from base Build 157371801: 0.4%
Covered Lines: 84
Relevant Lines: 88

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Jul 4, 2020

Pull Request Test Coverage Report for Build 157521889

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.4%) to 92.143%

Totals Coverage Status
Change from base Build 157371801: 0.4%
Covered Lines: 84
Relevant Lines: 88

💛 - Coveralls

@mmarkelov mmarkelov merged commit 0e7228d into master Jul 7, 2020
@mmarkelov mmarkelov deleted the Add-ability-to-use-Regexp-pattern-to-define-devices branch July 7, 2020 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants