woocommerce/tests/e2e/env/index.js

55 lines
1.0 KiB
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 webpackAlias = require( './webpack-alias' );
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,
2020-07-29 18:13:22 +00:00
webpackAlias,
clickAndWaitForNewPage,
getAccountCredentials,
isEventuallyPresent,
isEventuallyVisible,
logDebugLog,
logHTML,
waitAndClick,
waitAndType,
waitForSelector,
scrollIntoView,
Page,
};