Skip to content

Commit

Permalink
Update test_local_integration.yaml
Browse files Browse the repository at this point in the history
Remove cypress
  • Loading branch information
pt247 authored May 14, 2024
1 parent 4889c8b commit 8321804
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/test_local_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,36 +152,36 @@ jobs:
- name: Get nebari-config.yaml full path
run: echo "NEBARI_CONFIG_PATH=`realpath ./local-deployment/nebari-config.yaml`" >> "$GITHUB_ENV"

- name: Cypress run
uses: cypress-io/github-action@v6
env:
CYPRESS_EXAMPLE_USER_NAME: ${{ env.TEST_USERNAME }}
CYPRESS_EXAMPLE_USER_PASSWORD: ${{ env.TEST_PASSWORD }}
CYPRESS_BASE_URL: https://github-actions.nebari.dev/
with:
working-directory: tests/tests_e2e

- name: Playwright Tests
env:
KEYCLOAK_USERNAME: ${{ env.TEST_USERNAME }}
KEYCLOAK_PASSWORD: ${{ env.TEST_PASSWORD }}
NEBARI_FULL_URL: https://github-actions.nebari.dev/
working-directory: tests/tests_e2e/playwright
run: |
# create environment file
envsubst < .env.tpl > .env
# run playwright pytest tests in headed mode with the chromium browser
xvfb-run pytest --browser chromium
- name: Save Cypress screenshots and videos
if: always()
uses: actions/upload-artifact@v4.3.1
with:
name: e2e-cypress
path: |
./tests/tests_e2e/cypress/screenshots/
./tests/tests_e2e/cypress/videos/
./tests/tests_e2e/playwright/videos/
# - name: Cypress run
# uses: cypress-io/github-action@v6
# env:
# CYPRESS_EXAMPLE_USER_NAME: ${{ env.TEST_USERNAME }}
# CYPRESS_EXAMPLE_USER_PASSWORD: ${{ env.TEST_PASSWORD }}
# CYPRESS_BASE_URL: https://github-actions.nebari.dev/
# with:
# working-directory: tests/tests_e2e

# - name: Playwright Tests
# env:
# KEYCLOAK_USERNAME: ${{ env.TEST_USERNAME }}
# KEYCLOAK_PASSWORD: ${{ env.TEST_PASSWORD }}
# NEBARI_FULL_URL: https://github-actions.nebari.dev/
# working-directory: tests/tests_e2e/playwright
# run: |
# # create environment file
# envsubst < .env.tpl > .env
# # run playwright pytest tests in headed mode with the chromium browser
# xvfb-run pytest --browser chromium

# - name: Save Cypress screenshots and videos
# if: always()
# uses: actions/upload-artifact@v4.3.1
# with:
# name: e2e-cypress
# path: |
# ./tests/tests_e2e/cypress/screenshots/
# ./tests/tests_e2e/cypress/videos/
# ./tests/tests_e2e/playwright/videos/

- name: Deployment Pytests
env:
Expand Down

0 comments on commit 8321804

Please sign in to comment.