commercetools-8.x-1.2-alpha1/tests/src/Nightwatch/Lib/utils/checkBadCredentialsErrors.js
tests/src/Nightwatch/Lib/utils/checkBadCredentialsErrors.js
module.exports = function checkBadCredentialsErrors(browser) {
browser
.navigateTo(browser.globals.ct.catalogUrl)
.waitForElementVisible('.alert')
.assert.textContains('body', 'commercetools GraphQL error');
};
