commercetools-8.x-1.2-alpha1/modules/commercetools_content/tests/src/Nightwatch/Tests/cacheInvalidationCatalogPageTest.js

modules/commercetools_content/tests/src/Nightwatch/Tests/cacheInvalidationCatalogPageTest.js
const getBeforeAfterFunctions = require('../../../../../../tests/src/Nightwatch/Lib/getBeforeAfterFunctions');
const checkCatalogPageCaching = require('../../../../../../tests/src/Nightwatch/Lib/checkCatalogPageCaching');

module.exports = {
  ...getBeforeAfterFunctions(__filename, {
    // Set a separate context because the test modifies the files with assets
    // that can break parallel execution of the tests.
    context: 'checkCatalogPageCaching',
  }),

  'Check catalog page cache tags invalidation': (browser) => {
    checkCatalogPageCaching(browser, 'commercetools_content');
  },
};

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc