Skip to content
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

Desktop end to end testing #595

Merged
merged 19 commits into from
Feb 7, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
restrict dekstop e2e tests to windows
  • Loading branch information
jon gadsden committed Feb 7, 2023
commit c53bfe7aa49ff237744954ab36e8b5536e91981a
12 changes: 5 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,21 +366,17 @@ jobs:
exit-code: 1

desktop_e2e_tests:
runs-on: ${{ matrix.config.os }}
runs-on: windows-latest
needs: [desktop_unit_tests, site_unit_tests]
strategy:
matrix:
config:
- { os: macos-latest }
- { os: ubuntu-latest }
- { os: windows-latest }
defaults:
run:
working-directory: td.vue
steps:
- name: Checkout
uses: actions/checkout@v3

# ubuntu-latest does not find the chrome driver
# so until this is fixed, only windows-latest
- name: Setup Chrome
uses: browser-actions/[email protected]

Expand All @@ -406,5 +402,7 @@ jobs:
- name: Build application
run: npm run build:e2e:desktop

# for macos-latest running locally works but pipeline times out
# so until this is fixed, only windows-latest
- name: End to end tests
run: npm run test:e2e:desktop
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Setup Chrome
uses: browser-actions/[email protected]

- name: Use Node.js 18.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
7 changes: 1 addition & 6 deletions td.vue/wdio.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ const config = {
},
],
],
capabilities: [{
browserName: 'chrome',
'goog:chromeOptions': {
args: ['headless', 'disable-gpu']
}
}],
capabilities: [{}],
port: 9519,
waitforTimeout: 30000,
connectionRetryCount: 10,
Expand Down