@koenvanbelle/cypress-soft-assertions 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -122,7 +122,7 @@ describe('User Profile', () => {
122
122
  cy.get('.username').should('have.text', 'john_doe');
123
123
  cy.get('.email').should('have.text', 'john@example.com');
124
124
  cy.get('.member-since').should('contain', '2023');
125
- cy.get('.posts-count').should('have.text', '42
125
+ cy.get('.posts-count').should('have.text', '42');
126
126
 
127
127
  // Chained assertions
128
128
  cy.get('.button')
@@ -170,6 +170,8 @@ describe('Test Suite', () => {
170
170
  // Run only this test
171
171
  soft_it.only('validates important fields', () => {
172
172
  cy.get('.field1').should('exist');
173
+ ```
174
+
173
175
  The plugin supports `.only` and `.skip` modifiers just like regular `it()`:
174
176
 
175
177
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koenvanbelle/cypress-soft-assertions",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A Cypress plugin that provides soft_it() for soft assertions - all assertions continue on failure and are reported together",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",