File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ describe('paylike plugin full test', () => {
99 * Login into admin and frontend to store cookies.
1010 */
1111 before ( ( ) => {
12- cy . goToPage ( Cypress . env ( 'ENV_ADMIN_URL' ) ) ;
13- TestMethods . loginIntoAdminBackend ( ) ;
1412 cy . goToPage ( TestMethods . StoreUrl ) ;
1513 TestMethods . loginIntoClientAccount ( ) ;
14+ cy . goToPage ( Cypress . env ( 'ENV_ADMIN_URL' ) ) ;
15+ TestMethods . loginIntoAdminBackend ( ) ;
1616 } ) ;
1717
1818 /**
@@ -38,7 +38,7 @@ describe('paylike plugin full test', () => {
3838
3939 /** Make Instant payments */
4040 for ( var currency of currenciesToTest ) {
41- TestMethods . payWithSelectedCurrency ( currency , 'refund' ) ;
41+ TestMethods . payWithSelectedCurrency ( currency ) ;
4242 }
4343 } ) ;
4444
@@ -53,9 +53,7 @@ describe('paylike plugin full test', () => {
5353 * HARDCODED currency
5454 */
5555 if ( 'USD' == currency || 'RON' == currency ) {
56- TestMethods . payWithSelectedCurrency ( currency , 'capture' ) ;
57- /** In "delayed" mode we check "void" action too. */
58- TestMethods . payWithSelectedCurrency ( currency , 'void' ) ;
56+ TestMethods . payWithSelectedCurrency ( currency ) ;
5957 }
6058 }
6159 } ) ;
You can’t perform that action at this time.
0 commit comments