cypress-pipe
Advanced tools
Comparing version
{ | ||
"name": "cypress-pipe", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Create custom commands using plain-old functions", | ||
@@ -33,4 +33,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"cypress": "^4.0.2" | ||
"cypress": "^10.0.0" | ||
} | ||
} |
@@ -68,6 +68,2 @@ # Cypress Pipe | ||
cy.get('body') | ||
.pipe(getFirst) | ||
.should('contain', 'foobar') | ||
// good | ||
@@ -166,3 +162,3 @@ // synchronous resolution - pipe will retry `getFirst` until it returns a non-empty jQuery element list and contains the text 'foobar' | ||
Add the following to your `cypress/support/index` file: | ||
Add the following to your `cypress/support/commands.js` file: | ||
@@ -169,0 +165,0 @@ ```ts |
15960
-0.36%167
-2.34%