@rachelallyson/hero-hook-form 2.1.2 → 2.1.3

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/CHANGELOG.md +19 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.1.3] - 2025-01-28
6
+
7
+ ### Fixed
8
+
9
+ - **Cypress Form Submission Helpers**: Improved reliability of `cy.submitForm()` and related submission helpers
10
+ - Added form existence verification before submission
11
+ - Added submit button visibility and enabled state checks
12
+ - Implemented retry logic for better handling of timing issues
13
+ - Fixed `submitAndExpectSuccess()`, `submitAndExpectErrors()`, and `interceptFormSubmission()` helpers
14
+ - Made `expectFieldError()` more flexible by making `errorMessage` parameter optional
15
+ - Fixed TypeScript type compatibility issues in `getFormData()`
16
+ - All helpers now properly wait for forms to be ready before interacting
17
+
18
+ ### Added
19
+
20
+ - **Test Coverage**: Added comprehensive tests for `cy.submitForm()` helper in ZodForm component tests
21
+ - Tests successful form submission
22
+ - Tests validation error handling with submission helpers
23
+
5
24
  ## [2.1.2] - 2025-01-28
6
25
 
7
26
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rachelallyson/hero-hook-form",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Typed form helpers that combine React Hook Form and HeroUI components.",
5
5
  "author": "Rachel Higley",
6
6
  "homepage": "https://rachelallyson.github.io/hero-hook-form/",