Skip to content

Commit b4bfd14

Browse files
committed
Update quick_test.js
1 parent 33db084 commit b4bfd14

1 file changed

Lines changed: 3 additions & 19 deletions

File tree

cypress/integration/quick_test.js

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ describe('paylike plugin quick 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
/**
@@ -39,22 +39,6 @@ describe('paylike plugin quick test', () => {
3939

4040
/** Pay and process order. */
4141
/** Capture */
42-
TestMethods.payWithSelectedCurrency(currency, 'capture');
43-
44-
/** Refund last created order (previously captured). */
45-
it('Process last order captured from admin panel to be refunded', () => {
46-
TestMethods.processOrderFromAdmin('refund');
47-
});
48-
49-
/** Capture */
50-
TestMethods.payWithSelectedCurrency(currency, 'capture');
51-
52-
/** Partial refund last created order (previously captured). */
53-
it('Process last order captured from admin panel to be refunded', () => {
54-
TestMethods.processOrderFromAdmin('refund', /*partialAmount*/ true);
55-
});
56-
57-
/** Void */
58-
TestMethods.payWithSelectedCurrency(currency, 'void');
42+
TestMethods.payWithSelectedCurrency(currency);
5943

6044
}); // describe

0 commit comments

Comments
 (0)