@@ -102,9 +102,10 @@ jobs:
102102 { name: "material - compact", theme: 'material.blue.light.compact' },
103103
104104 { componentFolder: "cardView", name: "cardView" },
105- { componentFolder: "dataGrid", name: "dataGrid (1/3)", indices: "1/3" },
106- { componentFolder: "dataGrid", name: "dataGrid (2/3)", indices: "2/3" },
107- { componentFolder: "dataGrid", name: "dataGrid (3/3)", indices: "3/3" },
105+ { componentFolder: "dataGrid", name: "dataGrid (1/4)", indices: "1/4", cache: true },
106+ { componentFolder: "dataGrid", name: "dataGrid (2/4)", indices: "2/4", cache: true },
107+ { componentFolder: "dataGrid", name: "dataGrid (3/4)", indices: "3/4", cache: true },
108+ { componentFolder: "dataGrid", name: "dataGrid (4/4)", indices: "4/4", cache: true },
108109
109110 { componentFolder: "editors", name: "editors" },
110111 { componentFolder: "navigation", name: "navigation" },
@@ -139,10 +140,10 @@ jobs:
139140 working-directory : ./packages/devextreme
140141 run : 7z x artifacts.zip -aoa
141142
142- - name : Setup Chrome
143- uses : ./.github/actions/setup-chrome
144- with :
145- chrome-version : ' 141.0.7390.122'
143+ # - name: Setup Chrome
144+ # uses: ./.github/actions/setup-chrome
145+ # with:
146+ # chrome-version: '141.0.7390.122'
146147
147148 - name : Use Node.js
148149 uses : actions/setup-node@v4
@@ -182,24 +183,25 @@ jobs:
182183 [ "${{ matrix.ARGS.indices }}" != "" ] && INDICES="--indices ${{ matrix.ARGS.indices }}"
183184 [ "${{ matrix.ARGS.concurrency }}" != "" ] && CONCURRENCY="--concurrency ${{ matrix.ARGS.concurrency }}"
184185 [ "${{ matrix.ARGS.platform }}" != "" ] && PLATFORM="--platform ${{ matrix.ARGS.platform }}"
185- all_args="--browsers=chrome:devextreme-shr2 --componentFolder ${{ matrix.ARGS.componentFolder }} $CONCURRENCY $INDICES $PLATFORM $THEME"
186+ [ "${{ matrix.ARGS.cache }}" == "true" ] && CACHE="--cache true"
187+ all_args="--browsers=chrome:devextreme-shr2 --componentFolder ${{ matrix.ARGS.componentFolder }} $CONCURRENCY $INDICES $PLATFORM $THEME $CACHE"
186188 echo "$all_args"
187189 pnpm run test $all_args
188190
189191 - name : Sanitize job name
190- if : ${{ failure () }}
192+ if : ${{ always () }}
191193 run : echo "JOB_NAME=$(echo "${{ matrix.ARGS.name }}" | tr '/' '-')" >> $GITHUB_ENV
192194
193195 - name : Copy compared screenshot artifacts
194- if : ${{ failure () }}
196+ if : ${{ always () }}
195197 uses : actions/upload-artifact@v4
196198 with :
197199 name : compared-screenshots-${{ env.JOB_NAME }}
198200 path : ${{ github.workspace }}/e2e/testcafe-devextreme/artifacts/compared-screenshots/**/*
199201 if-no-files-found : ignore
200202
201203 - name : Copy failed test artifacts
202- if : ${{ failure () }}
204+ if : ${{ always () }}
203205 uses : actions/upload-artifact@v4
204206 with :
205207 name : failed-tests-${{ env.JOB_NAME }}
@@ -209,7 +211,7 @@ jobs:
209211 merge-artifacts :
210212 runs-on : devextreme-shr2
211213 needs : testcafe
212- if : ${{ failure () }}
214+ if : ${{ always () }}
213215
214216 steps :
215217 - name : Merge screenshot artifacts
0 commit comments