-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Feat/playwright os 2 #7941
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
Merged
Merged
Feat/playwright os 2 #7941
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8ad8aa2
feat(CI): configure workflow for different OS
bijin-bruno b3bb8c4
chore: inclrease test timeout
bijin-bruno dded927
chore: test fixes
bijin-bruno 45a0af6
chore: test fixes
bijin-bruno 29777b1
chore: test fixes
bijin-bruno 43bf363
chore: update cli test results
bijin-bruno 3f183e0
chore: add some timeouts
bijin-bruno a895afa
chore: fix result incorrect grouping
bijin-bruno 3aa8550
chore: test fix
bijin-bruno 7a4ec5f
chore: test fix
bijin-bruno fe4a7b5
chore: move oauth.1 into specific os group and disable unit tests for…
bijin-bruno 38bb185
chore: remove timeouts
bijin-bruno 0600846
Chore: fix playwright flakiness
bijin-bruno 0e762ab
chore: fixes
bijin-bruno e9bf63d
chore: make closeAllWatchers return promises and app before-quite han…
bijin-bruno 4cb5a0c
chore: remove timeout
bijin-bruno f63c1fd
chore: fix test
bijin-bruno 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,2 @@ | ||
| # Force LF line endings for all text files | ||
| * text=auto eol=lf |
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 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 |
|---|---|---|
| @@ -1,20 +1,41 @@ | ||
| name: 'Run CLI Tests' | ||
| description: 'Setup dependencies, start local testbench and run CLI tests' | ||
| inputs: | ||
| shell: | ||
| description: 'Shell to use (bash, pwsh)' | ||
| required: false | ||
| default: 'bash' | ||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Run Local Testbench | ||
| shell: bash | ||
| - name: Install Test Collection Dependencies | ||
| shell: ${{ inputs.shell }} | ||
| run: npm ci --prefix packages/bruno-tests/collection | ||
|
|
||
| - name: Run Local Testbench and CLI Tests | ||
| if: inputs.shell != 'pwsh' | ||
| shell: ${{ inputs.shell }} | ||
| run: | | ||
| npm start --workspace=packages/bruno-tests & | ||
| sleep 5 | ||
| cd packages/bruno-tests/collection | ||
| node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit --sandbox developer | ||
|
|
||
| - name: Install Test Collection Dependencies | ||
| shell: bash | ||
| run: npm ci --prefix packages/bruno-tests/collection | ||
|
|
||
| - name: Run CLI Tests | ||
| shell: bash | ||
| - name: Run Local Testbench and CLI Tests - Windows | ||
| if: inputs.shell == 'pwsh' | ||
| shell: pwsh | ||
| run: | | ||
| $process = Start-Process "npm.cmd" ` | ||
| -ArgumentList "start","--workspace=packages/bruno-tests" ` | ||
| -NoNewWindow ` | ||
| -PassThru | ||
|
|
||
| Start-Sleep -Seconds 5 | ||
|
|
||
| if ($process.HasExited) { | ||
| Write-Error "Server exited early" | ||
| exit 1 | ||
| } | ||
|
|
||
| cd packages/bruno-tests/collection | ||
| node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit --sandbox developer | ||
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 |
|---|---|---|
| @@ -1,48 +1,53 @@ | ||
| name: 'Run Unit Tests' | ||
| description: 'Setup dependencies and run unit tests for all packages' | ||
| inputs: | ||
| shell: | ||
| description: 'Shell to use (bash, pwsh)' | ||
| required: false | ||
| default: 'bash' | ||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Test Package bruno-js | ||
| shell: bash | ||
| run: npm run test --workspace=packages/bruno-js | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test:ci --workspace=packages/bruno-js | ||
|
|
||
| - name: Test Package bruno-cli | ||
| shell: bash | ||
| run: npm run test --workspace=packages/bruno-cli | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test:ci --workspace=packages/bruno-cli | ||
|
|
||
| - name: Test Package bruno-query | ||
| shell: bash | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test --workspace=packages/bruno-query | ||
|
|
||
| - name: Test Package bruno-lang | ||
| shell: bash | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test --workspace=packages/bruno-lang | ||
|
|
||
| - name: Test Package bruno-schema | ||
| shell: bash | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test --workspace=packages/bruno-schema | ||
|
|
||
| - name: Test Package bruno-app | ||
| shell: bash | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test --workspace=packages/bruno-app | ||
|
|
||
| - name: Test Package bruno-common | ||
| shell: bash | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test --workspace=packages/bruno-common | ||
|
|
||
| - name: Test Package bruno-converters | ||
| shell: bash | ||
| run: npm run test --workspace=packages/bruno-converters | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test:ci --workspace=packages/bruno-converters | ||
|
|
||
| - name: Test Package bruno-electron | ||
| shell: bash | ||
| run: npm run test --workspace=packages/bruno-electron | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test:ci --workspace=packages/bruno-electron | ||
|
|
||
| - name: Test Package bruno-requests | ||
| shell: bash | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test --workspace=packages/bruno-requests | ||
|
|
||
| - name: Test Package bruno-filestore | ||
| shell: bash | ||
| shell: ${{ inputs.shell }} | ||
| run: npm run test --workspace=packages/bruno-filestore |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.