diff --git a/tests/e2e/specs/admin.spec.js b/tests/e2e/specs/admin.spec.js index e49d46e1..5e39044f 100644 --- a/tests/e2e/specs/admin.spec.js +++ b/tests/e2e/specs/admin.spec.js @@ -2,6 +2,10 @@ * WordPress dependencies */ const { test, expect } = require( '@wordpress/e2e-test-utils-playwright' ); + +/** + * Internal dependencies + */ const { createChartWithAdmin, deleteAllCharts, waitForLibraryToLoad, createAllFreeCharts } = require('../utils/common'); test.describe( 'Chart Library', () => { diff --git a/tests/e2e/specs/chart-sources.spec.js b/tests/e2e/specs/chart-sources.spec.js index 19279e5c..64ed0909 100644 --- a/tests/e2e/specs/chart-sources.spec.js +++ b/tests/e2e/specs/chart-sources.spec.js @@ -2,6 +2,10 @@ * WordPress dependencies */ const { test, expect } = require( '@wordpress/e2e-test-utils-playwright' ); + +/** + * Internal dependencies + */ const { deleteAllCharts, getAssetFilePath, CHART_JS_LABELS, selectChartAdmin } = require('../utils/common'); test.describe( 'Data Free Sources', () => { diff --git a/tests/e2e/specs/classic-editor.spec.js b/tests/e2e/specs/classic-editor.spec.js index 096f68da..0c488014 100644 --- a/tests/e2e/specs/classic-editor.spec.js +++ b/tests/e2e/specs/classic-editor.spec.js @@ -2,6 +2,10 @@ * WordPress dependencies */ const { test, expect } = require( '@wordpress/e2e-test-utils-playwright' ); + +/** + * Internal dependencies + */ const { deleteAllCharts, createChartWithAdmin } = require('../utils/common'); test.describe( 'Charts with Classic Editor', () => { diff --git a/tests/e2e/specs/gutenberg-editor.spec.js b/tests/e2e/specs/gutenberg-editor.spec.js index 149f1348..32f736b5 100644 --- a/tests/e2e/specs/gutenberg-editor.spec.js +++ b/tests/e2e/specs/gutenberg-editor.spec.js @@ -2,6 +2,10 @@ * WordPress dependencies */ const { test, expect } = require( '@wordpress/e2e-test-utils-playwright' ); + +/** + * Internal dependencies + */ const { createChartWithAdmin, deleteAllCharts } = require('../utils/common'); test.describe( 'Charts with Gutenberg Editor', () => { diff --git a/tests/e2e/utils/common.js b/tests/e2e/utils/common.js index fa84dbe4..79299c42 100644 --- a/tests/e2e/utils/common.js +++ b/tests/e2e/utils/common.js @@ -3,6 +3,10 @@ */ const { Admin, expect, RequestUtils } = require( '@wordpress/e2e-test-utils-playwright' ); + +/** + * Internal dependencies + */ const path = require('path'); const os = require('os');