@ebertjendustries/cstestwrapper 1.0.12 → 1.0.13

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/dist/index.js CHANGED
@@ -235,11 +235,10 @@ var AbstractInputTesting = class extends AbstractComponentTesting {
235
235
  await this.expectErrorMessage(fieldValidityFunction(new import_cswrapper3.FieldSpec("", true), import_cswrapper2.ElementValidityLevel.REQUIRED_VALUE_IS_NOT_PRESENT));
236
236
  }
237
237
  expectReadOnly() {
238
- console.log("LOGGENPOPBEL " + this.getNativeHTMLInput().readOnly);
239
- (0, import_vitest2.expect)(this.getNativeHTMLInput()).toHaveAttribute("readonly", "true");
238
+ (0, import_vitest2.expect)(this.getNativeHTMLInput().readOnly).toBeTruthy();
240
239
  }
241
240
  expectNotReadOnly() {
242
- (0, import_vitest2.expect)(this.getNativeHTMLInput()).not.toHaveAttribute("readonly");
241
+ (0, import_vitest2.expect)(this.getNativeHTMLInput().readOnly).toBeFalsy();
243
242
  }
244
243
  expectEmpty() {
245
244
  (0, import_vitest2.expect)(this.getNativeHTMLInput()).toHaveValue(null);
package/dist/index.mjs CHANGED
@@ -154,11 +154,10 @@ var AbstractInputTesting = class extends AbstractComponentTesting {
154
154
  await this.expectErrorMessage(fieldValidityFunction(new FieldSpec("", true), ElementValidityLevel.REQUIRED_VALUE_IS_NOT_PRESENT));
155
155
  }
156
156
  expectReadOnly() {
157
- console.log("LOGGENPOPBEL " + this.getNativeHTMLInput().readOnly);
158
- expect2(this.getNativeHTMLInput()).toHaveAttribute("readonly", "true");
157
+ expect2(this.getNativeHTMLInput().readOnly).toBeTruthy();
159
158
  }
160
159
  expectNotReadOnly() {
161
- expect2(this.getNativeHTMLInput()).not.toHaveAttribute("readonly");
160
+ expect2(this.getNativeHTMLInput().readOnly).toBeFalsy();
162
161
  }
163
162
  expectEmpty() {
164
163
  expect2(this.getNativeHTMLInput()).toHaveValue(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebertjendustries/cstestwrapper",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",