Skip to content

Commit b24e5b3

Browse files
committed
update
1 parent 73dfc54 commit b24e5b3

38 files changed

+676
-345
lines changed

.cypress.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
2-
e2e: {
3-
setupNodeEvents(on, config) {
4-
// implement node event listeners here
5-
},
6-
baseUrl: 'https://magento-lts.ddev.site'
7-
}
2+
e2e: {
3+
setupNodeEvents(on, config) {
4+
// implement node event listeners here
5+
},
6+
baseUrl: 'https://magento-lts.ddev.site',
7+
}
88
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: DDEV
1+
name: Cypress
22

33
on:
44
push:
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
test:
12-
name: DDEV cypress
12+
name: Cypress
1313
runs-on: [ubuntu-latest]
1414

1515
steps:

cypress/e2e/paths/backend/cms.cy.js

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {paths} from "../../../../support/paths";
2+
import {validation} from "../../../../support/validation";
3+
4+
const route = paths.backend.cms.block
5+
6+
describe(`Checks admin system "${route.h3}"`, () => {
7+
beforeEach('Log in the user', () => {
8+
cy.visit('/admin');
9+
cy.adminLogInValidUser();
10+
cy.adminTestRoute(route);
11+
});
12+
13+
it(`tests`, () => {
14+
cy.log('Checking for error messages');
15+
});
16+
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {paths} from "../../../../support/paths";
2+
import {validation} from "../../../../support/validation";
3+
4+
const route = paths.backend.cms.page
5+
6+
describe(`Checks admin system "${route.h3}"`, () => {
7+
beforeEach('Log in the user', () => {
8+
cy.visit('/admin');
9+
cy.adminLogInValidUser();
10+
cy.adminTestRoute(route);
11+
});
12+
13+
it(`tests`, () => {
14+
cy.log('Checking for error messages');
15+
});
16+
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {paths} from "../../../../support/paths";
2+
import {validation} from "../../../../support/validation";
3+
4+
const route = paths.backend.cms.widget
5+
6+
describe(`Checks admin system "${route.h3}"`, () => {
7+
beforeEach('Log in the user', () => {
8+
cy.visit('/admin');
9+
cy.adminLogInValidUser();
10+
cy.adminTestRoute(route);
11+
});
12+
13+
it(`tests`, () => {
14+
cy.log('Checking for error messages');
15+
});
16+
});

cypress/e2e/paths/backend/customer.cy.js

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {paths} from "../../../../support/paths";
2+
import {validation} from "../../../../support/validation";
3+
4+
const route = paths.backend.customers.groups
5+
6+
describe(`Checks admin system "${route.h3}"`, () => {
7+
beforeEach('Log in the user', () => {
8+
cy.visit('/admin');
9+
cy.adminLogInValidUser();
10+
cy.adminTestRoute(route);
11+
});
12+
13+
it(`tests`, () => {
14+
cy.log('Checking for error messages');
15+
});
16+
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {paths} from "../../../../support/paths";
2+
import {validation} from "../../../../support/validation";
3+
4+
const route = paths.backend.customers.manage
5+
6+
describe(`Checks admin system "${route.h3}"`, () => {
7+
beforeEach('Log in the user', () => {
8+
cy.visit('/admin');
9+
cy.adminLogInValidUser();
10+
cy.adminTestRoute(route);
11+
});
12+
13+
it(`tests`, () => {
14+
cy.log('Checking for error messages');
15+
});
16+
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {paths} from "../../../../support/paths";
2+
import {validation} from "../../../../support/validation";
3+
4+
const route = paths.backend.customers.online
5+
6+
describe(`Checks admin system "${route.h3}"`, () => {
7+
beforeEach('Log in the user', () => {
8+
cy.visit('/admin');
9+
cy.adminLogInValidUser();
10+
cy.adminTestRoute(route);
11+
});
12+
13+
it(`tests`, () => {
14+
cy.log('Checking for error messages');
15+
});
16+
});

0 commit comments

Comments
 (0)