@jscutlery/cypress-harness 0.4.3 → 0.4.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.4.6](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.5...cypress-harness-0.4.6) (2023-10-25)
6
+
7
+
8
+
9
+ ## [0.4.5](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.4...cypress-harness-0.4.5) (2023-10-25)
10
+
11
+
12
+
13
+ ## [0.4.5](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.4...cypress-harness-0.4.5) (2023-10-25)
14
+
15
+
16
+
17
+ ## [0.4.5](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.4...cypress-harness-0.4.5) (2023-10-25)
18
+
19
+
20
+
21
+ ## [0.4.5](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.4...cypress-harness-0.4.5) (2023-10-25)
22
+
23
+
24
+
25
+ ## [0.4.5](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.4...cypress-harness-0.4.5) (2023-10-25)
26
+
27
+
28
+
29
+ ## [0.4.4](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.3...cypress-harness-0.4.4) (2023-05-24)
30
+
31
+
32
+
5
33
  ## [0.4.3](https://github.com/jscutlery/devkit/compare/cypress-harness-0.4.2...cypress-harness-0.4.3) (2023-05-22)
6
34
 
7
35
 
package/README.md CHANGED
@@ -43,8 +43,8 @@ import { getPreprocessorConfig } from '@jscutlery/cypress-harness/preprocessor-c
43
43
  export default defineConfig({
44
44
  e2e: {
45
45
  // ... other existing settings if any (like nxE2EPreset() if using Nx).
46
- ...getPreprocessorConfig()
47
- }
46
+ ...getPreprocessorConfig(),
47
+ },
48
48
  });
49
49
  ```
50
50
 
@@ -74,7 +74,7 @@ describe('datepicker', () => {
74
74
  cy.visit('/'); // or cy.mount(MyComponent); for component testing.
75
75
  datepicker.setValue('1/1/2010');
76
76
  datepicker.openCalendar();
77
- datepicker.getCalendar().invoke('next'); // next method is already used
77
+ datepicker.getCalendar().then((harness) => harness.next()); // next method is already used
78
78
  datepicker.getCalendar().selectCell({ text: '10' });
79
79
  datepicker.getValue().should('equal', '2/10/2010');
80
80
  calendars.should('be.empty');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscutlery/cypress-harness",
3
- "version": "0.4.3",
3
+ "version": "0.4.6",
4
4
  "repository": {
5
5
  "url": "https://github.com/jscutlery/devkit"
6
6
  },
@@ -26,15 +26,15 @@
26
26
  "dependencies": {
27
27
  "@cypress/webpack-batteries-included-preprocessor": "^2.2.4",
28
28
  "@cypress/webpack-preprocessor": "^5.0.0",
29
- "webpack": "^5.0.0"
29
+ "webpack": "^5.0.0",
30
+ "tslib": "2.6.2"
30
31
  },
31
32
  "peerDependencies": {
32
33
  "@angular/cdk": "*",
33
34
  "cypress": "*",
34
35
  "cypress-pipe": "*",
35
- "zone.js": "*",
36
- "tslib": "2.4.0"
36
+ "zone.js": "*"
37
37
  },
38
38
  "main": "./src/index.js",
39
- "types": "./src/index.d.ts"
39
+ "type": "commonjs"
40
40
  }
@@ -1,8 +1,5 @@
1
1
  /// <reference types="cypress" />
2
2
  /// <reference types="cypress" />
3
- /// <reference types="cypress-pipe" />
4
- /// <reference types="cypress" />
5
- /// <reference types="cypress" />
6
3
  import { ComponentHarness } from '@angular/cdk/testing';
7
4
  import { CypressHarnessEnvironment } from './cypress-harness-environment';
8
5
  export type ChainableHarness<HARNESS> = Cypress.Chainable<HARNESS> & {