Skip to content

test: run e2e on Mendix 11.15.0 with React client and Atlas 4 (more widgets) - #2557

Open
leonardomendix wants to merge 6 commits into
mainfrom
test/accessibility-helper-web-atlas4
Open

leonardomendix wants to merge 6 commits into
mainfrom
test/accessibility-helper-web-atlas4

Conversation

@leonardomendix

@leonardomendix leonardomendix commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Pull request type

Test related change (New E2E test, test automation, etc.)


Description

Follow-up of #2371: more widgets run their e2e on Mendix 11.15.0 with the React client and Atlas Core 4.5.0.

For each widget, package.json points to a new -atlas4 test project branch, sets atlasCoreVersion 4.5.0 and atlasThemeTag atlasui-theme-files-2025-10-08, and runs MENDIX_VERSION=11.15.0 MODERN_CLIENT=--modern-web-client run-e2e ci.

Test projects updated in mendix/testProjects:

Widget Test project branch Changes in the test project
accessibility-helper-web accessibility-helper-web-atlas4 Converted from 10.12.15 to 11.15.0. Atlas_Core 4.5.0 replaces Atlas_UI_Resources 2.6.1, and pages use the Atlas_Core layouts. "Use React client" set to Yes. Administration 1.2.1 removed.
accordion-web accordion-web-atlas4 Converted from 10.12.15 to 11.15.0. Atlas_Core 3.0.2 replaced by 4.5.0. "Use React client" set to Yes. Administration 1.2.1 removed. On the home page, the static images became Image widgets with the same names.
badge-button-web badge-button-web-atlas4 Converted from 10.12.15 to 11.15.0. Atlas_Core replaced by 4.5.0. "Use React client" set to Yes. Administration 1.2.1 removed. Data Widgets 3.11.10 added: the Template Grid became a Gallery and the Data Grid a Data Grid 2 (single selection, still the source of the listening data view).
bubble-chart-web bubble-chart-web-atlas4 Converted from 10.24.0 to 11.15.0. Atlas_Core 3.15.0 replaced by 4.5.0, and the theme updated to atlasui-theme-files-2025-10-08. "Use React client" set to Yes. Administration 1.2.1 removed.
carousel-web carousel-web-atlas4 Converted from 10.12.15 to 11.15.0. Atlas_Core 3.14.0 replaced by 4.5.0, the theme updated to atlasui-theme-files-2025-10-08, and Data Widgets 2.13.0 replaced by 3.11.10. "Use React client" set to Yes. TestSuite pages not used by the e2e, converted so the project builds on the React client: Data Grid -> Data Grid 2 (Carousel_Overview, Image_Overview, ListenToGrid), Template Grid -> Gallery (TemplateGrid), reference selector -> Combo box (DS_URL_OnclickOpenPage, ImageUpload, Images_NewEdit).
checkbox-radio-selection-web checkbox-radio-selection-web-atlas4 Converted from 10.24.0 to 11.15.0. Atlas_Core 3.18.2 replaced by 4.5.0 and Data Widgets 3.2.0 by 3.11.10. Already on the React client. The Feedback widget stays, because the project has FeedbackModule.

Where present, the Administration 1.2.1 module is removed: its Dojo-only widgets don't run on the React client, and the tests don't use it.

Spec changes:

  • badge-button-web: differentViews.spec.js never registered its tests, because its test.skip(..., () => {...}) wrapper does not run the callback. Its 7 tests run again, now on the gallery and the Data Grid 2. Their selectors are fixed, and they check that every list item shows a badge button instead of exact counts, which change while tests run in parallel.
  • badge-button-web: screenshot baseline updated for the Atlas 4 colors.
  • bubble-chart-web: the 14 screenshot baselines are updated. The charts render the same, but the screenshots include the page top bar, which has the Atlas 4 colors and fonts.
  • checkbox-radio-selection-web: the 5 screenshot baselines are updated for the Atlas 4 fonts, label style and page width.

What should be covered while testing?

E2E tests should continue to pass in the automation. Locally, against the new test projects: accessibility-helper-web 12/12, accordion-web 6/6, badge-button-web 19/19, bubble-chart-web 14/14 and carousel-web 4/4 (1 test skipped in the spec) and checkbox-radio-selection-web 7/7 pass.

…client and Atlas 4

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

This comment has been minimized.

@leonardomendix leonardomendix changed the title test(accessibility-helper-web): run e2e on Mendix 11.15.0 with React client and Atlas 4 [WC-3623] Update testProjects to Mendix 11.15.0 with React client and Atlas 4 Nov 24, 2026
@leonardomendix leonardomendix changed the title [WC-3623] Update testProjects to Mendix 11.15.0 with React client and Atlas 4 test: run e2e on Mendix 11.15.0 with React client and Atlas 4 (more widgets) Nov 24, 2026
@github-actions

This comment has been minimized.

…nd Atlas 4

The different views spec never registered its tests: its test.skip wrapper
does not run the callback. Run them again, with a gallery and a Data Grid 2
in place of the Template Grid and Data Grid that the React client does not
support, and update the screenshot baseline for the Atlas 4 colors.
@github-actions

This comment has been minimized.

…nd Atlas 4

Update the screenshot baselines: they include the page top bar, which has
the Atlas 4 colors and fonts.
@github-actions

This comment has been minimized.

…act client and Atlas 4

Update the screenshot baselines for the Atlas 4 fonts, label style and page
width.
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

AI Code Review

✅ Approved — no issues found


What was reviewed

File Change
accessibility-helper-web, accordion-web, carousel-web, checkbox-radio-selection-web, bubble-chart-web, badge-button-web package.json testProject points to the -atlas4 branch and sets Atlas Core 4.5.0 and the theme tag. The e2e script runs on Mendix 11.15.0 with the modern web client.
badge-button-web/e2e/differentViews.spec.js Removes the test.skip(..., () => {...}) wrapper that kept the tests from registering. Selectors now target the Gallery and Data Grid 2. Checks that every list item has a badge button, with no exact counts.
badge-button-web, bubble-chart-web, checkbox-radio-selection-web e2e snapshots Screenshot baselines regenerated for the Atlas 4 look: 1 for badge-button, 14 for bubble-chart and 5 for checkbox-radio-selection.

Skipped (out of scope): none. No lockfile, dist/ or generated files are in the diff.

CI: pending: sigridci, triage · unrelated failures: security/snyk (external scanner, "7 tests failed"; the diff changes only test config, specs and PNG baselines)


Positives

  • The Playwright specs use the @mendix/run-e2e/fixtures import. They have no hardcoded waits and use .mx-name-* selectors.
  • The old test.skip(process.env.MODERN_CLIENT === true, cb) never ran its callback, so those 7 tests never registered. This PR fixes that. The new list-item assertions count items at runtime instead of hardcoding totals, so they won't flake when tests run in parallel.
  • Every change is test-only, so no changelog entries are needed. Each package gets the same atlasCoreVersion and atlasThemeTag.

This branch has not been deployed

No deployments
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.

1 participant