Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor3/web/core/tests/Drupal/Nightwatch/Tests/Olivero/

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/rocksensor3/web/core/tests/Drupal/Nightwatch/Tests/Olivero/oliveroMiscTest.js

const preloadFontPaths = [
  'core/themes/olivero/fonts/metropolis/Metropolis-Regular.woff2',
  'core/themes/olivero/fonts/metropolis/Metropolis-SemiBold.woff2',
  'core/themes/olivero/fonts/metropolis/Metropolis-Bold.woff2',
  'core/themes/olivero/fonts/lora/lora-v14-latin-regular.woff2',
];

module.exports = {
  '@tags': ['core', 'olivero'],
  before(browser) {
    browser.drupalInstall({
      setupFile:
        'core/tests/Drupal/TestSite/TestSiteOliveroInstallTestScript.php',
      installProfile: 'minimal',
    });
  },
  after(browser) {
    browser.drupalUninstall();
  },
  'Verify font loading': (browser) => {
    browser
      .drupalRelativeURL('/')
      .waitForElementVisible('body')
      // Check that <link rel="preload"> tags properly reference font.
      .execute(
        // eslint-disable-next-line func-names, prefer-arrow-callback, no-shadow
        function (preloadFontPaths) {
          const basePath = drupalSettings.path.baseUrl;
          let selectorsExist = true;
          preloadFontPaths.forEach((path) => {
            if (!document.head.querySelector(`[href="${basePath + path}"]`)) {
              selectorsExist = false;
            }
          });

          return selectorsExist;
        },
        [preloadFontPaths],
        (result) => {
          browser.assert.ok(
            result.value,
            'Check that <link rel="preload"> tags properly reference font.',
          );
        },
      )
      // Check that the CSS @font-face declaration has loaded the font.
      .execute(
        // eslint-disable-next-line func-names, prefer-arrow-callback, no-shadow
        function () {
          document.fonts.load('16px metropolis');
          document.fonts.load('16px Lora');
          return (
            document.fonts.check('16px metropolis') &&
            document.fonts.check('16px Lora')
          );
        },
        [],
        (result) => {
          browser.assert.ok(
            result.value,
            'Check that the CSS @font-face declaration has loaded the font.',
          );
        },
      );
  },
};

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