张翔
bd0b9a2bb7
fix: check for generic error message instead of specific server error
2026-03-06 18:13:25 +08:00
张翔
22371ce47d
fix: use page.content() for more reliable message checking
2026-03-06 18:10:46 +08:00
张翔
6a79cb883f
fix: update tests to use success message for successful submission and proper timeout for API error
2026-03-06 18:08:45 +08:00
张翔
9da7878695
fix: use waitForSelector for toast elements instead of timeouts
2026-03-06 18:06:29 +08:00
张翔
7cf888f09d
fix: set API routes before addInitScript to ensure proper interception
2026-03-06 18:04:03 +08:00
张翔
f99b5c8f86
fix: use explicit timeouts instead of waitForToast methods
2026-03-06 18:02:14 +08:00
张翔
4e26f47b78
fix: use sessionStorage instead of localStorage for CSRF token mocking
2026-03-06 17:59:47 +08:00
张翔
8b6040e3f5
fix: add CSRF token mocking to all form tests
2026-03-06 17:57:30 +08:00
张翔
fdf7bad5eb
fix: update toast message extraction and test expectations
2026-03-06 17:55:06 +08:00
张翔
c8220feea9
fix: update API error test to check for correct error message
2026-03-06 17:51:40 +08:00
张翔
badce55606
feat: add data-testid and data-type support to Toast component
2026-03-06 17:49:27 +08:00
张翔
3da8ef7072
fix: update form tests to properly handle toast component and async UI updates
2026-03-06 17:47:39 +08:00
张翔
292d672b3a
fix: correct CSS selectors and add toast handling methods in ContactPage
2026-03-06 17:46:22 +08:00
张翔
0222f20a19
feat: add data-testid attributes for form elements to improve testability
2026-03-06 17:45:41 +08:00
张翔
f15830b0a6
docs: add final test summary and update form tests
2026-03-06 13:17:40 +08:00
张翔
8cfc16e142
fix: update ContactPage and form tests to match actual form structure
2026-03-06 13:15:17 +08:00
张翔
bdd89c0c58
docs: add test framework refactoring completion summary
2026-03-06 13:03:54 +08:00
张翔
7363e542f0
docs: add phase 3 completion summary
2026-03-06 12:58:40 +08:00
张翔
e5e8c772ac
docs: add comprehensive README documentation
2026-03-06 12:57:43 +08:00
张翔
c51ff36b91
feat: add one-click test runner script
2026-03-06 12:57:17 +08:00
张翔
e24cbd0a55
feat: add comprehensive test report generator
2026-03-06 12:56:35 +08:00
张翔
33568b38a4
chore: remove old scripts directory (backed up to scripts.backup)
2026-03-06 12:55:55 +08:00
张翔
79726c4533
docs: add phase 2 completion summary
2026-03-06 12:24:21 +08:00
张翔
689779d69e
chore: install dependencies and verify tests
2026-03-06 12:23:58 +08:00
张翔
4f23df4c94
feat: add TypeScript configuration
2026-03-06 12:23:10 +08:00
张翔
2de4599ddd
feat: add package.json with test scripts
2026-03-06 12:22:53 +08:00
张翔
99a9ed75ea
feat: add Playwright configuration for dev-audit
2026-03-06 12:22:33 +08:00
张翔
c63f86c302
feat: add dev-audit test suites
2026-03-06 12:22:10 +08:00
张翔
f41bd12517
docs: add phase 1 completion summary
2026-03-06 12:15:22 +08:00
张翔
e164313b87
feat: add E2E test examples using shared layer
2026-03-06 12:14:51 +08:00
张翔
0c1716d97e
feat: add shared layer verification script
2026-03-06 12:14:11 +08:00
张翔
1704a3673f
feat: add shared layer export file
2026-03-06 12:13:21 +08:00
张翔
e47171bf01
feat: add shared fixtures for testing
2026-03-06 12:13:01 +08:00
张翔
b6084ec01a
feat: add SEO validation utility
2026-03-06 12:09:18 +08:00
张翔
69dc3f2da6
feat: add accessibility testing utility
2026-03-06 12:08:50 +08:00
张翔
f8a080d0ca
feat: add performance testing utilities
2026-03-06 12:08:30 +08:00
张翔
50ecd7a241
feat: add page objects for all pages
2026-03-06 12:07:18 +08:00
张翔
b8d22aac9f
feat: add base page object with common methods
2026-03-06 12:06:50 +08:00
张翔
c7686bf1a3
feat: add configuration management system
2026-03-06 12:05:51 +08:00
张翔
66c868de03
feat: add type definitions for test framework
2026-03-06 12:05:27 +08:00
张翔
0171e97b82
chore: update package-lock.json
2026-03-06 12:02:38 +08:00
张翔
752fb228b6
docs: add test framework refactoring implementation plan
2026-03-06 11:59:03 +08:00
张翔
61e82b7e56
docs: add remaining planning documents
2026-03-06 11:51:46 +08:00
张翔
ddbab19657
docs: add test framework refactoring design document
2026-03-06 11:48:57 +08:00
张翔
71560b016b
fix: correct lighthouse result structure access
2026-03-06 11:24:51 +08:00
张翔
db992cf4fb
fix: correct lighthouse and chrome-launcher imports
2026-03-06 11:22:19 +08:00
张翔
4036b286a0
fix: add missing fs and path imports to scripts
2026-03-06 10:19:22 +08:00
张翔
54bdafa47f
fix: correct score calculation in accessibility test
2026-03-06 10:17:49 +08:00
张翔
e82f5b26aa
fix: use browser.newContext() for axe-core/playwright compatibility
2026-03-06 10:17:09 +08:00
张翔
755e0889a5
docs: add testing scripts documentation
2026-03-06 10:12:53 +08:00
张翔
db9f61ea19
chore: add test results directory structure
2026-03-06 10:12:10 +08:00
张翔
fd2528fa52
chore: add audit and test scripts to package.json
2026-03-06 10:10:12 +08:00
张翔
614fa8f85e
feat: add one-click test runner script
2026-03-06 10:09:44 +08:00
张翔
dc41aaf04e
feat: add comprehensive test report generator
2026-03-06 10:09:04 +08:00
张翔
7e023f0bf1
feat: add form validation testing script
2026-03-06 10:07:52 +08:00
张翔
4b84f28065
feat: add accessibility testing script with axe-core
2026-03-06 10:05:10 +08:00
张翔
2202d4045b
feat: add SEO validation script
2026-03-06 10:04:06 +08:00
张翔
0bedc7e023
feat: add performance audit script with Lighthouse
2026-03-06 10:02:58 +08:00
张翔
c4d135d37e
fix: optimize test timeouts and wait conditions for better stability
2026-03-05 23:00:32 +08:00
张翔
c678df44ae
fix: improve footer visibility with data-testid and waitForFooter method
2026-03-05 22:53:12 +08:00
张翔
f91f57cbbb
fix: improve scrollToSection and skip Contact section test on home page
2026-03-05 22:49:32 +08:00
张翔
44e756aa3b
fix: improve scrollToTop implementation and test expectations
2026-03-05 22:14:23 +08:00
张翔
2d6cd79067
fix: add name and data-testid attributes for form input fields
2026-03-05 21:51:50 +08:00
张翔
318081a62a
fix: add data-testid attributes for contact page elements
2026-03-05 21:49:12 +08:00
张翔
2f6f6a6aca
fix: add navigation role attribute for better test selector
2026-03-05 20:59:25 +08:00
张翔
3c5d79f7e3
feat: merge mobile testing implementation
...
- Add comprehensive mobile testing framework
- Implement gesture simulator with swipe, pinch, long press, double tap, and drag
- Add network simulator for various network conditions
- Implement mobile performance monitor with Core Web Vitals
- Create mobile test suites for performance, compatibility, gesture, PWA, and network
- Add mobile test reporter with HTML report generation
- Optimize parallel test execution
- Add mobile testing documentation~
2026-03-05 16:45:18 +08:00
张翔
136fe7ac04
fix: update gitignore and footer component
2026-03-05 16:43:44 +08:00
张翔
a3533a8c98
fix: resolve transferSize TypeScript error in mobile performance test
2026-03-05 16:43:04 +08:00
张翔
941e5170e1
fix: resolve remaining TypeScript errors in mobile testing~
2026-03-05 16:42:16 +08:00
张翔
c4fcbb6059
fix: resolve TypeScript type errors in mobile testing utilities~
2026-03-05 16:31:47 +08:00
张翔
8bca0e0af4
docs: add mobile testing guide
2026-03-05 16:09:20 +08:00
张翔
94204a1a45
feat: optimize parallel test execution
2026-03-05 16:02:16 +08:00
张翔
597a39d3ec
feat: implement HTML report generation in MobileTestReporter
2026-03-05 16:01:27 +08:00
张翔
8a43c0f5c2
feat: create MobileTestReporter base structure
2026-03-05 15:58:25 +08:00
张翔
9e5d61cfed
feat: add mobile network environment test suite
2026-03-05 15:50:05 +08:00
张翔
0074a9aab1
feat: add mobile PWA functionality test suite
2026-03-05 15:48:07 +08:00
张翔
edb8b249f8
feat: add mobile gesture interaction test suite
2026-03-05 15:30:13 +08:00
张翔
57c002b26c
feat: add mobile compatibility test suite
2026-03-05 15:28:51 +08:00
张翔
8611f84b48
feat: add mobile performance test suite
2026-03-05 15:27:55 +08:00
张翔
834dbcadf4
feat: implement Core Web Vitals monitoring in MobilePerformanceMonitor
2026-03-05 15:23:16 +08:00
张翔
3f18618c84
feat: create MobilePerformanceMonitor base structure
2026-03-05 15:21:29 +08:00
张翔
858eb2efcf
feat: implement network condition simulation in NetworkSimulator
2026-03-05 15:20:40 +08:00
张翔
06c5fe8f82
feat: integrate Lighthouse in MobilePerformanceMonitor
2026-03-05 15:15:22 +08:00
张翔
8194317a20
feat: implement Core Web Vitals monitoring in MobilePerformanceMonitor
2026-03-05 15:12:33 +08:00
张翔
478adb1986
feat: create MobilePerformanceMonitor base structure
2026-03-05 15:11:22 +08:00
张翔
01d966bed3
feat: implement network condition simulation in NetworkSimulator
2026-03-05 15:10:02 +08:00
张翔
dd9ccfe8b3
feat: create NetworkSimulator base structure
2026-03-05 15:05:50 +08:00
张翔
531cd1567a
feat: implement drag gesture in GestureSimulator
2026-03-05 15:04:29 +08:00
张翔
12ff5fc1f3
feat: implement long press and double tap gestures
2026-03-05 14:59:06 +08:00
张翔
302fafef49
feat: implement pinch gesture in GestureSimulator
2026-03-05 14:58:28 +08:00
张翔
656480a95d
feat: implement swipe gesture in GestureSimulator
2026-03-05 14:51:33 +08:00
张翔
f2bd48f634
feat: create GestureSimulator base structure
2026-03-05 14:46:55 +08:00
张翔
56d1172588
feat: extend Playwright config for mobile testing
2026-03-05 14:36:02 +08:00
张翔
726579a833
feat: add mobile test data generator
2026-03-05 14:34:44 +08:00
张翔
c4d758ad6e
feat: add network configuration for mobile testing
2026-03-05 14:32:46 +08:00
张翔
7777675e3e
feat: add iPad device configurations (iPad Air, iPad Pro 12.9)
2026-03-05 14:31:54 +08:00
张翔
0de19b4371
feat: add Android device configurations (Pixel 7, Galaxy S23)
2026-03-05 14:30:47 +08:00
张翔
fa77f36b4d
feat: add iPhone 13/14/15 Pro device configurations
2026-03-05 14:29:34 +08:00
张翔
060566fd73
chore: clean up mobile test files and update components
2026-03-05 14:23:19 +08:00
张翔
0bb1f5c12a
docs: add mobile testing execution guide
2026-03-05 14:19:28 +08:00