Skip to content
Snippets Groups Projects
Verified Commit 977e680a authored by Dave Long's avatar Dave Long
Browse files

Issue #3413665 by Spokje: Enable modules through Nightwatch API when not testing module enabling

(cherry picked from commit a2f51b88)
parent 2deae09a
No related branches found
No related tags found
14 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.,!7567Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7565Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7509Change label "Block description" to "Block type",!7344Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update...,!6922Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words,!6848Issue #3417553 by longwave: Remove withConsecutive() in CacheCollectorTest,!6720Revert "Issue #3358581 by pfrenssen, _tarik_, a.dmitriiev, smustgrave:...,!6560Update ClaroPreRender.php, confirming classes provided are in array format,!6528Issue #3414261 by catch: Add authenticated user umami performance tests,!6501Issue #3263668 by omkar-pd, Wim Leers, hooroomoo: Re-enable inline form errors...,!6354Draft: Issue #3380392 by phma: Updating language weight from the overview reverts label if translated,!6324Issue #3416723 by Ludo.R: Provide a "node type" views default argument
Pipeline #76471 passed
Pipeline: drupal

#76473

    module.exports = {
    '@tags': ['core', 'ckeditor5'],
    before(browser) {
    browser.drupalInstall({ installProfile: 'minimal' });
    browser
    .drupalInstall({ installProfile: 'minimal' })
    .drupalInstallModule('ckeditor5', true)
    .drupalInstallModule('field_ui');
    },
    after(browser) {
    browser.drupalUninstall();
    ......@@ -9,17 +12,6 @@ module.exports = {
    'Verify code block configured languages are respected': (browser) => {
    browser.drupalLoginAsAdmin(() => {
    browser
    // Enable required modules.
    .drupalRelativeURL('/admin/modules')
    .click('[name="modules[ckeditor5][enable]"]')
    .click('[name="modules[field_ui][enable]"]')
    .submitForm('input[type="submit"]') // Submit module form.
    .waitForElementVisible(
    '.system-modules-confirm-form input[value="Continue"]',
    )
    .submitForm('input[value="Continue"]') // Confirm installation of dependencies.
    .waitForElementVisible('.system-modules', 10000)
    // Create new input format.
    .drupalRelativeURL('/admin/config/content/formats/add')
    .waitForElementVisible('[data-drupal-selector="edit-name"]')
    ......
    ......@@ -210,15 +210,7 @@ const MachineNameTestArray = [
    ];
    module.exports = {
    before(browser) {
    browser.drupalInstall().drupalLoginAsAdmin(() => {
    browser
    .drupalRelativeURL('/admin/modules')
    .setValue('input[type="search"]', 'FormAPI')
    .waitForElementVisible('input[name="modules[form_test][enable]"]', 1000)
    .click('input[name="modules[form_test][enable]"]')
    .click('input[type="submit"]') // Submit module form.
    .click('input[type="submit"]'); // Confirm installation of dependencies.
    });
    browser.drupalInstall().drupalInstallModule('form_test', true);
    },
    after(browser) {
    browser.drupalUninstall();
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment