Skip to content
Snippets Groups Projects
Commit 9b82c5c1 authored by catch's avatar catch
Browse files

Issue #3281863 by alexpott, Wim Leers, nod_, hestenet, xjm, huzooka,...

Issue #3281863 by alexpott, Wim Leers, nod_, hestenet, xjm, huzooka, Mixologic: Nightwatch tests failing >50% of test runs on PHP 7.3 in 9.4.x and 9.5.x, as well as PHP 8.1 on 10.0.x

(cherry picked from commit d69212e1)
parent ac0d6c60
No related branches found
No related tags found
22 merge requests!8357Issue #2994000 by Lendude, Pasqualle, quietone, pameeela: Notice in logs when...,!4488Issue #3376281: Random machine names no longer need to be wrapped in strtolower(),!3149Issue #3282285: Email "" does not comply with addr-spec of RFC 2822,!3000Issue #793660: Check for failure of hook_install,!2940Issue #3320240: Entity count query returns a string instead of int,!2937Issue #3315245: Order of languages overrides default language fallback,!2877Issue #3056652 by yogeshmpawar, mashermike, aalin, ranjith_kumar_k_u: Link...,!2804URL of image field formatter use absolute URL option.,!2749Issue #3309024: Focus on the wrong submit button after AJAX submit,!2692Issue #3284010 by _shY, mherchel, Abhijith S: "Create content" link within...,!2608Issue #2430379 by quietone, znerol, larowlan: Add explicit test for session...,!2575Issue #3198340 by alexpott, xjm, cilefen, Mile23, mmjvb, catch, longwave, mfb,...,!2555Issue #3277148 by rpayanm, andregp, joachim, Farnoosh, Athrylith, Jingting:...,!2554Issue #3277148 by rpayanm, andregp, joachim, Farnoosh, Athrylith, Jingting:...,!2539Issue #3299806 by BenStallings: Include uuid field in d7_node migration, if present.,!2453Issue #332796 by voleger, dww, Steve Dondley, ykhadilkar, Dave Reid,...,!2426Issue #3278314 by acbramley: InlineBlockUsageInterface::getUsage can return...,!2268Issue #3085219: Redesign Installer,!1627Issue #3082958: Add gitignore(s) to composer-ready project templates,!1014Issue #3226806: Move filter implementations from filter.module to plugin classes,!939Issue #2971209: Allow the MediaLibraryUiBuilder service to use an alternative view display,!88Issue #3163299: Ajax exposed filters not working for multiple instances of the same Views block placed on one page
......@@ -13,12 +13,22 @@ exports.command = function drupalInstallModule(module, callback) {
this.drupalLoginAsAdmin(() => {
this.drupalRelativeURL('/admin/modules')
// Filter module list to ensure that collapsable <details> elements are expanded.
.updateValue('[data-drupal-selector="edit-text"]', module)
.waitForElementVisible(`[name="modules[${module}][enable]"]`, 10000)
.click(`[name="modules[${module}][enable]"]`)
.click('input[data-drupal-selector="edit-submit"]')
// Wait for the install message to show up.
.waitForElementVisible('.system-modules', 10000);
.updateValue(
'form.system-modules [data-drupal-selector="edit-text"]',
module,
)
.waitForElementVisible(
`form.system-modules [name="modules[${module}][enable]"]`,
10000,
)
.click(`form.system-modules [name="modules[${module}][enable]"]`)
.submitForm('form.system-modules')
// Wait for the checkbox for the module to be disabled as a sign that the
// module has been enabled.
.waitForElementPresent(
`form.system-modules [name="modules[${module}][enable]"]:disabled`,
10000,
);
}).perform(() => {
if (typeof callback === 'function') {
callback.call(self);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment