drupalInstallModule nightwatch function does not work with Experimental modules

Created on 17 June 2024, 3 months ago
Updated 1 July 2024, 2 months ago

Problem/Motivation

While working on ✨ Evaluate adding Nightwatch tests Active it was necessary to create a workaround to enable Navigation module for Nightwatch tests.
Source root of this issue is that confirmation form id is different when there are experimental modules involved.

Test ends up throwing an exception like this:

  1)  βœ– NightwatchAssertError
   Timed out while waiting for element <#system-modules-confirm-form> to be present for 10000 milliseconds. - expected "found" but got: "not found" (10133ms)

Steps to reproduce

  • Create a Nightwatch test
  • Try to enable an experimental module using drupalInstallModule('navigation')
  • Confirm Error

Proposed resolution

Give support for bopth experimental and non-experimental selectors in drupalInstallModule()

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.4 ✨

Component
SystemΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡ͺπŸ‡ΈSpain plopesc Valladolid

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