Skip to content

Update the UI expected screenshots and specs for Matomo 6 - #642

Merged
sgiehl merged 5 commits into
prepare6xfrom
prepare6x-expected-files
Aug 13, 2026
Merged

Update the UI expected screenshots and specs for Matomo 6#642
sgiehl merged 5 commits into
prepare6xfrom
prepare6x-expected-files

Conversation

@snake14

@snake14 snake14 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Description

Stacks on #639 to make its UI leg green, in two parts.

Expected screenshots (12) — six differ only by the Matomo 6 theme (accent colour change) and are synced from the CI artifacts of run 31569840370. The other six cover the GA4 import lifecycle (started, errored, resumed, re-import range, finished, removed) and are synced from run 31682648525, the first run where that flow actually executes on Matomo 6 (see below) — each verified to show the correct import state in the new theme.

GA4 spec modernization — the spec drove the import form with jQuery ($(...).val(...).change() and synthetic .click()), and on Matomo 6 those synthetic events no longer reach the Vue model, so the form submitted with an empty propertyId and failed with "The parameter 'propertyId' isn't set in the Request"; no import job was ever created and the rest of the spec cascade-failed on the missing import row. This first looked like a product regression, but it is test-only: filling the same fields with real typed keyboard events works, so actual users are unaffected. The spec now types the form values (with a verify-and-retry against swallowed first keystrokes, as the FormAnalytics specs do), fires a native change event for the scope select (whose option values keep their string: prefixed keys), and drops the interaction with the importer-selection radio — no such radio has existed since the GA3 importer's removal; jQuery's silent empty-set click masked that, which is also why load_ga4.png has always been identical to load.png.

Issue No

Related to #639.

Steps to Replicate the Issue

  1. Run the UI workflow on Prepare for Matomo 6 #639.
  2. Expected: green leg.
  3. Actual: 13 failures — six theme-only screenshot mismatches, plus the GA4 import spec failing at form submission and everything downstream of it.

Checklist

  • [✔] Tested locally or on demo2/demo3?
  • [✔] New test case added/updated?
  • [NA] Are all newly added texts included via translation?
  • [NA] Are text sanitized properly? (Eg use of v-text v/s v-html for vue)
  • [NA] Version bumped?
  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules
  • [NA] Documentation updated?

Six screenshots differ only by the Matomo 6 accent colour, synced from
the CI artifacts of run 31569840370. The two GA4 import screenshots are
deliberately not synced: on Matomo 6 the import form fails with a
missing propertyId, which needs fixing first.
Vue's v-model does not receive jQuery's synthetic .val().change(), so on
Matomo 6 the form submitted with an empty propertyId and no import was
ever scheduled; the later spec steps failed on the missing import row.
Programmatically set values do not reach the Vue model even with native
input/change events dispatched, while trusted typed input does (same
pattern as the FormAnalytics specs).
The multituple scope select's option values still use the string:
prefixed keys, and the radio needs waiting for before Vue mounts it.
…hots

There has been no importer selection radio since GA3 was removed — the
jQuery empty-set click just masked it, which is also why load_ga4 always
equalled load. The six lifecycle screenshots are synced from the first
run where the import flow actually executes on Matomo 6, each verified
to show the correct import state.
@snake14 snake14 changed the title Update theme-only UI expected screenshots for Matomo 6 Update the UI expected screenshots and specs for Matomo 6 Aug 13, 2026
@snake14
snake14 requested a review from sgiehl August 13, 2026 09:02
@sgiehl
sgiehl merged commit 0f0fde1 into prepare6x Aug 13, 2026
15 checks passed
@sgiehl
sgiehl deleted the prepare6x-expected-files branch August 13, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants