From 84b80ce852487477b7c99ef889de8f658c89eabb Mon Sep 17 00:00:00 2001 From: Szymon Cofalik Date: Wed, 2 Oct 2024 18:29:25 +0200 Subject: [PATCH] Change structure in manual tests so that utils and data JS files are not treated as manual tests. --- .../data => _data}/generated/formatting-long-paragraphs.js | 0 .../data => _data}/generated/formatting-short-paragraphs.js | 0 .../performance/2024/data => _data}/generated/index.js | 0 .../2024/data => _data}/generated/inline-styles.js | 0 .../performance/2024/data => _data}/generated/lists.js | 0 .../performance/2024/data => _data}/generated/paragraphs.js | 0 .../performance/2024/data => _data}/generated/table-huge.js | 0 .../2024/data => _data}/generated/tables-many-smaller.js | 0 .../2024/config.js => _utils/performance-config.js} | 0 tests/manual/performance/2024/init-single.js | 4 ++-- tests/manual/performance/2024/init.js | 4 ++-- 11 files changed, 4 insertions(+), 4 deletions(-) rename tests/{manual/performance/2024/data => _data}/generated/formatting-long-paragraphs.js (100%) rename tests/{manual/performance/2024/data => _data}/generated/formatting-short-paragraphs.js (100%) rename tests/{manual/performance/2024/data => _data}/generated/index.js (100%) rename tests/{manual/performance/2024/data => _data}/generated/inline-styles.js (100%) rename tests/{manual/performance/2024/data => _data}/generated/lists.js (100%) rename tests/{manual/performance/2024/data => _data}/generated/paragraphs.js (100%) rename tests/{manual/performance/2024/data => _data}/generated/table-huge.js (100%) rename tests/{manual/performance/2024/data => _data}/generated/tables-many-smaller.js (100%) rename tests/{manual/performance/2024/config.js => _utils/performance-config.js} (100%) diff --git a/tests/manual/performance/2024/data/generated/formatting-long-paragraphs.js b/tests/_data/generated/formatting-long-paragraphs.js similarity index 100% rename from tests/manual/performance/2024/data/generated/formatting-long-paragraphs.js rename to tests/_data/generated/formatting-long-paragraphs.js diff --git a/tests/manual/performance/2024/data/generated/formatting-short-paragraphs.js b/tests/_data/generated/formatting-short-paragraphs.js similarity index 100% rename from tests/manual/performance/2024/data/generated/formatting-short-paragraphs.js rename to tests/_data/generated/formatting-short-paragraphs.js diff --git a/tests/manual/performance/2024/data/generated/index.js b/tests/_data/generated/index.js similarity index 100% rename from tests/manual/performance/2024/data/generated/index.js rename to tests/_data/generated/index.js diff --git a/tests/manual/performance/2024/data/generated/inline-styles.js b/tests/_data/generated/inline-styles.js similarity index 100% rename from tests/manual/performance/2024/data/generated/inline-styles.js rename to tests/_data/generated/inline-styles.js diff --git a/tests/manual/performance/2024/data/generated/lists.js b/tests/_data/generated/lists.js similarity index 100% rename from tests/manual/performance/2024/data/generated/lists.js rename to tests/_data/generated/lists.js diff --git a/tests/manual/performance/2024/data/generated/paragraphs.js b/tests/_data/generated/paragraphs.js similarity index 100% rename from tests/manual/performance/2024/data/generated/paragraphs.js rename to tests/_data/generated/paragraphs.js diff --git a/tests/manual/performance/2024/data/generated/table-huge.js b/tests/_data/generated/table-huge.js similarity index 100% rename from tests/manual/performance/2024/data/generated/table-huge.js rename to tests/_data/generated/table-huge.js diff --git a/tests/manual/performance/2024/data/generated/tables-many-smaller.js b/tests/_data/generated/tables-many-smaller.js similarity index 100% rename from tests/manual/performance/2024/data/generated/tables-many-smaller.js rename to tests/_data/generated/tables-many-smaller.js diff --git a/tests/manual/performance/2024/config.js b/tests/_utils/performance-config.js similarity index 100% rename from tests/manual/performance/2024/config.js rename to tests/_utils/performance-config.js diff --git a/tests/manual/performance/2024/init-single.js b/tests/manual/performance/2024/init-single.js index befa1c4288f..00cbc9f5369 100644 --- a/tests/manual/performance/2024/init-single.js +++ b/tests/manual/performance/2024/init-single.js @@ -5,8 +5,8 @@ /* globals console, window, document */ -import config from './config'; -import allDataSets from './data/generated/index.js'; +import config from '../../../_utils/performance-config.js'; +import allDataSets from '../../../_data/generated/index.js'; import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js'; const initialData = allDataSets.paragraphs(); diff --git a/tests/manual/performance/2024/init.js b/tests/manual/performance/2024/init.js index bcf6e675400..c2d0d2c7956 100644 --- a/tests/manual/performance/2024/init.js +++ b/tests/manual/performance/2024/init.js @@ -5,8 +5,8 @@ /* globals console, window, document */ -import config from './config'; -import allDataSets from './data/generated/index.js'; +import config from '../../../_utils/performance-config.js'; +import allDataSets from '../../../_data/generated/index.js'; import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js'; // TEST CONFIG.