Skip to content

Commit 74cd3c7

Browse files
committed
Update full_test.js
1 parent b4bfd14 commit 74cd3c7

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

cypress/integration/full_test.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)