@qavajs/cypress 0.1.1 → 1.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,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
10
10
  :pencil: - chore
11
11
  :microscope: - experimental
12
12
 
13
+ ## [0.2.0]
14
+ - :rocket: added memory write logs support
15
+
13
16
  ## [0.1.1]
14
17
  - :beetle: fix wrong import
15
18
 
package/lib/setup.js CHANGED
@@ -4,10 +4,17 @@ import { setWorldConstructor } from '@qavajs/cypress-runner-adapter';
4
4
 
5
5
  const logger = {
6
6
  log: (value) => {
7
- const [displayName, message] = value.split(/\s->\s/);
7
+ const [displayName, divider, message] = value.split(/\s(->|<-)\s/);
8
8
  Cypress.log({
9
- displayName,
10
- message
9
+ displayName: `${displayName} ${divider}`,
10
+ message,
11
+ type: 'parent',
12
+ consoleProps: () => {
13
+ return {
14
+ Key: displayName,
15
+ Value: message,
16
+ }
17
+ }
11
18
  })
12
19
  }
13
20
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@qavajs/cypress",
3
- "version": "0.1.1",
3
+ "version": "1.0.0",
4
4
  "description": "qavajs compatible framework on cypress runner",
5
- "main": "",
5
+ "main": "index.js",
6
6
  "scripts": {
7
7
  "debug": "cypress open --config-file test-e2e/cypress.config.js",
8
8
  "test": "cypress run --config-file test-e2e/cypress.config.js"
@@ -14,9 +14,9 @@
14
14
  "author": "Alexandr Galichenko",
15
15
  "license": "MIT",
16
16
  "devDependencies": {
17
- "@qavajs/cypress-runner-adapter": "^0.1.1",
18
- "@qavajs/memory": "^1.7.0",
17
+ "@qavajs/cypress-runner-adapter": "^1.0.0",
18
+ "@qavajs/memory": "^1.10.2",
19
19
  "@qavajs/po-cypress": "^0.2.0",
20
- "cypress": "^13.11.0"
20
+ "cypress": "^13.17.0"
21
21
  }
22
22
  }