commercetools-8.x-1.2-alpha1/tests/src/Nightwatch/Lib/checkEmptyProductList.js
tests/src/Nightwatch/Lib/checkEmptyProductList.js
const { product } = require('./selectors');
function checkEmptyProductList(browser) {
browser.expect.element(`${product.catalog} ${product.card.component}`).to.not // eslint-disable-line no-unused-expressions
.be.present;
browser.expect.element(`${product.catalog} ${product.catalogNoProductsFound}`) // eslint-disable-line no-unused-expressions
.to.be.present;
}
module.exports = checkEmptyProductList;
