@axinom/mosaic-e2e-ui-selectors 0.6.0-rc.0 → 0.6.0-rc.2

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.
@@ -16,11 +16,5 @@ export declare class SelectField extends TypedFormField {
16
16
  setValueByLabel(label: string): Promise<void>;
17
17
  /** This method verifies the field type and returns the selected value. */
18
18
  getValue(): Promise<string | null>;
19
- /**
20
- * This method waits for the 1st option element to be loaded inside the select element.
21
- *
22
- * Useful in situations where the options are loaded asynchronously.
23
- */
24
- waitForData(): Promise<void>;
25
19
  }
26
20
  //# sourceMappingURL=select-field.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-field.d.ts","sourceRoot":"","sources":["../../../src/component-models/form/select-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C;;GAEG;AACH,qBAAa,WAAY,SAAQ,cAAc;IAC7C,kBAAkB;IAClB,cAAuB,kBAAkB,IAAI,MAAM,CAElD;IAED,oDAAoD;IACpD,SAAS,CAAC,QAAQ,CAAC,MAAM,oCAA+B;IAExD,uEAAuE;IACjE,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAM5C;;;OAGG;IACG,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMnD,0EAA0E;IACpE,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAMxC;;;;OAIG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;CAMnC"}
1
+ {"version":3,"file":"select-field.d.ts","sourceRoot":"","sources":["../../../src/component-models/form/select-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C;;GAEG;AACH,qBAAa,WAAY,SAAQ,cAAc;IAC7C,kBAAkB;IAClB,cAAuB,kBAAkB,IAAI,MAAM,CAElD;IAED,oDAAoD;IACpD,SAAS,CAAC,QAAQ,CAAC,MAAM,oCAA+B;IAExD,uEAAuE;IACjE,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAM5C;;;OAGG;IACG,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMnD,0EAA0E;IACpE,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;CAKzC"}
@@ -37,17 +37,6 @@ class SelectField extends form_field_1.TypedFormField {
37
37
  await this.verifyFieldType();
38
38
  return (_a = (await this.select.inputValue())) !== null && _a !== void 0 ? _a : '';
39
39
  }
40
- /**
41
- * This method waits for the 1st option element to be loaded inside the select element.
42
- *
43
- * Useful in situations where the options are loaded asynchronously.
44
- */
45
- async waitForData() {
46
- await this.select
47
- .locator('//option')
48
- .first()
49
- .waitFor({ state: 'attached' });
50
- }
51
40
  }
52
41
  exports.SelectField = SelectField;
53
42
  //# sourceMappingURL=select-field.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-field.js","sourceRoot":"","sources":["../../../src/component-models/form/select-field.ts"],"names":[],"mappings":";;;AAAA,6CAA8C;AAE9C;;GAEG;AACH,MAAa,WAAY,SAAQ,2BAAc;IAA/C;;QAME,oDAAoD;QACjC,WAAM,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IAqC1D,CAAC;IA3CC,kBAAkB;IAClB,IAAuB,kBAAkB;QACvC,OAAO,4BAA4B,CAAC;IACtC,CAAC;IAKD,uEAAuE;IACvE,KAAK,CAAC,QAAQ,CAAC,KAAa;QAC1B,eAAe;QACf,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7B,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,eAAe,CAAC,KAAa;QACjC,eAAe;QACf,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7B,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC5C,CAAC;IAED,0EAA0E;IAC1E,KAAK,CAAC,QAAQ;;QACZ,eAAe;QACf,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7B,OAAO,MAAA,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,mCAAI,EAAE,CAAC;IAChD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,IAAI,CAAC,MAAM;aACd,OAAO,CAAC,UAAU,CAAC;aACnB,KAAK,EAAE;aACP,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;IACpC,CAAC;CACF;AA5CD,kCA4CC"}
1
+ {"version":3,"file":"select-field.js","sourceRoot":"","sources":["../../../src/component-models/form/select-field.ts"],"names":[],"mappings":";;;AAAA,6CAA8C;AAE9C;;GAEG;AACH,MAAa,WAAY,SAAQ,2BAAc;IAA/C;;QAME,oDAAoD;QACjC,WAAM,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IAyB1D,CAAC;IA/BC,kBAAkB;IAClB,IAAuB,kBAAkB;QACvC,OAAO,4BAA4B,CAAC;IACtC,CAAC;IAKD,uEAAuE;IACvE,KAAK,CAAC,QAAQ,CAAC,KAAa;QAC1B,eAAe;QACf,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7B,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,eAAe,CAAC,KAAa;QACjC,eAAe;QACf,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7B,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC5C,CAAC;IAED,0EAA0E;IAC1E,KAAK,CAAC,QAAQ;;QACZ,eAAe;QACf,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7B,OAAO,MAAA,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,mCAAI,EAAE,CAAC;IAChD,CAAC;CACF;AAhCD,kCAgCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-e2e-ui-selectors",
3
- "version": "0.6.0-rc.0",
3
+ "version": "0.6.0-rc.2",
4
4
  "description": "Component models for testing Axinom Mosaic applications with Playwright.",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -25,12 +25,12 @@
25
25
  "@types/node": "^18.11.18",
26
26
  "eslint": "^8.35.0",
27
27
  "eslint-plugin-playwright": "^0.11.2",
28
- "playwright-core": "^1.41.2",
28
+ "playwright-core": "^1.28",
29
29
  "rimraf": "^3.0.2",
30
30
  "typescript": "^5.0.4"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "f02d80c3ff91c982019d73d1b55bc83f77f5a498"
35
+ "gitHead": "7b17ef53b0bec9f1db5ff257f460bbe69980d715"
36
36
  }
@@ -35,16 +35,4 @@ export class SelectField extends TypedFormField {
35
35
  await this.verifyFieldType();
36
36
  return (await this.select.inputValue()) ?? '';
37
37
  }
38
-
39
- /**
40
- * This method waits for the 1st option element to be loaded inside the select element.
41
- *
42
- * Useful in situations where the options are loaded asynchronously.
43
- */
44
- async waitForData(): Promise<void> {
45
- await this.select
46
- .locator('//option')
47
- .first()
48
- .waitFor({ state: 'attached' });
49
- }
50
38
  }