Skip to content

Commit 7958ab3

Browse files
authored
More parallel UI tests (#24449)
* Split UI tests into more parts * Use UITestFixture as it requires the overlay site to be set up
1 parent 5b38a40 commit 7958ab3

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/matomo-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
strategy:
137137
fail-fast: ${{ inputs.is_preview == true }}
138138
matrix:
139-
parts: [ 0,1,2,3 ]
139+
parts: [ 0,1,2,3,4,5,6,7,8,9 ]
140140
steps:
141141
- uses: actions/checkout@v6
142142
with:
@@ -148,7 +148,7 @@ jobs:
148148
- name: running tests
149149
uses: matomo-org/github-action-tests@main
150150
with:
151-
ui-test-options: '--num-test-groups=4 --test-group=${{ matrix.parts }}'
151+
ui-test-options: '--num-test-groups=10 --test-group=${{ matrix.parts }}'
152152
test-type: 'UI'
153153
php-version: '7.2'
154154
node-version: '16'

tests/UI/specs/OptOutIframe_spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
*/
99

1010
describe("OptOutIframe", function () {
11-
this.fixture = "Piwik\\Tests\\Fixtures\\OneVisit";
12-
1311
const siteUrl = "/tests/resources/overlay-test-site-real/opt-out.php?implementation=iframe",
1412
safariUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A",
1513
chromeUserAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36";

0 commit comments

Comments
 (0)