diff --git a/tests/e2e/env/index.js b/tests/e2e/env/index.js index 4f084373ac6..286f449ee03 100644 --- a/tests/e2e/env/index.js +++ b/tests/e2e/env/index.js @@ -3,50 +3,17 @@ */ const babelConfig = require( './babel.config' ); const esLintConfig = require( './.eslintrc.js' ); -const { - jestConfig, - jestPuppeteerConfig, - useE2EBabelConfig, - useE2EEsLintConfig, - 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' ); +const allE2EConfig = require( './config' ); +const allE2EUtils = require( './utils' ); +/** + * External dependencies + */ +const allPuppeteerUtils = require( '@automattic/puppeteer-utils' ); module.exports = { babelConfig, esLintConfig, - jestConfig, - jestPuppeteerConfig, - useE2EBabelConfig, - useE2EEsLintConfig, - useE2EJestConfig, - useE2EJestPuppeteerConfig, - getAppRoot, - getTestConfig, - clickAndWaitForNewPage, - getAccountCredentials, - isEventuallyPresent, - isEventuallyVisible, - logDebugLog, - logHTML, - waitAndClick, - waitAndType, - waitForSelector, - scrollIntoView, - Page, + ...allE2EConfig, + ...allE2EUtils, + ...allPuppeteerUtils, };