diff --git a/docker-compose.testing.yml b/docker-compose.testing.yml index 4d7525d..f528e97 100644 --- a/docker-compose.testing.yml +++ b/docker-compose.testing.yml @@ -8,7 +8,7 @@ services: - internal volumes: - ./tests:/app/tests - - ../quests:/app/quests + - ./quests:/app/quests working_dir: /app/tests environment: - BASE_URL=http://app-test diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js index f6fcb78..9e0b373 100644 --- a/tests/cypress/support/commands.js +++ b/tests/cypress/support/commands.js @@ -1,28 +1,3 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) import '@testing-library/cypress/add-commands' Cypress.Commands.add('LoginWithPassword', (username, password) => {