cypress-each
Advanced tools
Comparing version 1.10.0 to 1.11.0
{ | ||
"name": "cypress-each", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "Simple implementation for describe.each and it.each", | ||
@@ -19,7 +19,7 @@ "main": "src", | ||
"devDependencies": { | ||
"cypress": "9.0.0", | ||
"cypress-expect": "2.5.0", | ||
"cypress": "9.4.1", | ||
"cypress-expect": "2.5.1", | ||
"mocha-each": "^2.0.1", | ||
"prettier": "^2.4.1", | ||
"semantic-release": "18.0.0", | ||
"semantic-release": "19.0.2", | ||
"typescript": "^4.4.3" | ||
@@ -26,0 +26,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
# cypress-each ![cypress version](https://img.shields.io/badge/cypress-9.0.0-brightgreen) [![renovate-app badge][renovate-badge]][renovate-app] [![ci](https://github.com/bahmutov/cypress-each/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/bahmutov/cypress-each/actions/workflows/ci.yml) | ||
# cypress-each ![cypress version](https://img.shields.io/badge/cypress-9.4.1-brightgreen) [![renovate-app badge][renovate-badge]][renovate-app] [![ci](https://github.com/bahmutov/cypress-each/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/bahmutov/cypress-each/actions/workflows/ci.yml) | ||
> A demo of mocha-each and custom describe.each and it.each implementation for Cypress | ||
@@ -14,2 +14,3 @@ | ||
- [Test Each URL From Sitemap In Its Own Separate Cypress Test](https://youtu.be/qkofPocd7lY) | ||
- [Using Faker to generate test data and execute separate tests using cypress-each plugin](https://youtu.be/WO3ujoEhVUc) | ||
@@ -16,0 +17,0 @@ ## Install and use |
@@ -109,3 +109,3 @@ /// <reference types="cypress" /> | ||
if (!describe.each) { | ||
describe.each = function (values) { | ||
context.each = describe.each = function (values) { | ||
if (typeof values === 'number') { | ||
@@ -112,0 +112,0 @@ // the user wants to repeat the same suite N times |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17677
335