@page-component-object/adapter-cypress 0.1.0 → 0.1.1
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 +24 -0
- package/package.json +24 -4
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @page-component-object/adapter-cypress
|
|
2
|
+
|
|
3
|
+
> **Start here:** [Page Component Object (PCO) — main README](https://github.com/dvegap95/page-component-test-object#readme)
|
|
4
|
+
|
|
5
|
+
Cypress integration — `@testing-library/cypress` queries, getter reuse from shared test objects, and `PCOChainable` semantic actions. Experimental in 0.1.0.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @page-component-object/adapter-cypress
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Documentation
|
|
14
|
+
|
|
15
|
+
All guides live in the monorepo — this page is a package entry point on npm.
|
|
16
|
+
|
|
17
|
+
- [**Main README** — overview, quick example, package list](https://github.com/dvegap95/page-component-test-object#readme)
|
|
18
|
+
- [Getting started](https://github.com/dvegap95/page-component-test-object/blob/master/docs/getting-started.md)
|
|
19
|
+
- [Project structure (`__pco__`)](https://github.com/dvegap95/page-component-test-object/blob/master/docs/project-structure.md)
|
|
20
|
+
- [Philosophy (query → primitive → intent)](https://github.com/dvegap95/page-component-test-object/blob/master/docs/philosophy.md)
|
|
21
|
+
|
|
22
|
+
## Package
|
|
23
|
+
|
|
24
|
+
`adapter-cypress` in the [page-component-test-object](https://github.com/dvegap95/page-component-test-object) monorepo.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@page-component-object/adapter-cypress",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
"main": "./dist/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"files": [
|
|
14
|
-
"dist"
|
|
14
|
+
"dist",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
15
17
|
],
|
|
16
18
|
"dependencies": {
|
|
17
|
-
"@page-component-object/core": "0.1.
|
|
18
|
-
"@page-component-object/queries": "0.1.
|
|
19
|
+
"@page-component-object/core": "0.1.1",
|
|
20
|
+
"@page-component-object/queries": "0.1.1"
|
|
19
21
|
},
|
|
20
22
|
"peerDependencies": {
|
|
21
23
|
"@testing-library/cypress": "^10.0.0",
|
|
@@ -41,6 +43,24 @@
|
|
|
41
43
|
"publishConfig": {
|
|
42
44
|
"access": "public"
|
|
43
45
|
},
|
|
46
|
+
"description": "Cypress E2E adapter — CypressComponentTestObject and PCOChainable",
|
|
47
|
+
"keywords": [
|
|
48
|
+
"adapter",
|
|
49
|
+
"behavioral-testing",
|
|
50
|
+
"cypress",
|
|
51
|
+
"cypress-adapter",
|
|
52
|
+
"e2e",
|
|
53
|
+
"jest",
|
|
54
|
+
"msw",
|
|
55
|
+
"page-component-object",
|
|
56
|
+
"page-object",
|
|
57
|
+
"pco",
|
|
58
|
+
"react",
|
|
59
|
+
"storybook",
|
|
60
|
+
"test-object",
|
|
61
|
+
"testing-library",
|
|
62
|
+
"vitest"
|
|
63
|
+
],
|
|
44
64
|
"scripts": {
|
|
45
65
|
"build": "tsup",
|
|
46
66
|
"typecheck": "tsc --noEmit",
|