diff --git a/application/views/contesting/index.php b/application/views/contesting/index.php index 1ca451bd..54425989 100644 --- a/application/views/contesting/index.php +++ b/application/views/contesting/index.php @@ -102,48 +102,48 @@
- +
- +
- +
diff --git a/cypress/support/commands.js b/cypress/support/commands.js deleted file mode 100644 index 489fe9a3..00000000 --- a/cypress/support/commands.js +++ /dev/null @@ -1,14 +0,0 @@ -Cypress.Commands.add("login", () => { - const username = "m0abc"; - const password = "demo"; - cy.visit("/index.php/user/login"); - cy.get('input[name="user_name"]').type(username); - cy.get('input[name="user_password"]').type(password); - cy.get('button[type="submit"]').click(); -}); - -// Custom command to wait for select elements to be populated -Cypress.Commands.add("waitForSelectOptions", (selector, minOptions = 1) => { - cy.get(selector).should('be.visible'); - cy.get(`${selector} option`).should('have.length.greaterThan', minOptions); -});