@ebertjendustries/cstestwrapper 1.0.18 → 1.0.19
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -195,6 +195,7 @@ declare class HeaderTesting extends AbstractComponentTesting<HeaderWrapper, Fiel
|
|
|
195
195
|
expectCounter(counterText: string | RegExp): void;
|
|
196
196
|
expectContent(content: string | RegExp): void;
|
|
197
197
|
expectNotContent(content: string | RegExp): void;
|
|
198
|
+
expectLocalisation(variables?: any, alternateNs?: LocalisationNamespace): void;
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
declare class BoxTesting extends AbstractComponentTesting<BoxWrapper, FieldSpec> {
|
package/dist/index.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ declare class HeaderTesting extends AbstractComponentTesting<HeaderWrapper, Fiel
|
|
|
195
195
|
expectCounter(counterText: string | RegExp): void;
|
|
196
196
|
expectContent(content: string | RegExp): void;
|
|
197
197
|
expectNotContent(content: string | RegExp): void;
|
|
198
|
+
expectLocalisation(variables?: any, alternateNs?: LocalisationNamespace): void;
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
declare class BoxTesting extends AbstractComponentTesting<BoxWrapper, FieldSpec> {
|
package/dist/index.js
CHANGED
|
@@ -836,6 +836,9 @@ var HeaderTesting = class extends AbstractComponentTesting {
|
|
|
836
836
|
expectNotContent(content) {
|
|
837
837
|
(0, import_vitest11.expect)(this.getElementWrapper().findHeadingText().getElement()).not.toHaveTextContent(content);
|
|
838
838
|
}
|
|
839
|
+
expectLocalisation(variables, alternateNs) {
|
|
840
|
+
this.expectContent(this.getLocalisedField(variables, alternateNs).children.trim());
|
|
841
|
+
}
|
|
839
842
|
};
|
|
840
843
|
|
|
841
844
|
// src/components/BoxTesting.ts
|
package/dist/index.mjs
CHANGED
|
@@ -754,6 +754,9 @@ var HeaderTesting = class extends AbstractComponentTesting {
|
|
|
754
754
|
expectNotContent(content) {
|
|
755
755
|
expect11(this.getElementWrapper().findHeadingText().getElement()).not.toHaveTextContent(content);
|
|
756
756
|
}
|
|
757
|
+
expectLocalisation(variables, alternateNs) {
|
|
758
|
+
this.expectContent(this.getLocalisedField(variables, alternateNs).children.trim());
|
|
759
|
+
}
|
|
757
760
|
};
|
|
758
761
|
|
|
759
762
|
// src/components/BoxTesting.ts
|