From 18afa15ebb5275a2a2cb3063ecf54c9d1fa93a58 Mon Sep 17 00:00:00 2001 From: peterojo Date: Thu, 29 Feb 2024 17:59:50 +0100 Subject: [PATCH] Select bancontact standalone PM icon and not the icon in cards component --- projects/shopware/pageObjects/plugin/PaymentDetails.page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/shopware/pageObjects/plugin/PaymentDetails.page.js b/projects/shopware/pageObjects/plugin/PaymentDetails.page.js index 611e40f8..e1424ba9 100644 --- a/projects/shopware/pageObjects/plugin/PaymentDetails.page.js +++ b/projects/shopware/pageObjects/plugin/PaymentDetails.page.js @@ -36,7 +36,7 @@ export class PaymentDetailsPage extends SPRBasePage { this.multiBancoSelector = this.paymentDetailsList.locator("img[alt='Multibanco']"); this.oneySelector = this.paymentDetailsList.locator("img[alt='Oney 3x']"); this.oneyWrapper = this.oneySelector.locator(".."); - this.bancontactCardSelector = this.paymentDetailsList.locator("img[alt='Bancontact card']"); + this.bancontactCardSelector = this.paymentDetailsList.locator("img[title='Bancontact card']"); this.bancontactCardWrapper = this.bancontactCardSelector.locator(".."); this.storedCardSelector = this.paymentDetailsList.locator("img[alt='Stored Payment Methods']"); this.storedCardWrapper = this.storedCardSelector.locator("..");