Closed (fixed)
Project:
Paragraphs Inline Entity Form
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 Mar 2019 at 10:10 UTC
Updated:
9 Sep 2026 at 10:00 UTC
Jump to comment: Most recent

Comments
Comment #8
marcelovaniMerged initial pull request to fix the Example module.
Still need to work on Functional Javascript tests.
Comment #9
marcelovaniComment #10
marcelovaniComment #19
marcelovaniMerged as MR !20.
ParagraphsIEFEmbedTestnow covers the flow this module exists for, in a real browser:None of that is reachable from
BrowserTestBase— the toolbar button, the iframe, the inline form and the embed step are all AJAX, which is why the earlier tests stopped at "the form renders".Two things worth recording from writing them.
Editors need a permission that is easy to miss: Entity Browser generates "access <browser> entity browser pages" per browser, and without
access paragraph_items entity browser pagesthe dialog opens on an access denied page rather than the type selector. That was the first thing the test hit. It is now documented — see #3619188.Selecting an embedded entity logs a JavaScript error from Entity Embed, which would fail any test that embeds anything. Rather than turn the console check off, the test discards that one error by signature and still fails on any other. See #3619182.
The container ships no browser, so the Makefile grew
selenium-startandtest-local-js. CI needed no change: its test jobs already attach a Selenium service and run every suite in the module. Verified the tests genuinely execute there rather than being skipped — the phpunit job log shows both methods passing against Chrome 127.Comment #20
marcelovani