Skip to content

Commit 2ac0601

Browse files
committed
E2E: Update locator for the account name due to GC side markup changes.
1 parent 95236d7 commit 2ac0601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/utils/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ export async function handleGoCardlessPayment(page, options) {
417417
// Fill bank details
418418
if (currency === 'USD') {
419419
await dropinIframe
420-
.locator('#accountHolderName')
420+
.locator('#account_holder_name')
421421
.fill(customerBilling.firstname + ' ' + customerBilling.lastname);
422422
await dropinIframe.locator('#bank_code').fill(bankDetails.bankCode);
423423
await dropinIframe
@@ -535,7 +535,7 @@ export async function handleGoCardlessPaymentSchemeWise(
535535
switch (scheme) {
536536
case 'ach':
537537
await dropinIframe
538-
.locator('#accountHolderName')
538+
.locator('#account_holder_name')
539539
.fill(
540540
customerBilling.firstname + ' ' + customerBilling.lastname
541541
);

0 commit comments

Comments
 (0)