Skip to content
Draft
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
30 changes: 12 additions & 18 deletions .github/workflows/playwright_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,26 +148,20 @@ jobs:
[
{ "componentFolder": "common", "name": "common", "concurrency": 3 },

{ "name": "generic", "theme": "generic.light", "concurrency": 2 },
{ "name": "material", "theme": "material.blue.light", "concurrency": 2 },
{ "name": "material - compact", "theme": "material.blue.light.compact", "concurrency": 2 },
{ "name": "generic + material", "theme": "generic.light,material.blue.light,material.blue.light.compact", "concurrency": 2 },

{ "componentFolder": "cardView", "name": "cardView" },
{ "componentFolder": "dataGrid", "name": "dataGrid (1/4)", "indices": "1/4", "concurrency": 5 },
{ "componentFolder": "dataGrid", "name": "dataGrid (2/4)", "indices": "2/4", "concurrency": 5 },
{ "componentFolder": "dataGrid", "name": "dataGrid (3/4)", "indices": "3/4", "concurrency": 5 },
{ "componentFolder": "dataGrid", "name": "dataGrid (4/4)", "indices": "4/4", "concurrency": 5 },
{ "componentFolder": "dataGrid", "name": "dataGrid (1/3)", "indices": "1/3", "concurrency": 5 },
{ "componentFolder": "dataGrid", "name": "dataGrid (2/3)", "indices": "2/3", "concurrency": 5 },
{ "componentFolder": "dataGrid", "name": "dataGrid (3/3)", "indices": "3/3", "concurrency": 5 },

{ "componentFolder": "editors", "name": "editors" },
{ "componentFolder": "navigation", "name": "navigation", "concurrency": 6 },

{ "componentFolder": "scheduler/common", "name": "scheduler / common (1/3)", "indices": "1/3", "concurrency": 6 },
{ "componentFolder": "scheduler/common", "name": "scheduler / common (2/3)", "indices": "2/3", "concurrency": 6 },
{ "componentFolder": "scheduler/common", "name": "scheduler / common (3/3)", "indices": "3/3", "concurrency": 6 },
{ "componentFolder": "scheduler/viewOffset", "name": "scheduler / viewOffset (1/2)", "indices": "1/2", "concurrency": 4 },
{ "componentFolder": "scheduler/viewOffset", "name": "scheduler / viewOffset (2/2)", "indices": "2/2", "concurrency": 4 },
{ "componentFolder": "scheduler/timezones", "name": "scheduler / timezones (Europe/Berlin)", "timezone": "Europe/Berlin" },
{ "componentFolder": "scheduler/timezones", "name": "scheduler / timezones (America/Los_Angeles)", "timezone": "America/Los_Angeles" }
{ "componentFolder": "scheduler/common", "name": "scheduler / common (1/2)", "indices": "1/2", "concurrency": 6 },
{ "componentFolder": "scheduler/common", "name": "scheduler / common (2/2)", "indices": "2/2", "concurrency": 6 },
{ "componentFolder": "scheduler/viewOffset", "name": "scheduler / viewOffset", "concurrency": 4 },
{ "componentFolder": "scheduler/timezones", "name": "scheduler / timezones", "timezone": "Europe/Berlin,America/Los_Angeles" }
]
JSON
)
Expand Down Expand Up @@ -210,7 +204,7 @@ jobs:
fail-fast: false
matrix: ${{ fromJson(needs.determine-playwright-matrix.outputs.matrix) }}
runs-on: ${{ github.event_name == 'merge_group' && 'devextreme-shr2-ondemand' || 'devextreme-shr2' }}
timeout-minutes: 15
timeout-minutes: 20

steps:
- name: Get sources
Expand Down Expand Up @@ -264,8 +258,6 @@ jobs:
working-directory: ./e2e/playwright
env:
NODE_OPTIONS: --max-old-space-size=8192
# The browser context takes the timezone, so the agent clock is left alone.
TIMEZONE: ${{ matrix.timezone }}
# The default blob name is built from the test paths only, so jobs that differ by theme or
# timezone alone would write the same zip and overwrite each other once merged.
PLAYWRIGHT_BLOB_OUTPUT_NAME: report-${{ env.JOB_NAME }}.zip
Expand All @@ -278,7 +270,9 @@ jobs:
[ "${{ matrix.componentFolder }}" != "" ] && COMPONENT_FOLDER="--componentFolder ${{ matrix.componentFolder }}"
[ "${{ matrix.indices }}" != "" ] && INDICES="--indices ${{ matrix.indices }}"
[ "${{ matrix.concurrency }}" != "" ] && CONCURRENCY="--concurrency ${{ matrix.concurrency }}"
all_args="$COMPONENT_FOLDER $CONCURRENCY $INDICES $THEME"
# The browser context takes the timezone, so the agent clock is left alone.
[ "${{ matrix.timezone }}" != "" ] && TIMEZONE="--timezone ${{ matrix.timezone }}"
all_args="$COMPONENT_FOLDER $CONCURRENCY $INDICES $THEME $TIMEZONE"
echo "$all_args"
pnpm run test $all_args

Expand Down
Loading
Loading