@@ -1,4 +1,5 @@
|
||||
// Set the en-US language just in case
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
export default function (window) {
|
||||
Object.defineProperty(window.navigator, "language", { value: "en-US" });
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ describe("Events", () => {
|
||||
|
||||
cy.loginUser();
|
||||
cy.visit("/events/me");
|
||||
cy.wait(1000);
|
||||
cy.contains(".message.is-danger", "No events found");
|
||||
cy.contains(".navbar-item", "Create").click();
|
||||
|
||||
@@ -29,7 +28,6 @@ describe("Events", () => {
|
||||
.last()
|
||||
.find(".select select")
|
||||
.select("2021");
|
||||
cy.wait(1000);
|
||||
cy.get(".field").eq(3).contains(".datepicker-cell", "15").click();
|
||||
|
||||
cy.contains(".button.is-primary", "Create my event").click();
|
||||
|
||||
@@ -17,7 +17,6 @@ describe("Login", () => {
|
||||
cy.url().should("include", "/password-reset/send");
|
||||
cy.go("back");
|
||||
|
||||
cy.wait(1000);
|
||||
cy.get("form").contains(".control a.button", "Register").click();
|
||||
cy.url().should("include", "/register/user");
|
||||
|
||||
@@ -55,7 +54,6 @@ describe("Login", () => {
|
||||
cy.get("input[type=email]").type("user@email.com");
|
||||
cy.get("input[type=password]").type("some password");
|
||||
cy.get("form").submit();
|
||||
cy.wait(1000);
|
||||
cy.get(".navbar-end .navbar-link span.icon i").should(
|
||||
"have.class",
|
||||
"mdi-account-circle"
|
||||
@@ -113,7 +111,6 @@ describe("Login", () => {
|
||||
cy.get("form .field input").eq(1).type("Not");
|
||||
cy.get("form .field textarea").clear().type("This will now work");
|
||||
cy.get("form").submit();
|
||||
cy.wait(1000);
|
||||
|
||||
cy.get(".navbar-link span.icon i").should(
|
||||
"have.class",
|
||||
|
||||
@@ -33,7 +33,6 @@ describe("Registration", () => {
|
||||
cy.get("form").contains("button.button.is-primary", "Register").click();
|
||||
|
||||
cy.url().should("include", "/register/profile");
|
||||
cy.wait(1000);
|
||||
cy.get("form > .field")
|
||||
.eq(1)
|
||||
.contains("label", "Username")
|
||||
|
||||
Reference in New Issue
Block a user