@genesislcap/foundation-testing 14.203.0 → 14.203.2-alpha-9f2807c.0
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.
- package/README.md +5 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -49,6 +49,7 @@ The foundation-testing package is a comprehensive framework for implementing End
|
|
|
49
49
|
- Integrate Lighthouse into your E2E tests to run performance audits alongside functional tests.
|
|
50
50
|
- Use the insights from Lighthouse reports to identify and address performance issues, optimizing your application for speed and user experience.
|
|
51
51
|
4. **Advanced features**:
|
|
52
|
+
- **BDD Testing**: Write behavior-driven tests using `playwright-bdd`, making it easier to define test scenarios and expectations in a human-readable format.
|
|
52
53
|
- **Cross-Browser Testing**: Use the Playwright cross-browser support to ensure your application works seamlessly across different browsers, including Chrome, Firefox, and WebKit.
|
|
53
54
|
- **Visual Testing**: Use the Playwrights screenshot and visual comparison features to validate the consistency of your UI across different devices and resolutions.
|
|
54
55
|
- **Performance Budgets**: Set performance thresholds using Lighthouse to maintain high performance standards, ensuring metrics like Time to Interactive (TTI) and First Contentful Paint (FCP) stay within acceptable limits.
|
|
@@ -281,9 +282,10 @@ To enable this module in your application, follow the steps below.
|
|
|
281
282
|
|
|
282
283
|
### **E2E Resources and Further Documentation:**
|
|
283
284
|
|
|
284
|
-
-
|
|
285
|
-
-
|
|
286
|
-
-
|
|
285
|
+
- [foundation-testing](https://github.com/genesislcap/foundation-ui/tree/master/packages/foundation/foundation-testing)
|
|
286
|
+
- [Playwright Documentation](https://playwright.dev/)
|
|
287
|
+
- [playwright-bdd](https://github.com/vitalets/playwright-bdd)
|
|
288
|
+
- [Lighthouse Documentation](https://developers.google.com/web/tools/lighthouse)
|
|
287
289
|
|
|
288
290
|
## [API Docs](./docs/api/index.md)
|
|
289
291
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-testing",
|
|
3
3
|
"description": "Genesis Foundation Testing",
|
|
4
|
-
"version": "14.203.0",
|
|
4
|
+
"version": "14.203.2-alpha-9f2807c.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
"typescript": "^4.9.5"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@genesislcap/foundation-logger": "14.203.0",
|
|
82
|
+
"@genesislcap/foundation-logger": "14.203.2-alpha-9f2807c.0",
|
|
83
83
|
"@microsoft/fast-element": "^1.12.0",
|
|
84
84
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
85
|
-
"@playwright/test": "^1.
|
|
85
|
+
"@playwright/test": "^1.46.1",
|
|
86
86
|
"jsdom": "^24.0.0",
|
|
87
87
|
"lighthouse": "^9.6.8",
|
|
88
88
|
"playwright-bdd": "^7.2.2",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"publishConfig": {
|
|
102
102
|
"access": "public"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "387e4c10a1ada9189d6cb3bed778a7aabdda6ee5"
|
|
105
105
|
}
|