From edaaf900eb1cc06326344babf249e13730178cbd Mon Sep 17 00:00:00 2001 From: Silke Date: Tue, 7 Apr 2020 10:07:39 +0200 Subject: [PATCH] feat: delete payment instrument link on checkout payment page --- .../specs/checkout/checkout-payments.b2c.e2e-spec.ts | 2 +- .../checkout-payment/checkout-payment.component.html | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/e2e/cypress/integration/specs/checkout/checkout-payments.b2c.e2e-spec.ts b/e2e/cypress/integration/specs/checkout/checkout-payments.b2c.e2e-spec.ts index 6eaceff0ec..140a536a21 100644 --- a/e2e/cypress/integration/specs/checkout/checkout-payments.b2c.e2e-spec.ts +++ b/e2e/cypress/integration/specs/checkout/checkout-payments.b2c.e2e-spec.ts @@ -104,7 +104,7 @@ describe('Checkout Payment', () => { at(CheckoutPaymentPage, page => page.content.should('contain', '****************0001')); }); - xit('should delete a direct debit transfer', () => { + it('should delete a direct debit transfer', () => { at(CheckoutPaymentPage, page => { page.paymentInstrument('ISH_DEBIT_TRANSFER').delete(); diff --git a/src/app/pages/checkout-payment/checkout-payment/checkout-payment.component.html b/src/app/pages/checkout-payment/checkout-payment/checkout-payment.component.html index a56e5a457d..9c2527e977 100644 --- a/src/app/pages/checkout-payment/checkout-payment/checkout-payment.component.html +++ b/src/app/pages/checkout-payment/checkout-payment/checkout-payment.component.html @@ -87,13 +87,12 @@

{{ 'checkout.payment.method.select.heading' | translate }}

- - + >