-
-
Notifications
You must be signed in to change notification settings - Fork 507
Add Playwright E2E coverage #2230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ejsmith
wants to merge
16
commits into
main
Choose a base branch
from
add-playwright-e2e-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f22a06b
Add Playwright E2E coverage
ejsmith d4370be
Use generic production E2E settings
ejsmith 707a39c
Rename E2E app setting
ejsmith baff7d9
Remove E2E docs file
ejsmith 6165288
Simplify Aspire CLI install
ejsmith d248fc5
Hard-code production E2E URL
ejsmith 9a1a0b0
Remove E2E health test
ejsmith 87252c1
Remove redirect E2E test
ejsmith fb5240b
Add UI-driven onboarding E2E coverage
ejsmith 43ab7e9
Split E2E coverage into focused specs
ejsmith c93a045
Use generated user for UI onboarding E2E
ejsmith 8a9c1b3
Verify E2E organization cleanup
ejsmith 12a9260
Clean up generated E2E users
ejsmith a1c587d
Merge branch 'main' into add-playwright-e2e-tests
ejsmith 0f6e226
Address E2E PR feedback
ejsmith 2cc4c0a
Merge branch 'main' into add-playwright-e2e-tests
ejsmith File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| name: Production E2E Tests | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: "0 8 * * *" | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: production-e2e | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| e2e: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| defaults: | ||
| run: | ||
| working-directory: src/Exceptionless.Web/ClientApp | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup Node.js environment | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
|
|
||
| - name: Install Npm Packages | ||
| run: npm ci | ||
|
|
||
| - name: Install Playwright Chromium | ||
| run: npx playwright install chromium --with-deps | ||
|
|
||
| - name: Run Production E2E Tests | ||
| env: | ||
| E2E_URL: https://be.exceptionless.io | ||
| E2E_RUN_ID: production-${{ github.run_id }}-${{ github.run_attempt }} | ||
| run: npm run test:e2e:prod | ||
|
ejsmith marked this conversation as resolved.
|
||
|
|
||
| - name: Write Summary | ||
| if: ${{ always() }} | ||
| run: | | ||
| echo "### Production E2E Tests" >> $GITHUB_STEP_SUMMARY | ||
| echo "" >> $GITHUB_STEP_SUMMARY | ||
| echo "- Run ID: production-${{ github.run_id }}-${{ github.run_attempt }}" >> $GITHUB_STEP_SUMMARY | ||
| echo "- E2E URL: https://be.exceptionless.io" >> $GITHUB_STEP_SUMMARY | ||
|
|
||
| - name: Upload Playwright Report | ||
| if: ${{ !cancelled() }} | ||
| uses: actions/upload-artifact@v5 | ||
| with: | ||
| name: production-playwright-report | ||
| path: src/Exceptionless.Web/ClientApp/playwright-report/ | ||
| retention-days: 14 | ||
|
|
||
| - name: Upload Playwright Test Results | ||
| if: ${{ !cancelled() }} | ||
| uses: actions/upload-artifact@v5 | ||
| with: | ||
| name: production-playwright-test-results | ||
| path: src/Exceptionless.Web/ClientApp/test-results/ | ||
| retention-days: 14 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.