Skip to content

Commit

Permalink
build: TRAVIS environment variable for desktop tests disabled (#8059)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-pro authored Oct 27, 2023
1 parent f924899 commit 67def67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
CLIENT_TESTS_CURRENT_BROWSER: ${{ matrix.browser }}
# NOTE: Test server on Android Emulator 7.1 and later can be accessed only via hostname.
# We are forced to add this variable to say the 'qunit-harness' module uses the hostname for the test server URL.
# https://github.com/AlexanderMoskovkin/qunit-harness/blob/master/src/index.js#L119
TRAVIS: true
steps:
- uses: DevExpress/testcafe-build-system/actions/set-status@main
with:
Expand Down
4 changes: 4 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ gulp.step('test-client-travis-mobile-run', () => {
CLIENT_TESTS_MOBILE_BROWSERS,
} = require('./gulp/constants/client-test-settings');

// NOTE: Test server on Android Emulator 7.1 and later can be accessed only via hostname.
// We are forced to add this variable to say the 'qunit-harness' module uses the hostname for the test server URL.
// https://github.com/AlexanderMoskovkin/qunit-harness/blob/master/src/index.js#L119
process.env.TRAVIS = true;

const saucelabsSettings = CLIENT_TESTS_SAUCELABS_SETTINGS;

Expand Down

0 comments on commit 67def67

Please sign in to comment.