Repository navigation
STU-372: Add deterministic browser fixtures for the redesigned user journeys #76
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
Closed
sgardoll
wants to merge
15
commits into
main
from
sgardoll/stu-372-add-deterministic-browser-fixtures-for-the-redesigned-user
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d1dc19c
fix: classify SDK dependencies by their pubspec source, not a name list
sgardoll b28b814
ci: gate main with required CI checks and branch protection (STU-345)
sgardoll f479a9a
fix(ci): avoid shell quoting errors in bundle leak scan
sgardoll d20c709
test(e2e): deterministic browser fixtures for redesigned journeys\n\n…
sgardoll 468d248
test(e2e): ignore Chromium permissions-policy noise in console assert…
sgardoll 5e16cae
fix: classify a block-form dependency by any nested source key, not j…
sgardoll 2670d79
fix: skip verification conservatively when an unrepresentable source …
sgardoll bf624e9
fix(ci): scan the bundle for every provider endpoint and credential s…
sgardoll d577611
ci: pin workflow actions to commit SHAs and minimize token permissions
sgardoll 1df4b3f
test: derive the deploy guard's expected absent bundles from the buil…
sgardoll a7a860c
test(e2e): abort un-fixtured external requests in browser fixtures
sgardoll 0d9f1de
test(e2e): build fixture deployOrder from the artifacts' real IDs
sgardoll eaff012
ci: install Playwright Chromium and run the browser tests
sgardoll 0dd50c0
fix: scope the verification skip to direct importers and disclose the…
sgardoll d926db2
test(e2e): serve SRI-pinned assets from byte-identical vendored copies
sgardoll 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
|
|
||
| # The workflow only checks out code and runs tests; it never needs write access. | ||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| ci: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | ||
| with: | ||
| node-version-file: '.nvmrc' | ||
| cache: 'npm' | ||
|
|
||
| - name: Set up PHP | ||
| uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 | ||
| with: | ||
| php-version: '8.3' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Run tests | ||
| run: npm test | ||
|
|
||
| - name: Build production bundle | ||
| run: npm run build | ||
|
|
||
| - name: Install Playwright Chromium | ||
| run: npx playwright install chromium --with-deps | ||
|
|
||
| - name: Run browser tests | ||
| run: npm run test:ui | ||
|
|
||
| - name: Run deploy guard | ||
| run: npm run test:deploy-guard | ||
|
|
||
| - name: Run proxy allowlist tests | ||
| run: npm run test:proxies | ||
|
|
||
| - name: Scan production bundle for API key/endpoint leaks | ||
| run: python3 scripts/scan_bundle_for_leaks.py | ||
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
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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.