Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions .github/workflows/pr-filter-stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ jobs:
steps:
- run: exit 1
qunit_tests4:
name: 'Constel ui.widgets(1/2)'
name: 'Constel ui.widgets(1/2)-no-csp'
needs: [ changesSegregation ]
if: false
runs-on: ubuntu-latest
steps:
- run: exit 1
qunit_tests5:
name: 'Constel ui.widgets(2/2)'
name: 'Constel ui.widgets(2/2)-no-csp'
needs: [ changesSegregation ]
if: false
runs-on: ubuntu-latest
Expand Down
62 changes: 0 additions & 62 deletions .github/workflows/qunit_tests-additional-renovation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,42 +73,6 @@ jobs:
path: packages/devextreme/artifacts.zip
retention-days: 1

qunit-tests-timezones:
needs: build
runs-on: devextreme-shr2
name: ${{ matrix.constel }}-${{ matrix.timezone }}
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
constel: [
'misc(1/2)',
'misc(2/2)',
'ui.editors(1/2)',
'ui.editors(2/2)',
'ui.grid(1/2)',
'ui.grid(2/2)',
'ui.scheduler(1/3)',
'ui.scheduler(2/3)',
'ui.scheduler(3/3)'
]
timezone: [ 'US/Pacific', 'Japan', 'Australia/ACT', 'Europe/London' ]

steps:
- name: Get sources
uses: actions/checkout@v4

- name: Run QUnit tests
uses: ./.github/actions/run-qunit-tests
with:
name: ${{ matrix.constel }}-${{ matrix.timezone }}
constel: ${{ matrix.constel }}
browser: 'chrome'
timezone: ${{ matrix.timezone }}
headless: 'true'
useJQuery: 'false'
useCsp: 'true'

qunit-tests-mobile-and-shadow-dom:
needs: build
runs-on: devextreme-shr2
Expand Down Expand Up @@ -222,39 +186,13 @@ jobs:
headless: 'true'
useCsp: 'true'

qunit-tests-no-csp:
needs: build
runs-on: devextreme-shr2
name: ${{ matrix.constel }}-no-csp
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
constel: [ 'misc(1/2)', 'misc(2/2)' ]

steps:
- name: Get sources
uses: actions/checkout@v4

- name: Run QUnit tests
uses: ./.github/actions/run-qunit-tests
with:
name: ${{ matrix.constel }}-no-csp
constel: ${{ matrix.constel }}
browser: 'chrome'
useJQuery: 'true'
headless: 'true'
useCsp: 'false'

notify:
runs-on: devextreme-shr2
name: Send notifications
needs: [
build,
qunit-tests-timezones,
qunit-tests-mobile-and-shadow-dom,
qunit-tests-firefox,
qunit-tests-no-csp
]
if: github.event_name != 'pull_request' && contains(needs.*.result, 'failure')

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: QUnit tests for renovation
name: QUnit tests

concurrency:
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"
BUILD_INPROGRESS_RENOVATION: "true"
run: pnpx nx build:dev
run: pnpx nx build:systemjs

- name: Zip artifacts
working-directory: ./packages/devextreme
Expand All @@ -77,12 +77,37 @@ jobs:
qunit-tests:
needs: build
runs-on: devextreme-shr2
name: Constel ${{ matrix.CONSTEL }}
name: Constel ${{ matrix.CONSTEL }}${{ matrix.TIMEZONE != '' && format('-{0}', matrix.TIMEZONE) || '' }}${{ matrix.CSP == 'false' && '-no-csp' || '' }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
CONSTEL: [ export, misc, ui, ui.widgets(1/2), ui.widgets(2/2), ui.editors, ui.htmlEditor, ui.grid, ui.scheduler(1/2), ui.scheduler(2/2), viz ]
CONSTEL: [
export,
misc,
ui,
ui.editors,
ui.htmlEditor,
ui.grid,
ui.scheduler(1/2),
ui.scheduler(2/2),
viz
]
TIMEZONE: ['']
CSP: ['true']
useJQuery: ['false']
include:
- CONSTEL: ui.scheduler(1/2)
TIMEZONE: US/Pacific
- CONSTEL: ui.scheduler(2/2)
TIMEZONE: US/Pacific
- CONSTEL: misc
CSP: 'false'
useJQuery: 'true'
- CONSTEL: ui.widgets(1/2)
CSP: 'false'
- CONSTEL: ui.widgets(2/2)
CSP: 'false'

steps:
- name: Get sources
Expand All @@ -91,9 +116,11 @@ jobs:
- name: Run QUnit tests
uses: ./.github/actions/run-qunit-tests
with:
name: Constel ${{ matrix.CONSTEL }}
name: Constel ${{ matrix.CONSTEL }}${{ matrix.TIMEZONE != '' && format('-{0}', matrix.TIMEZONE) || '' }}${{ matrix.CSP == 'false' && '-no-csp' || '' }}
constel: ${{ matrix.CONSTEL }}
useCsp: "false"
timezone: ${{ matrix.TIMEZONE }}
useJQuery: ${{ matrix.useJQuery }}
useCsp: ${{ matrix.CSP }}

notify:
runs-on: devextreme-shr2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ QUnit.module('keyboard navigation', {
assert.equal(tabsFocusedIndex, $(this.instance.option('focusedElement')).index(), 'multiView focused element is equal tabs focused element');
});

QUnit.test('looping should work on keyboard navigation after loop runtime change to true and swipe', function(assert) {
QUnit.skip('looping should work on keyboard navigation after loop runtime change to true and swipe', function(assert) {
Comment thread
EugeniyKiyashko marked this conversation as resolved.
if(shouldSkipOnMobile(assert, 'there is no keyboard navigation on mobile devices')) {
return;
}
Expand Down
Loading