-
Notifications
You must be signed in to change notification settings - Fork 2
SBVT-3092: Find cause of error in cypress SDK test #247
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
+113
−7,805
Merged
Changes from 39 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
cb48aa4
comment out test
Jakshas 9ae368e
fix sharp
Jakshas fc46e1b
fix tests
Jakshas 1ef65e7
remove chrome beta
Jakshas 0173926
add sharp to everything
Jakshas 80c16bc
change sharp
Jakshas 2a0ecd4
change order
Jakshas 4271880
remove package lock
Jakshas d4efbd6
add lock
Jakshas a29d274
change to image
Jakshas 6428cbb
after install
Jakshas 97ff5cb
remove sharp
Jakshas 7078f0c
check if work
Jakshas f537cab
add optional
Jakshas 12e8f8a
remove lock
Jakshas d7ccbc7
fix version
Jakshas 76aeeec
fix install
Jakshas f4ccf9c
format
Jakshas 4147619
fix version
Jakshas c7810cc
change to os specific
Jakshas 0a7adde
fix node version
Jakshas 331a915
remove install
Jakshas 5ee1476
fix tests
Jakshas 95b8f8c
add versions
Jakshas d260208
add installing browsers
Jakshas 21574c6
fix versions
Jakshas 020f46d
bump version of cypess
Jakshas a118915
fix node version
Jakshas 2a6ebc4
fix
Jakshas 130d81c
remove latest
Jakshas 5447aea
fix chrome
Jakshas 74a05e7
print edge location
Jakshas a084e23
fix chrome
Jakshas aad9178
bump axe version
Jakshas 5dd2352
change to path
Jakshas 61d0456
fix version
Jakshas 8d0f1ee
change browser
Jakshas 443bcc1
fix version in plugin
Jakshas 8057acf
revert
Jakshas d5eab31
make requested fixes
Jakshas 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 |
|---|---|---|
|
|
@@ -7,8 +7,8 @@ jobs: | |
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| browser: [ firefox, chrome, 'chrome:beta', edge ] | ||
| # browser: [ firefox, chrome, edge ] #chrome beta causing issues | ||
| # browser: [ firefox, chrome, 'chrome:beta', edge ] | ||
| browser: [ firefox, chrome-for-testing, edge ] #chrome beta causing issues | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
|
|
@@ -20,6 +20,30 @@ jobs: | |
| BRANCH_NAME=$(echo "${{ github.ref }}" | awk -F'/' '{print $3}') | ||
| echo "::set-output name=TEST_RUN_NAME::${{ matrix.browser }}-${{ github.workflow }}—$BRANCH_NAME" | ||
|
|
||
| - name: Setup Edge | ||
| if: ${{ startsWith(matrix.browser, 'edge') }} | ||
| id: setup-edge | ||
| uses: browser-actions/setup-edge@v1 | ||
|
|
||
| - name: Print Edge location | ||
| if: ${{ startsWith(matrix.browser, 'edge') }} | ||
| run: cat ${{ steps.setup-edge.outputs.edge-path }} | ||
|
|
||
| - name: Setup Chrome | ||
| if: ${{ startsWith(matrix.browser, 'chrome') }} | ||
| uses: browser-actions/setup-chrome@v2 | ||
| with: | ||
| install-dependencies: true | ||
|
|
||
| - name: Setup Firefox | ||
| if: ${{ startsWith(matrix.browser, 'firefox') }} | ||
| uses: browser-actions/setup-firefox@v1 | ||
|
|
||
| - name: Install node version 24 | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '24' | ||
|
|
||
| - name: Install root dependencies | ||
| run: npm install | ||
|
|
||
|
|
@@ -28,15 +52,16 @@ jobs: | |
| working-directory: ./test | ||
|
|
||
| - name: Install Chrome Beta | ||
| if: ${{ startsWith(matrix.browser, 'chrome') }} | ||
| if: ${{ startsWith(matrix.browser, 'chrome:beta') }} | ||
|
||
| run: | | ||
| curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | ||
| echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome-beta.list | ||
| sudo apt-get update | ||
| sudo apt-get install google-chrome-beta | ||
|
|
||
| - name: Cypress run | ||
| uses: cypress-io/github-action@v5 | ||
| - name: Cypress run chrome or firefox | ||
| if: ${{ matrix.browser == 'chrome-for-testing' || startsWith(matrix.browser, 'firefox') }} | ||
| uses: cypress-io/github-action@v6 | ||
| with: | ||
| quiet: true | ||
| working-directory: ./test | ||
|
|
@@ -50,3 +75,20 @@ jobs: | |
| SBVT_SCM_BRANCH: ${{ github.head_ref || github.ref_name }} | ||
| SBVT_SCM_COMMIT_ID: ${{ github.sha }} | ||
| DEBUG: TRUE | ||
|
|
||
| - name: Cypress run edge | ||
| if: ${{ startsWith(matrix.browser, 'edge') }} | ||
| uses: cypress-io/github-action@v6 | ||
| with: | ||
| quiet: true | ||
| working-directory: ./test | ||
| spec: cypress/e2e/test-spec/quick-test_* | ||
| browser: ${{ steps.setup-edge.outputs.edge-path }} | ||
|
|
||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PROJECT_TOKEN: ${{ secrets.DEV_EXAMPLE_7 }} | ||
| TEST_RUN_NAME: ${{ steps.set-test-run-name.outputs.TEST_RUN_NAME }} | ||
| SBVT_SCM_BRANCH: ${{ github.head_ref || github.ref_name }} | ||
| SBVT_SCM_COMMIT_ID: ${{ github.sha }} | ||
| DEBUG: TRUE | ||
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.
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comments