diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 8962c188..37427da8 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -34,5 +34,8 @@ jobs: echo "Cypress Path: $(which cypress)" # Verifica o caminho onde o Cypress está instalado echo "Cypress version: $(cypress --version)" # Verifica a versão do Cypress + - name: Init localhost + run: deno task start + - name: Run tests run: deno task test-terminal diff --git a/cypress.config.js b/cypress.config.js new file mode 100644 index 00000000..13b11873 --- /dev/null +++ b/cypress.config.js @@ -0,0 +1,7 @@ +const { defineConfig } = require('cypress') + +module.exports = defineConfig({ + e2e: { + baseUrl: 'http://localhost:8000', + }, +}) \ No newline at end of file diff --git a/cypress.config.ts b/cypress.config.ts deleted file mode 100644 index 17161e32..00000000 --- a/cypress.config.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defineConfig } from "cypress"; - -export default defineConfig({ - e2e: { - setupNodeEvents(on, config) { - // implement node event listeners here - }, - }, -});