diff --git a/.dockerignore b/.dockerignore
index caf903d478..6b6bad8a7d 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -10,5 +10,6 @@
!/packages/test/fluent-bundle/dist
!/packages/test/harness/dist
!/packages/test/page-object/dist
+!/packages/test/test-assets/out
!/packages/test/web-server/dist
!/serve-test.json
diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml
index 1971e4aee2..13163b6857 100644
--- a/.github/workflows/pull-request-validation.yml
+++ b/.github/workflows/pull-request-validation.yml
@@ -66,6 +66,7 @@ jobs:
./packages/fluent-theme/static/
./packages/test/harness/
./packages/test/page-object/dist/
+ ./packages/test/test-assets/out/
./packages/test/web-server/dist/
./serve-test.json
./testharness.dockerfile
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 45d7fadba0..0211438d6b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -319,6 +319,7 @@ Breaking changes in this release:
- Activity status, in PR [#5669](https://github.com/microsoft/BotFramework-WebChat/pull/5669), by [@OEvgeny](https://github.com/OEvgeny)
- Text attachment and related components, in PR [#5670](https://github.com/microsoft/BotFramework-WebChat/pull/5670), by [@OEvgeny](https://github.com/OEvgeny)
- (Experimental) Added custom variants support for `botframework-webchat-fluent-theme` package, in PR [#5675](https://github.com/microsoft/BotFramework-WebChat/pull/5675), by [@OEvgeny](https://github.com/OEvgeny)
+- Improved adaptive cards rendering in copilot variant, in PR [#5682](https://github.com/microsoft/BotFramework-WebChat/pull/5682), by [@OEvgeny](https://github.com/OEvgeny)
### Deprecated
diff --git a/__tests__/assets/custom-element/custom-element.js b/__tests__/assets/custom-element/custom-element.js
index f3ffb99f14..6fd234beb7 100644
--- a/__tests__/assets/custom-element/custom-element.js
+++ b/__tests__/assets/custom-element/custom-element.js
@@ -1,23 +1,5 @@
/* eslint-env browser */
-// #region TODO: Remove me after we bump Chrome to v117+
-const customElementNames = customElements.getName instanceof Function ? null : new WeakMap();
-
-export function getCustomElementName(customElementConstructor) {
- if (customElementNames) {
- return customElementNames.get(customElementConstructor);
- }
- return customElements.getName(customElementConstructor);
-}
-
-function setCustomElementName(customElementConstructor, name) {
- if (customElementNames) {
- customElementNames.set(customElementConstructor, name);
- }
- // No need to set for browsers that support customElements.getName()
-}
-// #endregion
-
export function customElement(elementKey, createElementClass) {
const elementRegistration = document.querySelector(`element-registration[element-key="${elementKey}"]`);
elementRegistration.elementConstructor = createElementClass(elementRegistration);
@@ -73,7 +55,6 @@ function initDocument(elementRegistration, currentDocument) {
}
customElements.define(elementName, constructor, constructor.options);
- setCustomElementName(constructor, elementName);
result.resolve(constructor);
},
diff --git a/__tests__/assets/custom-element/keyboard-event.ce.html b/__tests__/assets/custom-element/keyboard-event.ce.html
index 8396000302..44cb1735a5 100644
--- a/__tests__/assets/custom-element/keyboard-event.ce.html
+++ b/__tests__/assets/custom-element/keyboard-event.ce.html
@@ -106,7 +106,7 @@
+