diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml index 7bc02a7f0a..75f47150bb 100644 --- a/.github/workflows/pull-request-validation.yml +++ b/.github/workflows/pull-request-validation.yml @@ -58,7 +58,6 @@ jobs: ./__tests__/ ./packages/bundle/dist/ ./packages/fluent-theme/dist/ - ./packages/test/fluent-bundle/dist/ ./packages/test/harness/ ./packages/test/page-object/dist/ ./packages/test/web-server/dist/ diff --git a/__tests__/__image_snapshots__/html/badge-js-link-definition-should-display-text-ellipsis-in-copilot-theme-1-snap.png b/__tests__/__image_snapshots__/html/badge-js-link-definition-should-display-text-ellipsis-in-copilot-theme-1-snap.png deleted file mode 100644 index 0a30721a25..0000000000 Binary files a/__tests__/__image_snapshots__/html/badge-js-link-definition-should-display-text-ellipsis-in-copilot-theme-1-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/badge-js-link-definition-should-display-text-ellipsis-in-fluent-theme-1-snap.png b/__tests__/__image_snapshots__/html/badge-js-link-definition-should-display-text-ellipsis-in-fluent-theme-1-snap.png deleted file mode 100644 index ab023c22cc..0000000000 Binary files a/__tests__/__image_snapshots__/html/badge-js-link-definition-should-display-text-ellipsis-in-fluent-theme-1-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-1-snap.png b/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-1-snap.png deleted file mode 100644 index 6029f8c253..0000000000 Binary files a/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-1-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-2-snap.png b/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-2-snap.png deleted file mode 100644 index 07699d0694..0000000000 Binary files a/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-2-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-3-snap.png b/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-3-snap.png deleted file mode 100644 index 7e2ca6b25d..0000000000 Binary files a/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-3-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/fluent-theme-fallback-js-fluent-theme-applied-uses-fluent-theme-if-present-1-snap.png b/__tests__/__image_snapshots__/html/fluent-theme-fallback-js-fluent-theme-applied-uses-fluent-theme-if-present-1-snap.png deleted file mode 100644 index af49374c34..0000000000 Binary files a/__tests__/__image_snapshots__/html/fluent-theme-fallback-js-fluent-theme-applied-uses-fluent-theme-if-present-1-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-blueprint-non-english-js-fluent-theme-applied-in-non-english-language-blueprint-state-should-match-normal-state-1-snap.png b/__tests__/__image_snapshots__/html/ui-state-blueprint-non-english-js-fluent-theme-applied-in-non-english-language-blueprint-state-should-match-normal-state-1-snap.png deleted file mode 100644 index a7295a848c..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-blueprint-non-english-js-fluent-theme-applied-in-non-english-language-blueprint-state-should-match-normal-state-1-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-blueprint-non-english-js-fluent-theme-applied-in-non-english-language-blueprint-state-should-match-normal-state-2-snap.png b/__tests__/__image_snapshots__/html/ui-state-blueprint-non-english-js-fluent-theme-applied-in-non-english-language-blueprint-state-should-match-normal-state-2-snap.png deleted file mode 100644 index 0de37f5684..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-blueprint-non-english-js-fluent-theme-applied-in-non-english-language-blueprint-state-should-match-normal-state-2-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-5-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-5-snap.png deleted file mode 100644 index 58c340dbb6..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-5-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-1-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-1-snap.png deleted file mode 100644 index 3b88435e24..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-1-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-2-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-2-snap.png deleted file mode 100644 index 2a6e25e930..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-2-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-3-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-3-snap.png deleted file mode 100644 index ca5c4193e4..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-3-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-4-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-4-snap.png deleted file mode 100644 index ecba8a11a9..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-4-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-5-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-5-snap.png deleted file mode 100644 index b19f0555ab..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-5-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-6-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-6-snap.png deleted file mode 100644 index 3d88ff28da..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-6-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-7-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-7-snap.png deleted file mode 100644 index 6d03c9b518..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-and-rtl-7-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-2-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-2-snap.png deleted file mode 100644 index 11f2953402..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-2-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-5-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-5-snap.png deleted file mode 100644 index f920664892..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-5-snap.png and /dev/null differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-7-snap.png b/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-7-snap.png deleted file mode 100644 index fb6676c290..0000000000 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-7-snap.png and /dev/null differ diff --git a/__tests__/html/fluentTheme/fluentThemeFallback.dark.html b/__tests__/html/fluentTheme/fluentThemeFallback.dark.html deleted file mode 100644 index 59503a698b..0000000000 --- a/__tests__/html/fluentTheme/fluentThemeFallback.dark.html +++ /dev/null @@ -1,128 +0,0 @@ - - -
- - - - - - - - - - - - - - diff --git a/__tests__/html/fluentTheme/fluentThemeFallback.dark.js b/__tests__/html/fluentTheme/fluentThemeFallback.dark.js deleted file mode 100644 index 4e70bfdac0..0000000000 --- a/__tests__/html/fluentTheme/fluentThemeFallback.dark.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('Fluent theme applied', () => { - test('uses fluent dark theme if present', () => runHTML('fluentTheme/fluentThemeFallback.dark')); -}); diff --git a/__tests__/html/fluentTheme/fluentThemeFallback.html b/__tests__/html/fluentTheme/fluentThemeFallback.html deleted file mode 100644 index a7fc30de64..0000000000 --- a/__tests__/html/fluentTheme/fluentThemeFallback.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/__tests__/html/fluentTheme/fluentThemeFallback.js b/__tests__/html/fluentTheme/fluentThemeFallback.js deleted file mode 100644 index 7add6cd7f0..0000000000 --- a/__tests__/html/fluentTheme/fluentThemeFallback.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('Fluent theme applied', () => { - test('uses fluent theme if present', () => runHTML('fluentTheme/fluentThemeFallback')); -}); diff --git a/__tests__/html/fluentTheme/uiState.blueprint.nonEnglish.js b/__tests__/html/fluentTheme/uiState.blueprint.nonEnglish.js deleted file mode 100644 index 3d94dc0761..0000000000 --- a/__tests__/html/fluentTheme/uiState.blueprint.nonEnglish.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('Fluent theme applied in non-English language', () => { - test('blueprint state should match normal state', () => runHTML('fluentTheme/uiState.blueprint.nonEnglish')); -}); diff --git a/__tests__/html/fluentTheme/uiState.js b/__tests__/html/fluentTheme/uiState.js deleted file mode 100644 index 4d45208d11..0000000000 --- a/__tests__/html/fluentTheme/uiState.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('Fluent theme applied', () => { - test('UI state should display properly in dark theme', () => runHTML('fluentTheme/uiState?theme=dark')); - test('UI state should display properly in dark theme and RTL', () => runHTML('fluentTheme/uiState?dir=rtl&theme=dark')); - test('UI state should display properly in light theme', () => runHTML('fluentTheme/uiState?theme=light')); -}); diff --git a/__tests__/html/linkDefinition/badge.js b/__tests__/html/linkDefinition/badge.js deleted file mode 100644 index 0b3d118ce9..0000000000 --- a/__tests__/html/linkDefinition/badge.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('link definition', () => { - test('should display text ellipsis', () => runHTML('linkDefinition/badge')); - test('should display text ellipsis in Fluent theme', () => runHTML('linkDefinition/badge?variant=fluent')); - test('should display text ellipsis in Copilot theme', () => runHTML('linkDefinition/badge?variant=copilot')); -}); diff --git a/__tests__/html2/copyButton/layout.html b/__tests__/html2/copyButton/layout.html index 52812c7728..fd0eae6993 100644 --- a/__tests__/html2/copyButton/layout.html +++ b/__tests__/html2/copyButton/layout.html @@ -1,13 +1,26 @@ +