woocommerce/tests/e2e/env/index.js

53 lines
985 B
JavaScript
Raw Normal View History

2020-09-15 17:08:19 +00:00
/**
* Internal dependencies
*/
const babelConfig = require( './babel.config' );
const esLintConfig = require( './.eslintrc.js' );
2020-07-29 18:13:22 +00:00
const {
jestConfig,
jestPuppeteerConfig,
2020-09-15 17:08:19 +00:00
useE2EBabelConfig,
useE2EEsLintConfig,
2020-07-29 18:13:22 +00:00
useE2EJestConfig,
useE2EJestPuppeteerConfig,
} = require( './config' );
const { getAppRoot, getTestConfig } = require( './utils' );
const {
clickAndWaitForNewPage,
getAccountCredentials,
isEventuallyPresent,
isEventuallyVisible,
logDebugLog,
logHTML,
waitAndClick,
waitAndType,
waitForSelector,
scrollIntoView,
Page
} = require( '@automattic/puppeteer-utils' );
module.exports = {
2020-07-29 18:13:22 +00:00
babelConfig,
esLintConfig,
jestConfig,
jestPuppeteerConfig,
2020-09-15 17:08:19 +00:00
useE2EBabelConfig,
useE2EEsLintConfig,
2020-07-29 18:13:22 +00:00
useE2EJestConfig,
useE2EJestPuppeteerConfig,
getAppRoot,
getTestConfig,
clickAndWaitForNewPage,
getAccountCredentials,
isEventuallyPresent,
isEventuallyVisible,
logDebugLog,
logHTML,
waitAndClick,
waitAndType,
waitForSelector,
scrollIntoView,
Page,
};