Loading core/modules/ckeditor5/tests/src/Nightwatch/Tests/ckEditor5CodeSyntaxTest.js +4 −12 Original line number Diff line number Diff line 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(); Loading @@ -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"]') Loading core/tests/Drupal/Nightwatch/Tests/machineNameTransliterationTest.js +1 −9 Original line number Diff line number Diff line Loading @@ -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(); Loading Loading
core/modules/ckeditor5/tests/src/Nightwatch/Tests/ckEditor5CodeSyntaxTest.js +4 −12 Original line number Diff line number Diff line 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(); Loading @@ -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"]') Loading
core/tests/Drupal/Nightwatch/Tests/machineNameTransliterationTest.js +1 −9 Original line number Diff line number Diff line Loading @@ -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(); Loading