Fix behat CKEditor context for writing inside the editor

Created on 12 December 2023, 7 months ago
Updated 5 January 2024, 6 months ago

Problem/Motivation

In some cases the context for @When /^I fill in the "([^"]*)" WYSIWYG editor with "([^"]*)"$/ is not working correctly, especially when the form is loaded via AJAX or nested (like in IEF module). In that case the div gets appended a unique identifier so when the JS script gets evaluated in cannot find the CKEditor instance.

Steps to reproduce

1. Write a test that uses the above context and wants to write to CKEditor 5 instance that is rendered via IEF module.

Proposed resolution

Fix the context so that it works in all cases.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

12.0

Component

Code (back-end)

Created by

🇸🇮Slovenia nkoporec Slovenia

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

Comments & Activities

Production build 0.69.0 2024