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 @@ + Copy Button Layout: Test copy button layout with fluent theme - + - - - + + + - - - -
- - + + diff --git a/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-2.png b/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-2.png new file mode 100644 index 0000000000..52090e8bc6 Binary files /dev/null and b/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-2.png differ diff --git a/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-3.png b/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-3.png new file mode 100644 index 0000000000..e5f639a34d Binary files /dev/null and b/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-3.png differ diff --git a/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-4.png b/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-4.png new file mode 100644 index 0000000000..c3fd025104 Binary files /dev/null and b/__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html.snap-4.png differ diff --git a/__tests__/html2/fluentTheme/defaultFeedback.activity.html b/__tests__/html2/fluentTheme/defaultFeedback.activity.html index 2ac2f31daa..ce5a18bc20 100644 --- a/__tests__/html2/fluentTheme/defaultFeedback.activity.html +++ b/__tests__/html2/fluentTheme/defaultFeedback.activity.html @@ -2,36 +2,107 @@ + Default Feedback Activity: Test default feedback activity with fluent theme - - - + - - + + + +
- + + + diff --git a/__tests__/html2/fluentTheme/fallback.dark.html.snap-1.png b/__tests__/html2/fluentTheme/fallback.dark.html.snap-1.png new file mode 100644 index 0000000000..8db00c6afe Binary files /dev/null and b/__tests__/html2/fluentTheme/fallback.dark.html.snap-1.png differ diff --git a/__tests__/html2/fluentTheme/fallback.dark.html.snap-2.png b/__tests__/html2/fluentTheme/fallback.dark.html.snap-2.png new file mode 100644 index 0000000000..27bd0326ce Binary files /dev/null and b/__tests__/html2/fluentTheme/fallback.dark.html.snap-2.png differ diff --git a/__tests__/html2/fluentTheme/fallback.dark.html.snap-3.png b/__tests__/html2/fluentTheme/fallback.dark.html.snap-3.png new file mode 100644 index 0000000000..6953ad06b5 Binary files /dev/null and b/__tests__/html2/fluentTheme/fallback.dark.html.snap-3.png differ diff --git a/__tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-4-snap.png b/__tests__/html2/fluentTheme/fallback.dark.html.snap-4.png similarity index 100% rename from __tests__/__image_snapshots__/html/fluent-theme-fallback-dark-js-fluent-theme-applied-uses-fluent-dark-theme-if-present-4-snap.png rename to __tests__/html2/fluentTheme/fallback.dark.html.snap-4.png diff --git a/__tests__/html2/fluentTheme/fallback.html b/__tests__/html2/fluentTheme/fallback.html new file mode 100644 index 0000000000..21b10429d9 --- /dev/null +++ b/__tests__/html2/fluentTheme/fallback.html @@ -0,0 +1,152 @@ + + + + + Fluent Theme fallback: uses fluent theme if present + + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/__tests__/html2/fluentTheme/fallback.html.snap-1.png b/__tests__/html2/fluentTheme/fallback.html.snap-1.png new file mode 100644 index 0000000000..704e4b27f4 Binary files /dev/null and b/__tests__/html2/fluentTheme/fallback.html.snap-1.png differ diff --git a/__tests__/html2/fluentTheme/fallback.html.snap-2.png b/__tests__/html2/fluentTheme/fallback.html.snap-2.png new file mode 100644 index 0000000000..7a341bc918 Binary files /dev/null and b/__tests__/html2/fluentTheme/fallback.html.snap-2.png differ diff --git a/__tests__/html2/fluentTheme/fallback.html.snap-3.png b/__tests__/html2/fluentTheme/fallback.html.snap-3.png new file mode 100644 index 0000000000..40efa3c4cc Binary files /dev/null and b/__tests__/html2/fluentTheme/fallback.html.snap-3.png differ diff --git a/__tests__/html2/fluentTheme/fallback.html.snap-4.png b/__tests__/html2/fluentTheme/fallback.html.snap-4.png new file mode 100644 index 0000000000..efb426f1f9 Binary files /dev/null and b/__tests__/html2/fluentTheme/fallback.html.snap-4.png differ diff --git a/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark copy.html.snap-1.png b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark copy.html.snap-1.png new file mode 100644 index 0000000000..9f6645170f Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark copy.html.snap-1.png differ diff --git a/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark copy.html.snap-2.png b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark copy.html.snap-2.png new file mode 100644 index 0000000000..c8700cebf8 Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark copy.html.snap-2.png differ diff --git a/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html new file mode 100644 index 0000000000..4bad110686 --- /dev/null +++ b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html @@ -0,0 +1,10 @@ + + + + Fluent Theme UI State Blueprint Non-English (dark): Test blueprint UI state with fluent theme in dark mode + + + + diff --git a/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html.snap-1.png b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html.snap-1.png new file mode 100644 index 0000000000..9f6645170f Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html.snap-1.png differ diff --git a/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html.snap-2.png b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html.snap-2.png new file mode 100644 index 0000000000..c8700cebf8 Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.dark.html.snap-2.png differ diff --git a/__tests__/html/fluentTheme/uiState.blueprint.nonEnglish.html b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html similarity index 88% rename from __tests__/html/fluentTheme/uiState.blueprint.nonEnglish.html rename to __tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html index 7d47faf6a2..e8714e4f44 100644 --- a/__tests__/html/fluentTheme/uiState.blueprint.nonEnglish.html +++ b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html @@ -1,15 +1,28 @@ + Fluent Theme UI State Blueprint Non-English: Test blueprint UI state with fluent theme - + - - - + + + @@ -17,19 +30,20 @@
- diff --git a/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html.snap-1.png b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html.snap-1.png new file mode 100644 index 0000000000..a23c7747bb Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html.snap-1.png differ diff --git a/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html.snap-2.png b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html.snap-2.png new file mode 100644 index 0000000000..f8c0c3e770 Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html.snap-2.png differ diff --git a/__tests__/html2/fluentTheme/uiState.dark.html b/__tests__/html2/fluentTheme/uiState.dark.html new file mode 100644 index 0000000000..513c5bf76e --- /dev/null +++ b/__tests__/html2/fluentTheme/uiState.dark.html @@ -0,0 +1,10 @@ + + + + Fluent Theme UI State (dark): Test UI State with fluent theme + + + + diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-1-snap.png b/__tests__/html2/fluentTheme/uiState.dark.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-1-snap.png rename to __tests__/html2/fluentTheme/uiState.dark.html.snap-1.png diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-2-snap.png b/__tests__/html2/fluentTheme/uiState.dark.html.snap-2.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-2-snap.png rename to __tests__/html2/fluentTheme/uiState.dark.html.snap-2.png diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-3-snap.png b/__tests__/html2/fluentTheme/uiState.dark.html.snap-3.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-3-snap.png rename to __tests__/html2/fluentTheme/uiState.dark.html.snap-3.png diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-4-snap.png b/__tests__/html2/fluentTheme/uiState.dark.html.snap-4.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-4-snap.png rename to __tests__/html2/fluentTheme/uiState.dark.html.snap-4.png diff --git a/__tests__/html2/fluentTheme/uiState.dark.html.snap-5.png b/__tests__/html2/fluentTheme/uiState.dark.html.snap-5.png new file mode 100644 index 0000000000..074a3fbf22 Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.dark.html.snap-5.png differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-6-snap.png b/__tests__/html2/fluentTheme/uiState.dark.html.snap-6.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-6-snap.png rename to __tests__/html2/fluentTheme/uiState.dark.html.snap-6.png diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-7-snap.png b/__tests__/html2/fluentTheme/uiState.dark.html.snap-7.png similarity index 98% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-7-snap.png rename to __tests__/html2/fluentTheme/uiState.dark.html.snap-7.png index 787c10d3b8..e80bbbb43b 100644 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-dark-theme-7-snap.png and b/__tests__/html2/fluentTheme/uiState.dark.html.snap-7.png differ diff --git a/__tests__/html/fluentTheme/uiState.html b/__tests__/html2/fluentTheme/uiState.html similarity index 89% rename from __tests__/html/fluentTheme/uiState.html rename to __tests__/html2/fluentTheme/uiState.html index 6628139314..f4f78f04d9 100644 --- a/__tests__/html/fluentTheme/uiState.html +++ b/__tests__/html2/fluentTheme/uiState.html @@ -1,50 +1,65 @@ + Fluent Theme UI State: Test UI State with fluent theme - + - - - + + + -
- diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-1-snap.png b/__tests__/html2/fluentTheme/uiState.html.snap-1.png similarity index 71% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-1-snap.png rename to __tests__/html2/fluentTheme/uiState.html.snap-1.png index 40c8cec966..8664a40aef 100644 Binary files a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-1-snap.png and b/__tests__/html2/fluentTheme/uiState.html.snap-1.png differ diff --git a/__tests__/html2/fluentTheme/uiState.html.snap-2.png b/__tests__/html2/fluentTheme/uiState.html.snap-2.png new file mode 100644 index 0000000000..a6b6f7146e Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.html.snap-2.png differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-3-snap.png b/__tests__/html2/fluentTheme/uiState.html.snap-3.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-3-snap.png rename to __tests__/html2/fluentTheme/uiState.html.snap-3.png diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-4-snap.png b/__tests__/html2/fluentTheme/uiState.html.snap-4.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-4-snap.png rename to __tests__/html2/fluentTheme/uiState.html.snap-4.png diff --git a/__tests__/html2/fluentTheme/uiState.html.snap-5.png b/__tests__/html2/fluentTheme/uiState.html.snap-5.png new file mode 100644 index 0000000000..0366da0d37 Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.html.snap-5.png differ diff --git a/__tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-6-snap.png b/__tests__/html2/fluentTheme/uiState.html.snap-6.png similarity index 100% rename from __tests__/__image_snapshots__/html/ui-state-js-fluent-theme-applied-ui-state-should-display-properly-in-light-theme-6-snap.png rename to __tests__/html2/fluentTheme/uiState.html.snap-6.png diff --git a/__tests__/html2/fluentTheme/uiState.html.snap-7.png b/__tests__/html2/fluentTheme/uiState.html.snap-7.png new file mode 100644 index 0000000000..ea711c44e5 Binary files /dev/null and b/__tests__/html2/fluentTheme/uiState.html.snap-7.png differ diff --git a/__tests__/html2/linkDefinition/badge.copilot.html b/__tests__/html2/linkDefinition/badge.copilot.html new file mode 100644 index 0000000000..74c5e31300 --- /dev/null +++ b/__tests__/html2/linkDefinition/badge.copilot.html @@ -0,0 +1,10 @@ + + + + Link Definition Badge (copilot): Test link definition badge + + + + diff --git a/__tests__/html2/linkDefinition/badge.copilot.html.snap-1.png b/__tests__/html2/linkDefinition/badge.copilot.html.snap-1.png new file mode 100644 index 0000000000..e7a67be551 Binary files /dev/null and b/__tests__/html2/linkDefinition/badge.copilot.html.snap-1.png differ diff --git a/__tests__/html2/linkDefinition/badge.dark.copilot.html b/__tests__/html2/linkDefinition/badge.dark.copilot.html new file mode 100644 index 0000000000..f2de6b7426 --- /dev/null +++ b/__tests__/html2/linkDefinition/badge.dark.copilot.html @@ -0,0 +1,10 @@ + + + + Link Definition Badge (dark, copilot): Test link definition badge + + + + diff --git a/__tests__/html2/linkDefinition/badge.dark.copilot.html.snap-1.png b/__tests__/html2/linkDefinition/badge.dark.copilot.html.snap-1.png new file mode 100644 index 0000000000..e578aabd2c Binary files /dev/null and b/__tests__/html2/linkDefinition/badge.dark.copilot.html.snap-1.png differ diff --git a/__tests__/html2/linkDefinition/badge.dark.fluent.html b/__tests__/html2/linkDefinition/badge.dark.fluent.html new file mode 100644 index 0000000000..917e91c98e --- /dev/null +++ b/__tests__/html2/linkDefinition/badge.dark.fluent.html @@ -0,0 +1,10 @@ + + + + Link Definition Badge (dark, fluent): Test link definition badge + + + + diff --git a/__tests__/html2/linkDefinition/badge.dark.fluent.html.snap-1.png b/__tests__/html2/linkDefinition/badge.dark.fluent.html.snap-1.png new file mode 100644 index 0000000000..b79e5580cf Binary files /dev/null and b/__tests__/html2/linkDefinition/badge.dark.fluent.html.snap-1.png differ diff --git a/__tests__/html2/linkDefinition/badge.fluent.html b/__tests__/html2/linkDefinition/badge.fluent.html new file mode 100644 index 0000000000..d37d45c390 --- /dev/null +++ b/__tests__/html2/linkDefinition/badge.fluent.html @@ -0,0 +1,10 @@ + + + + Link Definition Badge (fluent): Test link definition badge + + + + diff --git a/__tests__/html2/linkDefinition/badge.fluent.html.snap-1.png b/__tests__/html2/linkDefinition/badge.fluent.html.snap-1.png new file mode 100644 index 0000000000..12b93729b1 Binary files /dev/null and b/__tests__/html2/linkDefinition/badge.fluent.html.snap-1.png differ diff --git a/__tests__/html/linkDefinition/badge.html b/__tests__/html2/linkDefinition/badge.html similarity index 74% rename from __tests__/html/linkDefinition/badge.html rename to __tests__/html2/linkDefinition/badge.html index e1a2087939..649af7c2a5 100644 --- a/__tests__/html/linkDefinition/badge.html +++ b/__tests__/html2/linkDefinition/badge.html @@ -1,77 +1,109 @@ + Link Definition Badge: Test link definition badge - + - - - + + +
- + + + diff --git a/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-1.png b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-1.png new file mode 100644 index 0000000000..b0c21ef3df Binary files /dev/null and b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-1.png differ diff --git a/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-2.png b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-2.png new file mode 100644 index 0000000000..a173fa894e Binary files /dev/null and b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-2.png differ diff --git a/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-3.png b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-3.png new file mode 100644 index 0000000000..6cc1d556df Binary files /dev/null and b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-3.png differ diff --git a/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-4.png b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-4.png new file mode 100644 index 0000000000..5c9258a796 Binary files /dev/null and b/__tests__/html2/markdown/math/layout.scroll.copilot.dark.html.snap-4.png differ diff --git a/__tests__/html2/markdown/math/layout.scroll.html b/__tests__/html2/markdown/math/layout.scroll.html index 1a4e3ed018..d7b5b5ca73 100644 --- a/__tests__/html2/markdown/math/layout.scroll.html +++ b/__tests__/html2/markdown/math/layout.scroll.html @@ -1,29 +1,53 @@ + Markdown Math Layout Scroll: Test markdown math layout scroll with fluent theme - + - - - + + +
-