CI: new `cypress E2E debug` job

Created on 17 December 2024, 5 days ago

Overview

ā€¦
Then I remembered something @jessebaker said on Slack: maybe it's a dev vs. production build issue. That's it! šŸ’«

I was able to confirm that testing the app after npm run build (and reverting my fix) doesn't present the issue! This is because there are no subsequent re-renders occurring for the InputBehaviors component in the production build. They happen in development mode thanks to our use of <StrictMode>, which helps us catch bugs by double rendering in development. That's exactly what happened here. The fix is still valid and necessary.

ā€¦

AFAICT we could've caught this automatically.

Proposed resolution

Add new cypress E2E debug CI job that's identical to the cypress E2E job, with two exceptions:

  1. it uses the debug build (npm run drupaldev, not npm run build)
  2. it does not run always, only when the UI is changed (and of course for the 0.x branch + manually)

User interface changes

None.

šŸ“Œ Task
Status

Active

Version

0.0

Component

Page builder

Created by

šŸ‡§šŸ‡ŖBelgium wim leers Ghent šŸ‡§šŸ‡ŖšŸ‡ŖšŸ‡ŗ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024