@qavajs/cypress 2.9.0 → 3.0.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/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
10
10
  :pencil: - chore
11
11
  :microscope: - experimental
12
12
 
13
+ ## [3.0.0]
14
+ - :rocket: bumped to Cypress `^16.0.0` and `@qavajs/cypress-runner-adapter` `^2.0.1`
15
+ - :x: switched `cypress.config.js` to ESM `import` syntax (breaking for CommonJS `require`-based configs)
16
+
13
17
  ## [2.9.0]
14
18
  - :pencil: added TypeScript declaration files (`index.d.ts`, `po.d.ts`, `defineQavajs.d.ts`)
15
19
  - :pencil: added `tsconfig.json`
package/README.md CHANGED
@@ -14,10 +14,10 @@ npm install @qavajs/cypress @qavajs/cypress-runner-adapter @qavajs/memory
14
14
 
15
15
  **cypress.config.js**
16
16
  ```javascript
17
- const { defineConfig } = require('cypress');
18
- const cucumber = require('@qavajs/cypress-runner-adapter/adapter');
17
+ import { defineConfig } from 'cypress';
18
+ import cucumber from '@qavajs/cypress-runner-adapter/adapter';
19
19
 
20
- module.exports = defineConfig({
20
+ export default defineConfig({
21
21
  e2e: {
22
22
  specPattern: 'cypress/features/**/*.feature',
23
23
  supportFile: 'cypress/support/e2e.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qavajs/cypress",
3
- "version": "2.9.0",
3
+ "version": "3.0.0",
4
4
  "description": "qavajs for cypress runner",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "scripts": {
22
22
  "debug": "cypress open --config-file test-e2e/cypress.config.js",
23
23
  "debug:it": "MODE=it cypress open --config-file test-e2e/cypress.config.js",
24
- "test": "cypress run --config-file test-e2e/cypress.config.js",
25
- "test:it": "MODE=it cypress run --config-file test-e2e/cypress.config.js"
24
+ "test": "cypress run --config-file test-e2e/cypress.config.js --browser chrome",
25
+ "test:it": "MODE=it cypress run --config-file test-e2e/cypress.config.js --browser chrome"
26
26
  },
27
27
  "keywords": [
28
28
  "QA",
@@ -47,8 +47,8 @@
47
47
  "node": ">=18"
48
48
  },
49
49
  "devDependencies": {
50
- "@qavajs/cypress-runner-adapter": "^1.11.0",
50
+ "@qavajs/cypress-runner-adapter": "^2.0.1",
51
51
  "@qavajs/memory": "^1.11.0",
52
- "cypress": "^15.15.0"
52
+ "cypress": "^16.0.0"
53
53
  }
54
54
  }