ImageUrlTest fails on GitlabCI integration

Created on 1 September 2023, about 1 year ago
Updated 4 September 2023, about 1 year ago

Problem/Motivation

We are trying to integrate GitlabCI into core in this project: https://git.drupalcode.org/project/gitlab_ci_testbed_for_drupal_core
The project is a copy of core 11.x with the GitlabCI related files. We've made really good progress, but there are still some fails that are not happening in DrupalCI.

#3375827: Investigate tests failures and https://git.drupalcode.org/project/gitlab_ci_testbed_for_drupal_core/-/m... is the issue where those fails are being tracked and tested. So far 🐛 BrowserTestBase::drupalGet() does not appear to be handling base url properly Fixed , 🐛 Absolute path for oembed iframe Fixed , 🐛 Installer can't create new database on PostgreSQL Fixed have been filed from this work. Some of these were not spotted in DrupalCI due to the customizations within the test system, but they're appearing on a new system (GitlabCI) which barely has any customizations.

The remaining errors happen in "ImageUrlTest" within the "ckeditor5" core module. They can be seen here: https://git.drupalcode.org/project/gitlab_ci_testbed_for_drupal_core/-/j...

Testing Drupal\Tests\ckeditor5\FunctionalJavascript\ImageUrlTest
    ..........EE.....F.                                               19 / 19
    (100%)

There were 2 errors:
1) Drupal\Tests\ckeditor5\FunctionalJavascript\ImageUrlTest::testAltTextRequired with data set "Restricted" (false)
...Unable to locate element:...
2) Drupal\Tests\ckeditor5\FunctionalJavascript\ImageUrlTest::testAltTextRequired with data set "Unrestricted" (true)
...Unable to locate element:...

There was 1 failure:
1) Drupal\Tests\ckeditor5\FunctionalJavascript\ImageUrlTest::testResize with data set "Image resize is enabled" (true)
Failed asserting that false is identical to true.

I was not able to identify why they're not working so it'd be great to have help from somebody more knowledgeable.

Steps to reproduce

Run the test via GitlabCI (see previous paragraph for more details).

Proposed resolution

Investigate why this fails.

Remaining tasks

MR with fixes.

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.1

Component
CKEditor 5 

Last updated 2 days ago

Created by

🇪🇸Spain fjgarlin

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

Comments & Activities

Production build 0.71.5 2024