Skip to content

Commit fa5b754

Browse files
Disable Cypress tests
1 parent 32362d7 commit fa5b754

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

cypress/support/commands/createUserWithApi.js

+23-23
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,31 @@ Cypress.Commands.add("createUserWithApi", (user, account, ignoreCreateAccount =
1818
Cypress.env('token', body.key)
1919
cy.visit("/");
2020
// Setup test.seven23.io
21-
cy.get('[href="/select-account-type"]').click();
22-
cy.get('[href="/server"]').click();
23-
cy.get(
24-
"#cy_server_name"
25-
).type(Cypress.config("host"));
26-
cy.get(
27-
"form"
28-
).submit();
21+
// cy.get('[href="/select-account-type"]').click();
22+
// cy.get('[href="/server"]').click();
23+
// cy.get(
24+
// "#cy_server_name"
25+
// ).type(Cypress.config("host"));
26+
// cy.get(
27+
// "form"
28+
// ).submit();
2929

30-
cy.get("#cy_server_button")
31-
.should("be.visible")
32-
.contains(
33-
Cypress.config("host").replace("https://", "").replace("http://", "")
34-
);
30+
// cy.get("#cy_server_button")
31+
// .should("be.visible")
32+
// .contains(
33+
// Cypress.config("host").replace("https://", "").replace("http://", "")
34+
// );
3535

36-
// login
37-
cy.get(
38-
"form #cy_username"
39-
).type(user.username);
40-
cy.get("form #cy_password").type(
41-
user.password
42-
);
43-
cy.get(
44-
"form"
45-
).submit();
36+
// // login
37+
// cy.get(
38+
// "form #cy_username"
39+
// ).type(user.username);
40+
// cy.get("form #cy_password").type(
41+
// user.password
42+
// );
43+
// cy.get(
44+
// "form"
45+
// ).submit();
4646

4747
// if (!ignoreCreateAccount) {
4848
// cy.get('.layout_content input#cy_name').type("Account 1");

cypress/support/commands/#.js

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
Cypress.Commands.add("login", (user) => {
22
// Setup test.seven23.io
3-
cy.get('[href="/select-account-type"]').click();
4-
cy.get('[href="/server"]').click();
5-
cy.get(
6-
"#cy_server_name"
7-
).type(Cypress.config("host"));
8-
cy.get(
9-
"form"
10-
).submit();
3+
// cy.get('[href="/select-account-type"]').click();
4+
// cy.get('[href="/server"]').click();
5+
// cy.get(
6+
// "#cy_server_name"
7+
// ).type(Cypress.config("host"));
8+
// cy.get(
9+
// "form"
10+
// ).submit();
1111

12-
cy.get(".serverButton")
13-
.should("be.visible")
14-
.contains(
15-
Cypress.config("host").replace("https://", "").replace("http://", "")
16-
);
12+
// cy.get(".serverButton")
13+
// .should("be.visible")
14+
// .contains(
15+
// Cypress.config("host").replace("https://", "").replace("http://", "")
16+
// );
1717

18-
// login
19-
cy.get(
20-
"form #cy_username"
21-
).type(user.username);
22-
cy.get("form #cy_password").type(
23-
user.password
24-
);
25-
cy.get(
26-
"form"
27-
).submit();
18+
// // login
19+
// cy.get(
20+
// "form #cy_username"
21+
// ).type(user.username);
22+
// cy.get("form #cy_password").type(
23+
// user.password
24+
// );
25+
// cy.get(
26+
// "form"
27+
// ).submit();
2828
});

0 commit comments

Comments
 (0)