Skip to content

Commit 0b83d19

Browse files
Update src/versions/develop/pages/BO/payment/preferences.ts
Co-authored-by: Progi1984 <progi1984@gmail.com>
1 parent f76898f commit 0b83d19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/versions/develop/pages/BO/payment/preferences.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class BOPaymentPreferencesPage extends BOBasePage implements BOPaymentPreference
4747
+ `${paymentModule}_"][value="${countryID}"]`;
4848
this.groupRestrictionsSaveButton = '#form-group-restrictions-save-button';
4949
// One row per customer group in the group restrictions table, the group name being the first cell.
50-
this.groupRestrictionsTableRows = 'div.card:has(#form-group-restrictions-save-button) table tbody tr';
50+
this.groupRestrictionsTableRows = `div.card:has(${this.groupRestrictionsSaveButton}) table tbody tr`;
5151
this.groupRestrictionsTableRow = (row: number) => `${this.groupRestrictionsTableRows}:nth-child(${row})`;
5252
// Selectors fot carrier restriction
5353
this.carrierRestrictionsCheckbox = (paymentModule: string, carrierID: number) => '#form_carrier_restrictions_'

0 commit comments

Comments
 (0)