@@ -17,8 +17,9 @@ const { shopper, merchant } = require( '@woocommerce/e2e-utils' );
17
17
const UPE_METHOD_CHECKBOXES = [
18
18
"//label[contains(text(), 'giropay')]/preceding-sibling::span/input[@type='checkbox']" ,
19
19
"//label[contains(text(), 'Bancontact')]/preceding-sibling::span/input[@type='checkbox']" ,
20
- // "//label[contains(text(), 'EPS')]/preceding-sibling::span/input[@type='checkbox']",
21
- // "//label[contains(text(), 'iDEAL')]/preceding-sibling::span/input[@type='checkbox']",
20
+ "//label[contains(text(), 'EPS')]/preceding-sibling::span/input[@type='checkbox']" ,
21
+ "//label[contains(text(), 'iDEAL')]/preceding-sibling::span/input[@type='checkbox']" ,
22
+ "//label[contains(text(), 'Przelewy24')]/preceding-sibling::span/input[@type='checkbox']" ,
22
23
// "//label[contains(text(), 'Sofort')]/preceding-sibling::span/input[@type='checkbox']",
23
24
// '#inspector-checkbox-control-7', // giropay
24
25
// '#inspector-checkbox-control-5', // Bancontact
@@ -68,46 +69,46 @@ describe( 'Enabled UPE with deferred intent creation', () => {
68
69
await expect ( page ) . toMatch ( 'Order received' ) ;
69
70
} ) ;
70
71
71
- // it( 'should successfully place order with EPS', async() => {
72
- // await shopperWCP.goToShopWithCurrency( 'EUR' );
73
- // await setupProductCheckout(
74
- // config.get( 'addresses.customer.billing' )
75
- // );
76
- // await selectOnCheckout( 'eps', page );
77
- // await shopper.placeOrder();
78
- // await completeRedirectedPayment( page, 'success' );
79
- // await page.waitForNavigation( {
80
- // waitUntil: 'networkidle0',
81
- // } );
82
- // await expect( page ).toMatch( 'Order received' );
83
- // } );
72
+ it ( 'should successfully place order with EPS' , async ( ) => {
73
+ await shopperWCP . goToShopWithCurrency ( 'EUR' ) ;
74
+ await setupProductCheckout (
75
+ config . get ( 'addresses.customer.billing' )
76
+ ) ;
77
+ await selectOnCheckout ( 'eps' , page ) ;
78
+ await shopper . placeOrder ( ) ;
79
+ await completeRedirectedPayment ( page , 'success' ) ;
80
+ await page . waitForNavigation ( {
81
+ waitUntil : 'networkidle0' ,
82
+ } ) ;
83
+ await expect ( page ) . toMatch ( 'Order received' ) ;
84
+ } ) ;
84
85
85
- // it( 'should successfully place order with iDEAL', async() => {
86
- // await shopperWCP.goToShopWithCurrency( 'EUR' );
87
- // await setupProductCheckout(
88
- // config.get( 'addresses.customer.billing' )
89
- // );
90
- // await selectOnCheckout( 'ideal', page );
91
- // await shopper.placeOrder();
92
- // await completeRedirectedPayment( page, 'success' );
93
- // await page.waitForNavigation( {
94
- // waitUntil: 'networkidle0',
95
- // } );
96
- // await expect( page ).toMatch( 'Order received' );
97
- // } );
86
+ it ( 'should successfully place order with iDEAL' , async ( ) => {
87
+ await shopperWCP . goToShopWithCurrency ( 'EUR' ) ;
88
+ await setupProductCheckout (
89
+ config . get ( 'addresses.customer.billing' )
90
+ ) ;
91
+ await selectOnCheckout ( 'ideal' , page ) ;
92
+ await shopper . placeOrder ( ) ;
93
+ await completeRedirectedPayment ( page , 'success' ) ;
94
+ await page . waitForNavigation ( {
95
+ waitUntil : 'networkidle0' ,
96
+ } ) ;
97
+ await expect ( page ) . toMatch ( 'Order received' ) ;
98
+ } ) ;
98
99
99
- // it( 'should successfully place order with Przelewy24', async() => {
100
- // await shopperWCP.goToShopWithCurrency( 'EUR' );
101
- // await setupProductCheckout(
102
- // config.get( 'addresses.customer.billing' )
103
- // );
104
- // await selectOnCheckout( 'p24', page );
105
- // await shopper.placeOrder();
106
- // await completeRedirectedPayment( page, 'success' );
107
- // await page.waitForNavigation( {
108
- // waitUntil: 'networkidle0',
109
- // } );
110
- // await expect( page ).toMatch( 'Order received' );
111
- // } );
100
+ it ( 'should successfully place order with Przelewy24' , async ( ) => {
101
+ await shopperWCP . goToShopWithCurrency ( 'EUR' ) ;
102
+ await setupProductCheckout (
103
+ config . get ( 'addresses.customer.billing' )
104
+ ) ;
105
+ await selectOnCheckout ( 'p24' , page ) ;
106
+ await shopper . placeOrder ( ) ;
107
+ await completeRedirectedPayment ( page , 'success' ) ;
108
+ await page . waitForNavigation ( {
109
+ waitUntil : 'networkidle0' ,
110
+ } ) ;
111
+ await expect ( page ) . toMatch ( 'Order received' ) ;
112
+ } ) ;
112
113
} ) ;
113
114
} ) ;
0 commit comments