Skip to content

adicionando base URL PARA variavel #9

adicionando base URL PARA variavel

adicionando base URL PARA variavel #9

Workflow file for this run

name: End-to-end tests
on: push
jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
# Install npm dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v6
with:
browser: chrome
config: pageLoadTimeout=100000, baseUrl=${{ variables.BASE_URL}}

Check failure on line 15 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / End-to-end tests

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 15, Col: 19): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.BASE_URL
# record: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}