@gravitee/ui-particles-angular 16.0.0-angular-20-fixes-055019f → 16.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.
|
@@ -7399,11 +7399,7 @@ class GioFormSelectionInlineHarness extends ComponentHarness {
|
|
|
7399
7399
|
constructor() {
|
|
7400
7400
|
super(...arguments);
|
|
7401
7401
|
this.getCards = this.locatorForAll(GioFormSelectionInlineCardHarness);
|
|
7402
|
-
this.getCardByValue = (value) => {
|
|
7403
|
-
const byValue = this.locatorForOptional(`gio-form-selection-inline-card[value="${value}"]`)();
|
|
7404
|
-
const byReflectValue = this.locatorForOptional(`gio-form-selection-inline-card[ng-reflect-value="${value}"]`)();
|
|
7405
|
-
return byValue ?? byReflectValue;
|
|
7406
|
-
};
|
|
7402
|
+
this.getCardByValue = (value) => this.locatorFor(`gio-form-selection-inline-card[value="${value}"]`)();
|
|
7407
7403
|
}
|
|
7408
7404
|
static { this.hostSelector = 'gio-form-selection-inline'; }
|
|
7409
7405
|
/**
|
|
@@ -7438,7 +7434,7 @@ class GioFormSelectionInlineHarness extends ComponentHarness {
|
|
|
7438
7434
|
}
|
|
7439
7435
|
async select(value) {
|
|
7440
7436
|
const card = await this.getCardByValue(value);
|
|
7441
|
-
await card
|
|
7437
|
+
await card.click();
|
|
7442
7438
|
}
|
|
7443
7439
|
async isDisabled() {
|
|
7444
7440
|
const cards = await this.getCards();
|