generated from mmisty/cypress-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix 1 * cleanup * fix * fix help * fix 2 * fix types * fix types 2 * 1.6.4 * fix types * fix example * fix default vars * fix defaults * fixes * fix passing env * 1.6.7 * fix tests
- Loading branch information
Showing
16 changed files
with
120 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mmisty/cypress-grep", | ||
"version": "1.6.2", | ||
"version": "1.6.7", | ||
"description": "Filters tests by tags/title using substring or regular expressions (can find dynamic tags)", | ||
"main": "index.js", | ||
"repository": "[email protected]:mmisty/cypress-grep.git", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference | ||
/// <reference path="./cypress/cypress.ts" /> | ||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference | ||
/// <reference path="./mocha/index.ts" /> | ||
|
||
// here export only functions to run in browser | ||
export { registerCypressGrep } from './setup'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,9 @@ | ||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference | ||
/// <reference path="./cypress/cypress.ts" /> | ||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference | ||
/// <reference path="./mocha/index.ts" /> | ||
import { registerCypressGrep } from './setup'; | ||
import { grepEnvVars } from './common/envVars'; | ||
|
||
// this is to import with ECMS2015 syntax | ||
// import '@mmisty/cypress-grep/register'; | ||
registerCypressGrep({ | ||
addControlToUI: | ||
// default true | ||
Cypress.env(grepEnvVars.addControlToUI) === undefined || | ||
Cypress.env(grepEnvVars.addControlToUI) === 'true' || | ||
Cypress.env(grepEnvVars.addControlToUI) === true, | ||
|
||
showTagsInTitle: | ||
// default true | ||
Cypress.env(grepEnvVars.showTagsInTitle) === undefined || | ||
Cypress.env(grepEnvVars.showTagsInTitle) === 'true' || | ||
Cypress.env(grepEnvVars.showTagsInTitle) === true, | ||
|
||
showExcludedTests: | ||
// default true | ||
Cypress.env(grepEnvVars.showExcludedTests) === undefined || | ||
Cypress.env(grepEnvVars.showExcludedTests) === 'true' || | ||
Cypress.env(grepEnvVars.showExcludedTests) === true, | ||
}); | ||
registerCypressGrep(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.