mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
672a3f0b92
* fix: group project access inconsistencies * fix relative path * wip * refactor: make project tabs work as routes * refactor: finish refactoring project assign forms * fix: update snaps * fix: update snaps * add some basic cypress e2e tests to groups * add remaining cypress e2e tests for group CRUD * add groups e2e to gh workflows * refactor: simplify useMemo usage * add GO_BACK navigate const * fix: remove trailing slash on user creation request Co-authored-by: olav <mail@olav.io> Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
26 lines
889 B
YAML
26 lines
889 B
YAML
name: e2e:groups
|
|
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
|
|
on: [deployment_status]
|
|
jobs:
|
|
e2e:
|
|
# only runs this job on successful deploy
|
|
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Dump GitHub context
|
|
env:
|
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
|
run: |
|
|
echo "$GITHUB_CONTEXT"
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Run Cypress
|
|
uses: cypress-io/github-action@v2
|
|
with:
|
|
env: AUTH_USER=admin,AUTH_PASSWORD=unleash4all
|
|
config: baseUrl=${{ github.event.deployment_status.target_url }}
|
|
record: true
|
|
spec: cypress/integration/groups/groups.spec.ts
|
|
env:
|
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|