Skip to content

Commit

Permalink
remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov committed Dec 12, 2023
1 parent 0cd63ab commit 8fc73fa
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,6 @@ describe( 'Enabled UPE with deferred intent creation', () => {
);
} );

it( 'should be able set card as default', async () => {
await shopperWCP.addNewPaymentMethod( 'basic', card );
await shopperWCP.setDefaultPaymentMethod();

// Take note of the time when we added this card
timeAdded = Date.now();

// Verify that the card was set as default
await expect( page ).toMatch(
'This payment method was successfully set as your default.'
);
} );

it( 'should be able to delete the card', async () => {
await shopperWCP.deleteSavedPaymentMethod( card.label );
await expect( page ).toMatch( 'Payment method deleted.' );
Expand Down

0 comments on commit 8fc73fa

Please sign in to comment.