commercetools-8.x-1.2-alpha1/modules/commercetools_decoupled/tests/src/Nightwatch/Tests/cacheInvalidationDecoupledCatalogPageTest.js

modules/commercetools_decoupled/tests/src/Nightwatch/Tests/cacheInvalidationDecoupledCatalogPageTest.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 decoupled catalog page cache tags invalidation': (browser) => {
    checkCatalogPageCaching(browser, 'commercetools_decoupled');
  },
};

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

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