You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed blurBackground async error with defensive guards
- Enhanced error handling in animateAlert() and closeAlert() methods
- Improved AJAX error handling with better type checking
- Fixed auto-advance slideshow test timing (2000ms interval)
- Added comprehensive test documentation to README
- Removed unwanted button borders in CSS
- Enhanced memory management with MutationObserver cleanup
- Improved API consistency with standardized method access
- Updated build files and documentation for new version
Copy file name to clipboardExpand all lines: README.md
+20-6Lines changed: 20 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
[](https://gitter.im/jAlert/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# jAlert - The Ultimate jQuery Modal & Lightbox Plugin
7
7
8
-
**🚀 Version 5.0.4 - Completely Modernized!** A powerful, lightweight jQuery plugin for creating stunning modals, popups, lightboxes, and image slideshows. Perfect for modern web applications that need beautiful, accessible, and responsive dialogs.
8
+
**🚀 Version 5.0.5 - Enhanced Stability!** A powerful, lightweight jQuery plugin for creating stunning modals, popups, lightboxes, and image slideshows. Perfect for modern web applications that need beautiful, accessible, and responsive dialogs.
9
9
10
10
## ✨ Why Choose jAlert?
11
11
@@ -127,12 +127,26 @@ npm install
127
127
128
128
### Build & Test
129
129
```bash
130
-
npm run build # Production build
131
-
npm run dev # Development with watch
132
-
npm test# Run all tests
130
+
# Build commands
131
+
npm run build # Production build (minified)
132
+
npm run dev # Development build with watch mode
133
+
134
+
# Test commands
135
+
npm test# Run unit tests only (fastest)
136
+
npm run test:unit # Run unit tests only (alias)
137
+
npm run test:e2e # Run end-to-end tests with Puppeteer
138
+
npm run test:all # Run unit + e2e tests (full test suite)npm
133
139
```
134
140
135
-
**📋 Test Coverage:** Unit tests, E2E tests with Puppeteer, and visual regression testing.
141
+
**📋 Test Coverage:**
142
+
-**Unit Tests:** Core functionality, slideshow features, and API methods
143
+
-**E2E Tests:** Real browser testing with Puppeteer for user interactions
144
+
-**Visual Regression:** Screenshot comparison testing for UI consistency
145
+
146
+
**🧪 Test Requirements:**
147
+
- E2E tests require Chrome/Chromium browser
148
+
- Visual tests may skip if browser dependencies are unavailable
149
+
- All tests work in CI/CD environments with `--no-sandbox` flag
0 commit comments