@uuv/runner-commons 1.5.1 → 1.6.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
@@ -1,3 +1,16 @@
1
+ # [1.6.0](https://github.com/e2e-test-quest/uuv/compare/runner-commons-v1.5.1...runner-commons-v1.6.0) (2023-07-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * correct link markdown not formated, [#164](https://github.com/e2e-test-quest/uuv/issues/164) ([470e6b6](https://github.com/e2e-test-quest/uuv/commit/470e6b6b07ef43261d14b0e8986cac304daf29d8))
7
+
8
+
9
+ ### Features
10
+
11
+ * add accessibility sentences, [#164](https://github.com/e2e-test-quest/uuv/issues/164) ([e55b2c6](https://github.com/e2e-test-quest/uuv/commit/e55b2c647bec100294794fe34dabe582d2561643))
12
+ * add accessibility tab and arrows, [#166](https://github.com/e2e-test-quest/uuv/issues/166) ([9b926cd](https://github.com/e2e-test-quest/uuv/commit/9b926cd322049860a5f06810027dbeb7efe6d795))
13
+
1
14
  ## [1.5.1](https://github.com/e2e-test-quest/uuv/compare/runner-commons-v1.5.0...runner-commons-v1.5.1) (2023-07-30)
2
15
 
3
16
 
@@ -3,6 +3,10 @@
3
3
  "visit": "",
4
4
  "click": "",
5
5
  "type": "",
6
+ "keyboard": {
7
+ "multiplePress": "",
8
+ "press": ""
9
+ },
6
10
  "timeout": "",
7
11
  "withinElement": {
8
12
  "roleAndName": "",
@@ -58,7 +62,14 @@
58
62
  "withValues": ""
59
63
  },
60
64
  "a11y": {
61
- "check": ""
65
+ "check": {
66
+ "default": "",
67
+ "withFixtureOption": "",
68
+ "withFixtureContextAndFixtureOption": "",
69
+ "onlyCritical": "",
70
+ "withImpacts": "",
71
+ "withTags": ""
72
+ }
62
73
  }
63
74
  }
64
75
  }
@@ -31,6 +31,14 @@ export declare enum STEP_DEFINITION_FILE_NAME {
31
31
  BASE = "base-check-engine",
32
32
  BY_ROLE = "based-role-check-engine"
33
33
  }
34
+ export declare enum KEY_PRESS {
35
+ TAB = "{tab}",
36
+ REVERSE_TAB = "{reverseTab}",
37
+ UP = "{up}",
38
+ DOWN = "{down}",
39
+ LEFT = "{left}",
40
+ RIGHT = "{right}"
41
+ }
34
42
  export declare class Common {
35
43
  static buildDirIfNotExists(directory: string): void;
36
44
  static cleanGeneratedFilesIfExists(generatedFile: string): void;
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.Common = exports.STEP_DEFINITION_FILE_NAME = exports.TEST_RUNNER_ENUM = exports.GenerateFileProcessing = exports.fs = void 0;
20
+ exports.Common = exports.KEY_PRESS = exports.STEP_DEFINITION_FILE_NAME = exports.TEST_RUNNER_ENUM = exports.GenerateFileProcessing = exports.fs = void 0;
21
21
  const fs_1 = __importDefault(require("fs"));
22
22
  exports.fs = fs_1.default;
23
23
  class GenerateFileProcessing {
@@ -41,6 +41,15 @@ var STEP_DEFINITION_FILE_NAME;
41
41
  STEP_DEFINITION_FILE_NAME["BASE"] = "base-check-engine";
42
42
  STEP_DEFINITION_FILE_NAME["BY_ROLE"] = "based-role-check-engine";
43
43
  })(STEP_DEFINITION_FILE_NAME = exports.STEP_DEFINITION_FILE_NAME || (exports.STEP_DEFINITION_FILE_NAME = {}));
44
+ var KEY_PRESS;
45
+ (function (KEY_PRESS) {
46
+ KEY_PRESS["TAB"] = "{tab}";
47
+ KEY_PRESS["REVERSE_TAB"] = "{reverseTab}";
48
+ KEY_PRESS["UP"] = "{up}";
49
+ KEY_PRESS["DOWN"] = "{down}";
50
+ KEY_PRESS["LEFT"] = "{left}";
51
+ KEY_PRESS["RIGHT"] = "{right}";
52
+ })(KEY_PRESS = exports.KEY_PRESS || (exports.KEY_PRESS = {}));
44
53
  class Common {
45
54
  static buildDirIfNotExists(directory) {
46
55
  console.log(`[CREATE] ${directory} CREATE successfully`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uuv/runner-commons",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "type": "commonjs",
5
5
  "author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
6
6
  "description": "A common lib for uuv",