Skip to content

Commit

Permalink
Testes Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardopadilha committed Jul 30, 2024
1 parent 1a16459 commit 3dfa191
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Tests e2e
on:
push:
branches: ['main']
pull_request:
branches: ['main']

workflow_dispatch:
inputs:
Expand All @@ -29,4 +31,8 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: npm run test
build: npm run test
record: true

env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { defineConfig } = require("cypress");

module.exports = defineConfig({
projectId: 'automation-exercise',
e2e: {
baseUrl: 'https://www.automationexercise.com',
watchForFileChanges: false,
Expand Down

0 comments on commit 3dfa191

Please sign in to comment.