diff --git a/__tests__/html/accessibility.accessibleName.activityStatus.sendFailed.js b/__tests__/html/accessibility.accessibleName.activityStatus.sendFailed.js deleted file mode 100644 index 84f13fa48b..0000000000 --- a/__tests__/html/accessibility.accessibleName.activityStatus.sendFailed.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('active descendant accessible name should contains "Send failed" for failing activities', () => - runHTML('accessibility.accessibleName.activityStatus.sendFailed')); -}); diff --git a/__tests__/html/accessibility.accessibleName.simple.js b/__tests__/html/accessibility.accessibleName.simple.js deleted file mode 100644 index 818dbeac59..0000000000 --- a/__tests__/html/accessibility.accessibleName.simple.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('active descendant accessible name should contains simple message content', () => - runHTML('accessibility.accessibleName.simple')); -}); diff --git a/__tests__/html/accessibility.activity.stackedLayoutRole.js b/__tests__/html/accessibility.activity.stackedLayoutRole.js deleted file mode 100644 index 1569beb2bd..0000000000 --- a/__tests__/html/accessibility.activity.stackedLayoutRole.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('Activity container should have role="group", and message container role="group"', () => - runHTML('accessibility.activity.stackedLayoutRole')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.ariaPushed.js b/__tests__/html/accessibility.adaptiveCard.ariaPushed.js deleted file mode 100644 index b63673be9c..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.ariaPushed.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('Adaptive Card should apply aria-pushed="true" after clicking a button', () => - runHTML('accessibility.adaptiveCard.ariaPushed.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.disabled.focus.js b/__tests__/html/accessibility.adaptiveCard.disabled.focus.js deleted file mode 100644 index a01541740e..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.disabled.focus.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('disabling Adaptive Card should send focus back to chat history', () => - runHTML('accessibility.adaptiveCard.disabled.focus.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.disabled.focus.withShowCard.js b/__tests__/html/accessibility.adaptiveCard.disabled.focus.withShowCard.js deleted file mode 100644 index a04b129436..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.disabled.focus.withShowCard.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('disabling Adaptive Card with "Action.ShowCard"', () => - runHTML('accessibility.adaptiveCard.disabled.focus.withShowCard.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.disabled.inputs.js b/__tests__/html/accessibility.adaptiveCard.disabled.inputs.js deleted file mode 100644 index 765898914b..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.disabled.inputs.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('disabling Adaptive Card with inputs field', () => runHTML('accessibility.adaptiveCard.disabled.inputs.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.hack.actionSetShouldNotBeMenuBarMod.js b/__tests__/html/accessibility.adaptiveCard.hack.actionSetShouldNotBeMenuBarMod.js deleted file mode 100644 index ea6e1004ef..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.hack.actionSetShouldNotBeMenuBarMod.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility hacks for Adaptive Cards', () => { - test('actionSets should not have role="menubar"', () => runHTML('accessibility.adaptiveCard.hack.actionSetShouldNotBeMenuBarMod.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.hack.actionShouldBePushButtonMod.js b/__tests__/html/accessibility.adaptiveCard.hack.actionShouldBePushButtonMod.js deleted file mode 100644 index b5d0f275ab..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.hack.actionShouldBePushButtonMod.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility hacks for Adaptive Cards', () => { - test('action should be push button', () => runHTML('accessibility.adaptiveCard.hack.actionShouldBePushButtonMod.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.hack.activeElementMod.js b/__tests__/html/accessibility.adaptiveCard.hack.activeElementMod.js deleted file mode 100644 index dd4e7dbdeb..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.hack.activeElementMod.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility hacks for Adaptive Cards', () => { - test('when rerendered should persist focused element', () => runHTML('accessibility.adaptiveCard.hack.activeElementMod.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.hack.disabledMod.js b/__tests__/html/accessibility.adaptiveCard.hack.disabledMod.js deleted file mode 100644 index 55613e0b0f..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.hack.disabledMod.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility hacks for Adaptive Cards', () => { - test('when disabled should add aria-disabled', () => runHTML('accessibility.adaptiveCard.hack.disabledMod.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.hack.persistValuesMod.js b/__tests__/html/accessibility.adaptiveCard.hack.persistValuesMod.js deleted file mode 100644 index 09576d2436..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.hack.persistValuesMod.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility hacks for Adaptive Cards', () => { - test('when rerendered should persist values', () => runHTML('accessibility.adaptiveCard.hack.persistValuesMod.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.hack.roleMod.js b/__tests__/html/accessibility.adaptiveCard.hack.roleMod.js deleted file mode 100644 index 6f6809213c..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.hack.roleMod.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility hacks for Adaptive Cards', () => { - test('should have role if speak property is set', () => runHTML('accessibility.adaptiveCard.hack.roleMod.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.withTapAction.js b/__tests__/html/accessibility.adaptiveCard.withTapAction.js deleted file mode 100644 index 833944afd7..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.withTapAction.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('Adaptive Card with tap action should be focusable', () => - runHTML('accessibility.adaptiveCard.withTapAction.html')); -}); diff --git a/__tests__/html/accessibility.adaptiveCard.withoutTapAction.js b/__tests__/html/accessibility.adaptiveCard.withoutTapAction.js deleted file mode 100644 index 221647e03e..0000000000 --- a/__tests__/html/accessibility.adaptiveCard.withoutTapAction.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('Adaptive Card without tap action should not be focusable', () => - runHTML('accessibility.adaptiveCard.withoutTapAction.html')); -}); diff --git a/__tests__/html/accessibility.aria-roledescription.js b/__tests__/html/accessibility.aria-roledescription.js deleted file mode 100644 index fe040ca017..0000000000 --- a/__tests__/html/accessibility.aria-roledescription.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('All DOM elements with `aria-roledescription` must have an explicit role', () => - runHTML('accessibility.aria-roledescription')); -}); diff --git a/__tests__/html/accessibility.attachment.aria.js b/__tests__/html/accessibility.attachment.aria.js deleted file mode 100644 index 426dbf6cd6..0000000000 --- a/__tests__/html/accessibility.attachment.aria.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('Element with aria-label should not have parent aria-hidden', () => - runHTML('accessibility.attachment.aria')); -}); diff --git a/__tests__/html/accessibility.attachment.carouselLayoutRole.js b/__tests__/html/accessibility.attachment.carouselLayoutRole.js deleted file mode 100644 index 1569beb2bd..0000000000 --- a/__tests__/html/accessibility.attachment.carouselLayoutRole.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('Activity container should have role="group", and message container role="group"', () => - runHTML('accessibility.activity.stackedLayoutRole')); -}); diff --git a/__tests__/html/accessibility.attachment.stackedLayoutRole.js b/__tests__/html/accessibility.attachment.stackedLayoutRole.js deleted file mode 100644 index f2d7320263..0000000000 --- a/__tests__/html/accessibility.attachment.stackedLayoutRole.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('Attachment container should have role="group", and message container role="group"', () => - runHTML('accessibility.attachment.stackedLayoutRole')); -}); diff --git a/__tests__/html/accessibility.delayActivity.raceCondition.js b/__tests__/html/accessibility.delayActivity.raceCondition.js deleted file mode 100644 index bfd5ec85eb..0000000000 --- a/__tests__/html/accessibility.delayActivity.raceCondition.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('race conditions between first bot activity and first user activity should not cause any delay to the first bot activity', () => - runHTML('accessibility.delayActivity.raceCondition.html')); -}); diff --git a/__tests__/html/accessibility.delayActivity.typingActivity.js b/__tests__/html/accessibility.delayActivity.typingActivity.js deleted file mode 100644 index 259b8ac9b7..0000000000 --- a/__tests__/html/accessibility.delayActivity.typingActivity.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('activity should not be delayed due to user typing activity', () => - runHTML('accessibility.delayActivity.typingActivity.html')); -}); diff --git a/__tests__/html/accessibility.delayActivity.typingActivityWithoutReplyToActivity.js b/__tests__/html/accessibility.delayActivity.typingActivityWithoutReplyToActivity.js deleted file mode 100644 index 3c095658e9..0000000000 --- a/__tests__/html/accessibility.delayActivity.typingActivityWithoutReplyToActivity.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('activity should be delayed due to non-existing activity', () => - runHTML('accessibility.delayActivity.typingActivityWithoutReplyToActivity.html')); -}); diff --git a/__tests__/html/accessibility.delayActivity.withReplyToId.js b/__tests__/html/accessibility.delayActivity.withReplyToId.js deleted file mode 100644 index 3410d72aeb..0000000000 --- a/__tests__/html/accessibility.delayActivity.withReplyToId.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('should delay activity with "replyToId" referencing a missing activity', () => - runHTML('accessibility.delayActivity.withReplyToId.html')); -}); diff --git a/__tests__/html/accessibility.delayActivity.withoutReplyToId.js b/__tests__/html/accessibility.delayActivity.withoutReplyToId.js deleted file mode 100644 index 618bdcc1cf..0000000000 --- a/__tests__/html/accessibility.delayActivity.withoutReplyToId.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('should not delay activity without "replyToId"', () => - runHTML('accessibility.delayActivity.withoutReplyToId.html')); -}); diff --git a/__tests__/html/accessibility.heroCard.heading.js b/__tests__/html/accessibility.heroCard.heading.js deleted file mode 100644 index 7ea66976e6..0000000000 --- a/__tests__/html/accessibility.heroCard.heading.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement for hero card', () => { - test('should have title text with role="heading"', () => - runHTML('accessibility.heroCard.heading')); -}); diff --git a/__tests__/html/accessibility.landmarkRole.invalid.js b/__tests__/html/accessibility.landmarkRole.invalid.js deleted file mode 100644 index 3ec1107083..0000000000 --- a/__tests__/html/accessibility.landmarkRole.invalid.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility feature to support "role" attribute', () => { - test('should fallback to "complementary" if not a valid landmark role', () => - runHTML('accessibility.landmarkRole.invalid')); -}); diff --git a/__tests__/html/accessibility.landmarkRole.valid.js b/__tests__/html/accessibility.landmarkRole.valid.js deleted file mode 100644 index 1c5888d04a..0000000000 --- a/__tests__/html/accessibility.landmarkRole.valid.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility feature to support "role" attribute', () => { - test('should set "role" if it is valid landmark role', () => - runHTML('accessibility.landmarkRole.valid')); -}); diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.contrast.js b/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.contrast.js deleted file mode 100644 index e071c60c03..0000000000 --- a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.contrast.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('live region', () => { - test('should render "Send Failed. Retry" correctly in high-contrast mode', () => - runHTML('accessibility.liveRegion.activityStatus.sendFailed.contrast.html')); -}); diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.event.js b/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.event.js deleted file mode 100644 index e5fbd21eb2..0000000000 --- a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.event.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('live region', () => { - test('should not narrate "failed to send message" through live region for event activity', () => - runHTML('accessibility.liveRegion.activityStatus.sendFailed.event.html')); -}); diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.js b/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.js deleted file mode 100644 index 047a319c02..0000000000 --- a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('live region', () => { - test('should narrate "failed to send message" through live region', () => - runHTML('accessibility.liveRegion.activityStatus.sendFailed.html')); -}); diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.typing.js b/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.typing.js deleted file mode 100644 index 4122a775fb..0000000000 --- a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.typing.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('live region', () => { - test('should not narrate "failed to send message" through live region for typing activity', () => - runHTML('accessibility.liveRegion.activityStatus.sendFailed.typing.html')); -}); diff --git a/__tests__/html/accessibility.liveRegion.newMessages.js b/__tests__/html/accessibility.liveRegion.newMessages.js deleted file mode 100644 index 16a974f7dd..0000000000 --- a/__tests__/html/accessibility.liveRegion.newMessages.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -// Verify compliance of https://github.com/microsoft/botframework-sdk/blob/main/specs/botframework-activity/botframework-activity.md#speak. -describe('accessibility requirement', () => { - test('should focus New Messages button when shortcut pressed', () => - runHTML('accessibility.liveRegion.newMessages.html')); -}); diff --git a/__tests__/html/accessibility.liveRegionActivity.htmlInMarkdown.js b/__tests__/html/accessibility.liveRegionActivity.htmlInMarkdown.js deleted file mode 100644 index 7a4f5178b9..0000000000 --- a/__tests__/html/accessibility.liveRegionActivity.htmlInMarkdown.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -// Verify compliance of https://github.com/microsoft/botframework-sdk/blob/main/specs/botframework-activity/botframework-activity.md#speak. -describe('accessibility requirement', () => { - test('should clean up HTML in Markdown', () => - runHTML('accessibility.liveRegionActivity.htmlInMarkdown.html')); -}); diff --git a/__tests__/html/accessibility.liveRegionActivity.performance.js b/__tests__/html/accessibility.liveRegionActivity.performance.js deleted file mode 100644 index 98d51f5fb0..0000000000 --- a/__tests__/html/accessibility.liveRegionActivity.performance.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('should not run renderMarkdown in excess', () => - runHTML('accessibility.liveRegionActivity.performance.html')); -}); diff --git a/__tests__/html/accessibility.liveRegionActivity.speakOverrideAttachments.js b/__tests__/html/accessibility.liveRegionActivity.speakOverrideAttachments.js deleted file mode 100644 index df3ea5aa5a..0000000000 --- a/__tests__/html/accessibility.liveRegionActivity.speakOverrideAttachments.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -// Verify compliance of https://github.com/microsoft/botframework-sdk/blob/main/specs/botframework-activity/botframework-activity.md#speak. -describe('accessibility requirement', () => { - test('when "speak" field present, it should override all attachments', () => - runHTML('accessibility.liveRegionActivity.speakOverrideAttachments.html')); -}); diff --git a/__tests__/html/accessibility.liveRegionActivity.text.js b/__tests__/html/accessibility.liveRegionActivity.text.js deleted file mode 100644 index 662093423c..0000000000 --- a/__tests__/html/accessibility.liveRegionActivity.text.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -// Verify compliance of https://github.com/microsoft/botframework-sdk/blob/main/specs/botframework-activity/botframework-activity.md#speak. -describe('accessibility requirement', () => { - test('should clean up "speak" property for live region text', () => - runHTML('accessibility.liveRegionActivity.text.html')); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.js b/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.js deleted file mode 100644 index 9894ecfb41..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('Adaptive Card', () => runHTML('accessibility.liveRegionAttachment.adaptiveCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.speakProperty.js b/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.speakProperty.js deleted file mode 100644 index 86548fc5b4..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.speakProperty.js +++ /dev/null @@ -1,5 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('live region should narrate "speak" property', () => { - test('Adaptive Card', () => runHTML('accessibility.liveRegionAttachment.adaptiveCard.speakProperty.html')); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.animationCard.js b/__tests__/html/accessibility.liveRegionAttachment.animationCard.js deleted file mode 100644 index 8bc43bfb35..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.animationCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('animation card', () => runHTML('accessibility.liveRegionAttachment.animationCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.audio.js b/__tests__/html/accessibility.liveRegionAttachment.audio.js deleted file mode 100644 index 54e9bf5114..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.audio.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('audio', () => runHTML('accessibility.liveRegionAttachment.audio.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.audioCard.js b/__tests__/html/accessibility.liveRegionAttachment.audioCard.js deleted file mode 100644 index 35d4311ff5..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.audioCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('audio card', () => runHTML('accessibility.liveRegionAttachment.audioCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.file.js b/__tests__/html/accessibility.liveRegionAttachment.file.js deleted file mode 100644 index da562ef10e..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.file.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('file', () => runHTML('accessibility.liveRegionAttachment.file.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.heroCard.js b/__tests__/html/accessibility.liveRegionAttachment.heroCard.js deleted file mode 100644 index 82fb775d3a..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.heroCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('hero card', () => runHTML('accessibility.liveRegionAttachment.heroCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.image.js b/__tests__/html/accessibility.liveRegionAttachment.image.js deleted file mode 100644 index 9e2faa7275..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.image.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('image', () => runHTML('accessibility.liveRegionAttachment.image.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.receiptCard.js b/__tests__/html/accessibility.liveRegionAttachment.receiptCard.js deleted file mode 100644 index 274cab0e37..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.receiptCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('receipt card', () => runHTML('accessibility.liveRegionAttachment.receiptCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.signInCard.js b/__tests__/html/accessibility.liveRegionAttachment.signInCard.js deleted file mode 100644 index 954985b3fb..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.signInCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('sign-in card', () => runHTML('accessibility.liveRegionAttachment.signInCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.thumbnailCard.js b/__tests__/html/accessibility.liveRegionAttachment.thumbnailCard.js deleted file mode 100644 index 04abb23d78..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.thumbnailCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('thumbnail card', () => runHTML('accessibility.liveRegionAttachment.thumbnailCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.unknownCard.js b/__tests__/html/accessibility.liveRegionAttachment.unknownCard.js deleted file mode 100644 index 8417b103b6..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.unknownCard.js +++ /dev/null @@ -1,8 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('unknown card', () => - runHTML('accessibility.liveRegionAttachment.unknownCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.video.js b/__tests__/html/accessibility.liveRegionAttachment.video.js deleted file mode 100644 index 5d5387d55b..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.video.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('video', () => runHTML('accessibility.liveRegionAttachment.video.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionAttachment.videoCard.js b/__tests__/html/accessibility.liveRegionAttachment.videoCard.js deleted file mode 100644 index 70c21c73a1..0000000000 --- a/__tests__/html/accessibility.liveRegionAttachment.videoCard.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('attachments in live region', () => { - test('video card', () => runHTML('accessibility.liveRegionAttachment.videoCard.html')); - }); -}); diff --git a/__tests__/html/accessibility.liveRegionSuggestedActions.withMessage.js b/__tests__/html/accessibility.liveRegionSuggestedActions.withMessage.js deleted file mode 100644 index 0d7c306084..0000000000 --- a/__tests__/html/accessibility.liveRegionSuggestedActions.withMessage.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('suggested actions in live region', () => - test('with message', () => runHTML('accessibility.liveRegionSuggestedActions.withMessage.html'))); -}); diff --git a/__tests__/html/accessibility.liveRegionSuggestedActions.withoutMessage.js b/__tests__/html/accessibility.liveRegionSuggestedActions.withoutMessage.js deleted file mode 100644 index 7708e7c3d7..0000000000 --- a/__tests__/html/accessibility.liveRegionSuggestedActions.withoutMessage.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('suggested actions in live region', () => - test('without message', () => runHTML('accessibility.liveRegionSuggestedActions.withoutMessage.html'))); -}); diff --git a/__tests__/html/accessibility.sendBox.alertEmptyMessage.multilineTextBox.enter.js b/__tests__/html/accessibility.sendBox.alertEmptyMessage.multilineTextBox.enter.js deleted file mode 100644 index ad511ac776..0000000000 --- a/__tests__/html/accessibility.sendBox.alertEmptyMessage.multilineTextBox.enter.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('when pressing ENTER on an empty multiline send box', () => - test('should alert about empty message', () => runHTML('accessibility.sendBox.alertEmptyMessage.multilineTextBox.enter.html'))); -}); diff --git a/__tests__/html/accessibility.sendBox.alertEmptyMessage.sendButton.js b/__tests__/html/accessibility.sendBox.alertEmptyMessage.sendButton.js deleted file mode 100644 index 8768f845f0..0000000000 --- a/__tests__/html/accessibility.sendBox.alertEmptyMessage.sendButton.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('when clicking on send box with an empty send box', () => - test('should alert about empty message', () => runHTML('accessibility.sendBox.alertEmptyMessage.sendButton.html'))); -}); diff --git a/__tests__/html/accessibility.sendBox.alertEmptyMessage.singleLineTextBox.enter.js b/__tests__/html/accessibility.sendBox.alertEmptyMessage.singleLineTextBox.enter.js deleted file mode 100644 index 64bfd9cb2d..0000000000 --- a/__tests__/html/accessibility.sendBox.alertEmptyMessage.singleLineTextBox.enter.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('when pressing ENTER on an empty single line send box', () => - test('should alert about empty message', () => runHTML('accessibility.sendBox.alertEmptyMessage.singleLineTextBox.enter.html'))); -}); diff --git a/__tests__/html/accessibility.sendBox.alertOffline.sendButton.js b/__tests__/html/accessibility.sendBox.alertOffline.sendButton.js deleted file mode 100644 index 81fdbfd159..0000000000 --- a/__tests__/html/accessibility.sendBox.alertOffline.sendButton.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('when clicking on send button while offline', () => - test('should alert about offline', () => runHTML('accessibility.sendBox.alertOffline.sendButton.html'))); -}); diff --git a/__tests__/html/accessibility.stackedLayout.withoutText.js b/__tests__/html/accessibility.stackedLayout.withoutText.js deleted file mode 100644 index 10bfe035fe..0000000000 --- a/__tests__/html/accessibility.stackedLayout.withoutText.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('should not inject "aria-labelledby" for activities without text content in stacked layout', () => - runHTML('accessibility.stackedLayout.withoutText.html')); -}); diff --git a/__tests__/html/accessibility.suggestedActions.altText.js b/__tests__/html/accessibility.suggestedActions.altText.js deleted file mode 100644 index a7d0807dcb..0000000000 --- a/__tests__/html/accessibility.suggestedActions.altText.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('should support "imageAltText" for images in suggested actions', () => - runHTML('accessibility.suggestedActions.altText.html')); -}); diff --git a/__tests__/html/accessibility.suggestedActions.carouselLayout.ariaAttributes.js b/__tests__/html/accessibility.suggestedActions.carouselLayout.ariaAttributes.js deleted file mode 100644 index fe00325f58..0000000000 --- a/__tests__/html/accessibility.suggestedActions.carouselLayout.ariaAttributes.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('suggested actions of carousel layout', () => { - test('should have correct ARIA attributes', () => runHTML('accessibility.suggestedActions.carouselLayout.ariaAttributes.html')); - }); -}); diff --git a/__tests__/html/accessibility.suggestedActions.flowLayout.ariaAttributes.js b/__tests__/html/accessibility.suggestedActions.flowLayout.ariaAttributes.js deleted file mode 100644 index bf6ea262db..0000000000 --- a/__tests__/html/accessibility.suggestedActions.flowLayout.ariaAttributes.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('suggested actions of flow layout', () => { - test('should have correct ARIA attributes', () => runHTML('accessibility.suggestedActions.flowLayout.ariaAttributes.html')); - }); -}); diff --git a/__tests__/html/accessibility.suggestedActions.sendFocusImmediately.js b/__tests__/html/accessibility.suggestedActions.sendFocusImmediately.js deleted file mode 100644 index e611366ff0..0000000000 --- a/__tests__/html/accessibility.suggestedActions.sendFocusImmediately.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('after clicking on suggested action', () => { - test('should send the focus to send box immediately', () => runHTML('accessibility.suggestedActions.sendFocusImmediately.html')); - }); -}); diff --git a/__tests__/html/accessibility.suggestedActions.stackedLayout.ariaAttributes.js b/__tests__/html/accessibility.suggestedActions.stackedLayout.ariaAttributes.js deleted file mode 100644 index 60f1fdf3ad..0000000000 --- a/__tests__/html/accessibility.suggestedActions.stackedLayout.ariaAttributes.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - describe('suggested actions of stacked layout', () => { - test('should have correct ARIA attributes', () => runHTML('accessibility.suggestedActions.stackedLayout.ariaAttributes.html')); - }); -}); diff --git a/__tests__/html/accessibility.transcript.initialEmpty.js b/__tests__/html/accessibility.transcript.initialEmpty.js deleted file mode 100644 index ef52933a91..0000000000 --- a/__tests__/html/accessibility.transcript.initialEmpty.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @jest-environment ./packages/test/harness/src/host/jest/WebDriverEnvironment.js */ - -describe('accessibility requirement', () => { - test('should always have at least one
under [role="feed"]', () => - runHTML('accessibility.transcript.initialEmpty.html')); -}); diff --git a/__tests__/html/accessibility.accessibleName.activityStatus.sendFailed.html b/__tests__/html2/accessibility/accessibleName.activityStatus.sendFailed.html similarity index 100% rename from __tests__/html/accessibility.accessibleName.activityStatus.sendFailed.html rename to __tests__/html2/accessibility/accessibleName.activityStatus.sendFailed.html diff --git a/__tests__/html/accessibility.accessibleName.simple.html b/__tests__/html2/accessibility/accessibleName.simple.html similarity index 100% rename from __tests__/html/accessibility.accessibleName.simple.html rename to __tests__/html2/accessibility/accessibleName.simple.html diff --git a/__tests__/html/accessibility.activity.stackedLayoutRole.html b/__tests__/html2/accessibility/activity/stackedLayoutRole.html similarity index 100% rename from __tests__/html/accessibility.activity.stackedLayoutRole.html rename to __tests__/html2/accessibility/activity/stackedLayoutRole.html diff --git a/__tests__/html/accessibility.adaptiveCard.ariaPushed.html b/__tests__/html2/accessibility/adaptiveCard/ariaPushed.html similarity index 100% rename from __tests__/html/accessibility.adaptiveCard.ariaPushed.html rename to __tests__/html2/accessibility/adaptiveCard/ariaPushed.html diff --git a/__tests__/html/accessibility.adaptiveCard.disabled.focus.html b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.html similarity index 97% rename from __tests__/html/accessibility.adaptiveCard.disabled.focus.html rename to __tests__/html2/accessibility/adaptiveCard/disabled.focus.html index 239bcd9823..b896ea967a 100644 --- a/__tests__/html/accessibility.adaptiveCard.disabled.focus.html +++ b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.html @@ -129,13 +129,13 @@ await host.sendKeys('ENTER'); // THEN: It should focus on the "Yes" button. - await host.snapshot(); + await host.snapshot('local'); // WHEN: Web Chat is being disabled. render({ attachmentMiddleware: createAttachmentMiddleware(true) }); // THEN: The buttons on the Adaptive Cards should be disabled - await host.snapshot(); + await host.snapshot('local'); // WHEN: Pressing TAB key. await host.sendTab(); @@ -148,7 +148,7 @@ ); // THEN: It should focus on the transcript with the last message selected. - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-js-accessibility-requirement-disabling-adaptive-card-should-send-focus-back-to-chat-history-1-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-js-accessibility-requirement-disabling-adaptive-card-should-send-focus-back-to-chat-history-1-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.focus.html.snap-1.png diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-js-accessibility-requirement-disabling-adaptive-card-should-send-focus-back-to-chat-history-2-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.html.snap-2.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-js-accessibility-requirement-disabling-adaptive-card-should-send-focus-back-to-chat-history-2-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.focus.html.snap-2.png diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-js-accessibility-requirement-disabling-adaptive-card-should-send-focus-back-to-chat-history-3-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.html.snap-3.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-js-accessibility-requirement-disabling-adaptive-card-should-send-focus-back-to-chat-history-3-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.focus.html.snap-3.png diff --git a/__tests__/html/accessibility.adaptiveCard.disabled.focus.withShowCard.html b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.withShowCard.html similarity index 98% rename from __tests__/html/accessibility.adaptiveCard.disabled.focus.withShowCard.html rename to __tests__/html2/accessibility/adaptiveCard/disabled.focus.withShowCard.html index c61667c5bb..fdc5d2aec0 100644 --- a/__tests__/html/accessibility.adaptiveCard.disabled.focus.withShowCard.html +++ b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.withShowCard.html @@ -142,7 +142,7 @@ // THEN: It should expand the card and the "Submit" button should be shown. // It should continue to focus on the "Set ZIP code" button. expect(document.querySelector('button[title="Submit"]')).toBeTruthy(); - await host.snapshot(); + await host.snapshot('local'); // WHEN: Pressing TAB key. await host.sendKeys('TAB'); @@ -190,7 +190,7 @@ // It should continue to focus on the "Set ZIP code" button. // The "Skip" button should be disabled. expect(document.querySelector('button[title="Submit"]')).toBeFalsy(); - await host.snapshot(); + await host.snapshot('local'); // WHEN: The UI is re-enabled. render({ attachmentMiddleware: createAttachmentMiddleware(false) }); diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-with-show-card-js-accessibility-requirement-disabling-adaptive-card-with-action-show-card-1-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.withShowCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-with-show-card-js-accessibility-requirement-disabling-adaptive-card-with-action-show-card-1-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.focus.withShowCard.html.snap-1.png diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-with-show-card-js-accessibility-requirement-disabling-adaptive-card-with-action-show-card-2-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.focus.withShowCard.html.snap-2.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-focus-with-show-card-js-accessibility-requirement-disabling-adaptive-card-with-action-show-card-2-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.focus.withShowCard.html.snap-2.png diff --git a/__tests__/html/accessibility.adaptiveCard.disabled.inputs.html b/__tests__/html2/accessibility/adaptiveCard/disabled.inputs.html similarity index 98% rename from __tests__/html/accessibility.adaptiveCard.disabled.inputs.html rename to __tests__/html2/accessibility/adaptiveCard/disabled.inputs.html index f327db9937..752858504e 100644 --- a/__tests__/html/accessibility.adaptiveCard.disabled.inputs.html +++ b/__tests__/html2/accessibility/adaptiveCard/disabled.inputs.html @@ -95,7 +95,7 @@ ).map(({ checked, type, value }) => (type === 'checkbox' || type === 'radio' ? checked : value)); // THEN: It should have the form completely filled. - await host.snapshot(); + await host.snapshot('local'); // WHEN: Changing "disabled" to true. renderWebChat({ disabled: true }); @@ -126,7 +126,7 @@ // THEN: The bottom part should show, because the "Show Card" button is not disabled and could be clicked. // No focus indicator should show on the "Show Card" button as it is clicked by mouse. - await host.snapshot(); + await host.snapshot('local'); // THEN: All buttons should be disabled. expect( @@ -162,7 +162,7 @@ expect(postActivityCalledTimes).toBe(2); // THEN: Bot should receive the posted JSON. - await host.snapshot(); + await host.snapshot('local'); }, // TODO: Currently the card is pointing to non-existing images, thus, 404 is logged in the console. { ignoreErrors: true } diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-inputs-js-accessibility-requirement-disabling-adaptive-card-with-inputs-field-1-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.inputs.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-inputs-js-accessibility-requirement-disabling-adaptive-card-with-inputs-field-1-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.inputs.html.snap-1.png diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-inputs-js-accessibility-requirement-disabling-adaptive-card-with-inputs-field-2-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.inputs.html.snap-2.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-inputs-js-accessibility-requirement-disabling-adaptive-card-with-inputs-field-2-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.inputs.html.snap-2.png diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-inputs-js-accessibility-requirement-disabling-adaptive-card-with-inputs-field-3-snap.png b/__tests__/html2/accessibility/adaptiveCard/disabled.inputs.html.snap-3.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-disabled-inputs-js-accessibility-requirement-disabling-adaptive-card-with-inputs-field-3-snap.png rename to __tests__/html2/accessibility/adaptiveCard/disabled.inputs.html.snap-3.png diff --git a/__tests__/html/accessibility.adaptiveCard.hack.actionSetShouldNotBeMenuBarMod.html b/__tests__/html2/accessibility/adaptiveCard/hack.actionSetShouldNotBeMenuBarMod.html similarity index 100% rename from __tests__/html/accessibility.adaptiveCard.hack.actionSetShouldNotBeMenuBarMod.html rename to __tests__/html2/accessibility/adaptiveCard/hack.actionSetShouldNotBeMenuBarMod.html diff --git a/__tests__/html/accessibility.adaptiveCard.hack.actionShouldBePushButtonMod.html b/__tests__/html2/accessibility/adaptiveCard/hack.actionShouldBePushButtonMod.html similarity index 100% rename from __tests__/html/accessibility.adaptiveCard.hack.actionShouldBePushButtonMod.html rename to __tests__/html2/accessibility/adaptiveCard/hack.actionShouldBePushButtonMod.html diff --git a/__tests__/html/accessibility.adaptiveCard.hack.activeElementMod.html b/__tests__/html2/accessibility/adaptiveCard/hack.activeElementMod.html similarity index 100% rename from __tests__/html/accessibility.adaptiveCard.hack.activeElementMod.html rename to __tests__/html2/accessibility/adaptiveCard/hack.activeElementMod.html diff --git a/__tests__/html/accessibility.adaptiveCard.hack.disabledMod.html b/__tests__/html2/accessibility/adaptiveCard/hack.disabledMod.html similarity index 100% rename from __tests__/html/accessibility.adaptiveCard.hack.disabledMod.html rename to __tests__/html2/accessibility/adaptiveCard/hack.disabledMod.html diff --git a/__tests__/html/accessibility.adaptiveCard.hack.persistValuesMod.html b/__tests__/html2/accessibility/adaptiveCard/hack.persistValuesMod.html similarity index 100% rename from __tests__/html/accessibility.adaptiveCard.hack.persistValuesMod.html rename to __tests__/html2/accessibility/adaptiveCard/hack.persistValuesMod.html diff --git a/__tests__/html/accessibility.adaptiveCard.hack.roleMod.html b/__tests__/html2/accessibility/adaptiveCard/hack.roleMod.html similarity index 100% rename from __tests__/html/accessibility.adaptiveCard.hack.roleMod.html rename to __tests__/html2/accessibility/adaptiveCard/hack.roleMod.html diff --git a/__tests__/html/accessibility.adaptiveCard.withTapAction.html b/__tests__/html2/accessibility/adaptiveCard/withTapAction.html similarity index 97% rename from __tests__/html/accessibility.adaptiveCard.withTapAction.html rename to __tests__/html2/accessibility/adaptiveCard/withTapAction.html index 67174629ba..40a434edb1 100644 --- a/__tests__/html/accessibility.adaptiveCard.withTapAction.html +++ b/__tests__/html2/accessibility/adaptiveCard/withTapAction.html @@ -35,7 +35,7 @@ expect(focusingOnRoot).toBe(true); // The whole card should become yellow as the focus moved on it and it is clickable. - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-with-tap-action-js-accessibility-requirement-adaptive-card-with-tap-action-should-be-focusable-1-snap.png b/__tests__/html2/accessibility/adaptiveCard/withTapAction.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-with-tap-action-js-accessibility-requirement-adaptive-card-with-tap-action-should-be-focusable-1-snap.png rename to __tests__/html2/accessibility/adaptiveCard/withTapAction.html.snap-1.png diff --git a/__tests__/html/accessibility.adaptiveCard.withoutTapAction.html b/__tests__/html2/accessibility/adaptiveCard/withoutTapAction.html similarity index 98% rename from __tests__/html/accessibility.adaptiveCard.withoutTapAction.html rename to __tests__/html2/accessibility/adaptiveCard/withoutTapAction.html index b8d5da45f2..1e2cf9c2f2 100644 --- a/__tests__/html/accessibility.adaptiveCard.withoutTapAction.html +++ b/__tests__/html2/accessibility/adaptiveCard/withoutTapAction.html @@ -51,7 +51,7 @@ // The card should be in white because it is not tappable, it should not be focused. // The transcript will become yellow because it is focused. - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-adaptive-card-without-tap-action-js-accessibility-requirement-adaptive-card-without-tap-action-should-not-be-focusable-1-snap.png b/__tests__/html2/accessibility/adaptiveCard/withoutTapAction.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-adaptive-card-without-tap-action-js-accessibility-requirement-adaptive-card-without-tap-action-should-not-be-focusable-1-snap.png rename to __tests__/html2/accessibility/adaptiveCard/withoutTapAction.html.snap-1.png diff --git a/__tests__/html/accessibility.aria-roledescription.html b/__tests__/html2/accessibility/aria-roledescription.html similarity index 100% rename from __tests__/html/accessibility.aria-roledescription.html rename to __tests__/html2/accessibility/aria-roledescription.html diff --git a/__tests__/html/accessibility.attachment.aria.html b/__tests__/html2/accessibility/attachment/aria.html similarity index 100% rename from __tests__/html/accessibility.attachment.aria.html rename to __tests__/html2/accessibility/attachment/aria.html diff --git a/__tests__/html/accessibility.attachment.carouselLayoutRole.html b/__tests__/html2/accessibility/attachment/carouselLayoutRole.html similarity index 90% rename from __tests__/html/accessibility.attachment.carouselLayoutRole.html rename to __tests__/html2/accessibility/attachment/carouselLayoutRole.html index b577a97e0d..af5ea59b62 100644 --- a/__tests__/html/accessibility.attachment.carouselLayoutRole.html +++ b/__tests__/html2/accessibility/attachment/carouselLayoutRole.html @@ -23,7 +23,7 @@ await pageConditions.minNumActivitiesShown(2); await pageConditions.scrollToBottomCompleted(); - const messageRole = document.querySelector('.webchat__stacked-layout__message-row').getAttribute('role'); + const messageRole = document.querySelector('.stacked-layout__message-row').getAttribute('role'); expect(messageRole).toBeTruthy(); }); diff --git a/__tests__/html/accessibility.heroCard.heading.html b/__tests__/html2/accessibility/attachment/heroCard.heading.html similarity index 100% rename from __tests__/html/accessibility.heroCard.heading.html rename to __tests__/html2/accessibility/attachment/heroCard.heading.html diff --git a/__tests__/html/accessibility.attachment.stackedLayoutRole.html b/__tests__/html2/accessibility/attachment/stackedLayoutRole.html similarity index 100% rename from __tests__/html/accessibility.attachment.stackedLayoutRole.html rename to __tests__/html2/accessibility/attachment/stackedLayoutRole.html diff --git a/__tests__/html/accessibility.delayActivity.raceCondition.html b/__tests__/html2/accessibility/delayActivity/raceCondition.html similarity index 100% rename from __tests__/html/accessibility.delayActivity.raceCondition.html rename to __tests__/html2/accessibility/delayActivity/raceCondition.html diff --git a/__tests__/html/accessibility.delayActivity.typingActivity.html b/__tests__/html2/accessibility/delayActivity/typingActivity.html similarity index 100% rename from __tests__/html/accessibility.delayActivity.typingActivity.html rename to __tests__/html2/accessibility/delayActivity/typingActivity.html diff --git a/__tests__/html/accessibility.delayActivity.typingActivityWithoutReplyToActivity.html b/__tests__/html2/accessibility/delayActivity/typingActivityWithoutReplyToActivity.html similarity index 100% rename from __tests__/html/accessibility.delayActivity.typingActivityWithoutReplyToActivity.html rename to __tests__/html2/accessibility/delayActivity/typingActivityWithoutReplyToActivity.html diff --git a/__tests__/html/accessibility.delayActivity.withReplyToId.html b/__tests__/html2/accessibility/delayActivity/withReplyToId.html similarity index 95% rename from __tests__/html/accessibility.delayActivity.withReplyToId.html rename to __tests__/html2/accessibility/delayActivity/withReplyToId.html index 4d9cf4dd7e..e7d28fa89c 100644 --- a/__tests__/html/accessibility.delayActivity.withReplyToId.html +++ b/__tests__/html2/accessibility/delayActivity/withReplyToId.html @@ -39,7 +39,7 @@ // Although the bot-initiate message arrived, it is not shown on the screen or appear in the Redux store. await pageConditions.numActivitiesShown(1); await pageConditions.became('directLine.numActivities became 1', () => directLine.numActivities === 1, 15000); - await host.snapshot(); + await host.snapshot('local'); clock.tick(5000); @@ -47,14 +47,14 @@ // 1. User-initiated message "Hello, World!" is still sending (with "Sending" status) // 2. Bot-initiated message "You said: Hello, World!" await pageConditions.numActivitiesShown(2); - await host.snapshot(); + await host.snapshot('local'); directLine.releaseEchoBackOnce(); // This screenshot should show: // 1. User-initiated message "Hello, World!" and is successfully sent (with "Just now" timestamp) // 2. Bot-initiated message "You said: Hello, World!" - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-delay-activity-with-reply-to-id-js-accessibility-requirement-should-delay-activity-with-reply-to-id-referencing-a-missing-activity-1-snap.png b/__tests__/html2/accessibility/delayActivity/withReplyToId.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-delay-activity-with-reply-to-id-js-accessibility-requirement-should-delay-activity-with-reply-to-id-referencing-a-missing-activity-1-snap.png rename to __tests__/html2/accessibility/delayActivity/withReplyToId.html.snap-1.png diff --git a/__tests__/__image_snapshots__/html/accessibility-delay-activity-with-reply-to-id-js-accessibility-requirement-should-delay-activity-with-reply-to-id-referencing-a-missing-activity-2-snap.png b/__tests__/html2/accessibility/delayActivity/withReplyToId.html.snap-2.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-delay-activity-with-reply-to-id-js-accessibility-requirement-should-delay-activity-with-reply-to-id-referencing-a-missing-activity-2-snap.png rename to __tests__/html2/accessibility/delayActivity/withReplyToId.html.snap-2.png diff --git a/__tests__/__image_snapshots__/html/accessibility-delay-activity-with-reply-to-id-js-accessibility-requirement-should-delay-activity-with-reply-to-id-referencing-a-missing-activity-3-snap.png b/__tests__/html2/accessibility/delayActivity/withReplyToId.html.snap-3.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-delay-activity-with-reply-to-id-js-accessibility-requirement-should-delay-activity-with-reply-to-id-referencing-a-missing-activity-3-snap.png rename to __tests__/html2/accessibility/delayActivity/withReplyToId.html.snap-3.png diff --git a/__tests__/html/accessibility.delayActivity.withoutReplyToId.html b/__tests__/html2/accessibility/delayActivity/withoutReplyToId.html similarity index 95% rename from __tests__/html/accessibility.delayActivity.withoutReplyToId.html rename to __tests__/html2/accessibility/delayActivity/withoutReplyToId.html index 88256f4a96..49c76212f1 100644 --- a/__tests__/html/accessibility.delayActivity.withoutReplyToId.html +++ b/__tests__/html2/accessibility/delayActivity/withoutReplyToId.html @@ -37,14 +37,14 @@ // 2. Bot-initiated message "You said: Hello, World!" await pageConditions.numActivitiesShown(2); await pageConditions.became('directLine.numActivities became 1', () => directLine.numActivities === 1, 15000); - await host.snapshot(); + await host.snapshot('local'); directLine.releaseEchoBackOnce(); // This screenshot should show: // 1. User-initiated message "Hello, World!" and is successfully sent (with "Just now" timestamp) // 2. Bot-initiated message "You said: Hello, World!" - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-delay-activity-without-reply-to-id-js-accessibility-requirement-should-not-delay-activity-without-reply-to-id-1-snap.png b/__tests__/html2/accessibility/delayActivity/withoutReplyToId.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-delay-activity-without-reply-to-id-js-accessibility-requirement-should-not-delay-activity-without-reply-to-id-1-snap.png rename to __tests__/html2/accessibility/delayActivity/withoutReplyToId.html.snap-1.png diff --git a/__tests__/__image_snapshots__/html/accessibility-delay-activity-without-reply-to-id-js-accessibility-requirement-should-not-delay-activity-without-reply-to-id-2-snap.png b/__tests__/html2/accessibility/delayActivity/withoutReplyToId.html.snap-2.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-delay-activity-without-reply-to-id-js-accessibility-requirement-should-not-delay-activity-without-reply-to-id-2-snap.png rename to __tests__/html2/accessibility/delayActivity/withoutReplyToId.html.snap-2.png diff --git a/__tests__/html/accessibility.landmarkRole.invalid.html b/__tests__/html2/accessibility/landmarkRole/invalid.html similarity index 100% rename from __tests__/html/accessibility.landmarkRole.invalid.html rename to __tests__/html2/accessibility/landmarkRole/invalid.html diff --git a/__tests__/html/accessibility.landmarkRole.valid.html b/__tests__/html2/accessibility/landmarkRole/valid.html similarity index 100% rename from __tests__/html/accessibility.landmarkRole.valid.html rename to __tests__/html2/accessibility/landmarkRole/valid.html diff --git a/__tests__/html/accessibility.liveRegionActivity.htmlInMarkdown.html b/__tests__/html2/accessibility/liveRegion/activity/htmlInMarkdown.html similarity index 98% rename from __tests__/html/accessibility.liveRegionActivity.htmlInMarkdown.html rename to __tests__/html2/accessibility/liveRegion/activity/htmlInMarkdown.html index 87326f415a..539b5d691b 100644 --- a/__tests__/html/accessibility.liveRegionActivity.htmlInMarkdown.html +++ b/__tests__/html2/accessibility/liveRegion/activity/htmlInMarkdown.html @@ -80,7 +80,7 @@ ]); // The screenshot should show the message in Markdown format, i.e. and . - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-activity-html-in-markdown-js-accessibility-requirement-should-clean-up-html-in-markdown-1-snap.png b/__tests__/html2/accessibility/liveRegion/activity/htmlInMarkdown.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-activity-html-in-markdown-js-accessibility-requirement-should-clean-up-html-in-markdown-1-snap.png rename to __tests__/html2/accessibility/liveRegion/activity/htmlInMarkdown.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionActivity.performance.html b/__tests__/html2/accessibility/liveRegion/activity/performance.html similarity index 100% rename from __tests__/html/accessibility.liveRegionActivity.performance.html rename to __tests__/html2/accessibility/liveRegion/activity/performance.html diff --git a/__tests__/html/accessibility.liveRegionActivity.speakOverrideAttachments.html b/__tests__/html2/accessibility/liveRegion/activity/speakOverrideAttachments.html similarity index 100% rename from __tests__/html/accessibility.liveRegionActivity.speakOverrideAttachments.html rename to __tests__/html2/accessibility/liveRegion/activity/speakOverrideAttachments.html diff --git a/__tests__/html/accessibility.liveRegionActivity.text.html b/__tests__/html2/accessibility/liveRegion/activity/text.html similarity index 99% rename from __tests__/html/accessibility.liveRegionActivity.text.html rename to __tests__/html2/accessibility/liveRegion/activity/text.html index 99520eb340..cf04066d6f 100644 --- a/__tests__/html/accessibility.liveRegionActivity.text.html +++ b/__tests__/html2/accessibility/liveRegion/activity/text.html @@ -116,7 +116,7 @@ // THEN: The screenshot should show the message in Markdown format, i.e. and . // It must not show the text "This should not be displayed." - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-activity-text-js-accessibility-requirement-should-clean-up-speak-property-for-live-region-text-1-snap.png b/__tests__/html2/accessibility/liveRegion/activity/text.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-activity-text-js-accessibility-requirement-should-clean-up-speak-property-for-live-region-text-1-snap.png rename to __tests__/html2/accessibility/liveRegion/activity/text.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.contrast.html b/__tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.contrast.html similarity index 97% rename from __tests__/html/accessibility.liveRegion.activityStatus.sendFailed.contrast.html rename to __tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.contrast.html index 44e8b7a5d0..bf30d669dc 100644 --- a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.contrast.html +++ b/__tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.contrast.html @@ -43,7 +43,7 @@ 1000 ); - await host.snapshot(); + await host.snapshot('local'); }, { ignoreErrors: 'artificial error' } ); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-activity-status-send-failed-contrast-js-live-region-should-render-send-failed-retry-correctly-in-high-contrast-mode-1-snap.png b/__tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.contrast.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-activity-status-send-failed-contrast-js-live-region-should-render-send-failed-retry-correctly-in-high-contrast-mode-1-snap.png rename to __tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.contrast.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.event.html b/__tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.event.html similarity index 100% rename from __tests__/html/accessibility.liveRegion.activityStatus.sendFailed.event.html rename to __tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.event.html diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.html b/__tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.html similarity index 100% rename from __tests__/html/accessibility.liveRegion.activityStatus.sendFailed.html rename to __tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.html diff --git a/__tests__/html/accessibility.liveRegion.activityStatus.sendFailed.typing.html b/__tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.typing.html similarity index 100% rename from __tests__/html/accessibility.liveRegion.activityStatus.sendFailed.typing.html rename to __tests__/html2/accessibility/liveRegion/activityStatus.sendFailed.typing.html diff --git a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.html b/__tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.adaptiveCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.html index dbf1e82730..bd19a00e71 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.html @@ -66,7 +66,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-adaptive-card-js-accessibility-requirement-attachments-in-live-region-adaptive-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-adaptive-card-js-accessibility-requirement-attachments-in-live-region-adaptive-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.speakProperty.html b/__tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.speakProperty.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.adaptiveCard.speakProperty.html rename to __tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.speakProperty.html index 9f9fd0813e..8234ab65d6 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.adaptiveCard.speakProperty.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.speakProperty.html @@ -59,7 +59,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-adaptive-card-speak-property-js-live-region-should-narrate-speak-property-adaptive-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.speakProperty.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-adaptive-card-speak-property-js-live-region-should-narrate-speak-property-adaptive-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/adaptiveCard.speakProperty.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.animationCard.html b/__tests__/html2/accessibility/liveRegion/attachment/animationCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.animationCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/animationCard.html index b2f9c961e1..36110130dd 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.animationCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/animationCard.html @@ -68,7 +68,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-animation-card-js-accessibility-requirement-attachments-in-live-region-animation-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/animationCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-animation-card-js-accessibility-requirement-attachments-in-live-region-animation-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/animationCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.audio.html b/__tests__/html2/accessibility/liveRegion/attachment/audio.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.audio.html rename to __tests__/html2/accessibility/liveRegion/attachment/audio.html index 6a90359d9c..afd1cbc3dd 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.audio.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/audio.html @@ -65,7 +65,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-audio-js-accessibility-requirement-attachments-in-live-region-audio-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/audio.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-audio-js-accessibility-requirement-attachments-in-live-region-audio-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/audio.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.audioCard.html b/__tests__/html2/accessibility/liveRegion/attachment/audioCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.audioCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/audioCard.html index f75cf7ad65..e4b42db751 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.audioCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/audioCard.html @@ -65,7 +65,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-audio-card-js-accessibility-requirement-attachments-in-live-region-audio-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/audioCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-audio-card-js-accessibility-requirement-attachments-in-live-region-audio-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/audioCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.file.html b/__tests__/html2/accessibility/liveRegion/attachment/file.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.file.html rename to __tests__/html2/accessibility/liveRegion/attachment/file.html index a0559825b8..253eb66fd3 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.file.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/file.html @@ -65,7 +65,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-file-js-accessibility-requirement-attachments-in-live-region-file-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/file.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-file-js-accessibility-requirement-attachments-in-live-region-file-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/file.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.heroCard.html b/__tests__/html2/accessibility/liveRegion/attachment/heroCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.heroCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/heroCard.html index 6ac8c951ce..365d6f6b56 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.heroCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/heroCard.html @@ -59,7 +59,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-hero-card-js-accessibility-requirement-attachments-in-live-region-hero-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/heroCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-hero-card-js-accessibility-requirement-attachments-in-live-region-hero-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/heroCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.image.html b/__tests__/html2/accessibility/liveRegion/attachment/image.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.image.html rename to __tests__/html2/accessibility/liveRegion/attachment/image.html index fb72b246d6..3004a9937d 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.image.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/image.html @@ -59,7 +59,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-image-js-accessibility-requirement-attachments-in-live-region-image-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/image.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-image-js-accessibility-requirement-attachments-in-live-region-image-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/image.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.receiptCard.html b/__tests__/html2/accessibility/liveRegion/attachment/receiptCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.receiptCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/receiptCard.html index b404e6ec41..201ca9fc03 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.receiptCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/receiptCard.html @@ -61,7 +61,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-receipt-card-js-accessibility-requirement-attachments-in-live-region-receipt-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/receiptCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-receipt-card-js-accessibility-requirement-attachments-in-live-region-receipt-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/receiptCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.signInCard.html b/__tests__/html2/accessibility/liveRegion/attachment/signInCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.signInCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/signInCard.html index 0a4b09fbed..c5a82c89f5 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.signInCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/signInCard.html @@ -59,7 +59,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-sign-in-card-js-accessibility-requirement-attachments-in-live-region-sign-in-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/signInCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-sign-in-card-js-accessibility-requirement-attachments-in-live-region-sign-in-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/signInCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.thumbnailCard.html b/__tests__/html2/accessibility/liveRegion/attachment/thumbnailCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.thumbnailCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/thumbnailCard.html index 17a8f8a7c3..ae630c7f6c 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.thumbnailCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/thumbnailCard.html @@ -59,7 +59,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-thumbnail-card-js-accessibility-requirement-attachments-in-live-region-thumbnail-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/thumbnailCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-thumbnail-card-js-accessibility-requirement-attachments-in-live-region-thumbnail-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/thumbnailCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.unknownCard.html b/__tests__/html2/accessibility/liveRegion/attachment/unknownCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.unknownCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/unknownCard.html index 530012a5fc..3a2be2360d 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.unknownCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/unknownCard.html @@ -60,7 +60,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }, { ignoreErrors: true } ); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-unknown-card-js-accessibility-requirement-attachments-in-live-region-unknown-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/unknownCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-unknown-card-js-accessibility-requirement-attachments-in-live-region-unknown-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/unknownCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.video.html b/__tests__/html2/accessibility/liveRegion/attachment/video.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.video.html rename to __tests__/html2/accessibility/liveRegion/attachment/video.html index 9573e46a12..08bc70b2e4 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.video.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/video.html @@ -65,7 +65,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-video-js-accessibility-requirement-attachments-in-live-region-video-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/video.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-video-js-accessibility-requirement-attachments-in-live-region-video-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/video.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegionAttachment.videoCard.html b/__tests__/html2/accessibility/liveRegion/attachment/videoCard.html similarity index 98% rename from __tests__/html/accessibility.liveRegionAttachment.videoCard.html rename to __tests__/html2/accessibility/liveRegion/attachment/videoCard.html index 12db2a0425..1356031c50 100644 --- a/__tests__/html/accessibility.liveRegionAttachment.videoCard.html +++ b/__tests__/html2/accessibility/liveRegion/attachment/videoCard.html @@ -65,7 +65,7 @@ await host.sendShiftTab(3); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-video-card-js-accessibility-requirement-attachments-in-live-region-video-card-1-snap.png b/__tests__/html2/accessibility/liveRegion/attachment/videoCard.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-attachment-video-card-js-accessibility-requirement-attachments-in-live-region-video-card-1-snap.png rename to __tests__/html2/accessibility/liveRegion/attachment/videoCard.html.snap-1.png diff --git a/__tests__/html/accessibility.liveRegion.newMessages.html b/__tests__/html2/accessibility/liveRegion/newMessages.html similarity index 96% rename from __tests__/html/accessibility.liveRegion.newMessages.html rename to __tests__/html2/accessibility/liveRegion/newMessages.html index 0acb66b383..19e0a1b0fd 100644 --- a/__tests__/html/accessibility.liveRegion.newMessages.html +++ b/__tests__/html2/accessibility/liveRegion/newMessages.html @@ -42,7 +42,7 @@ // SETUP: Scroll to bottom minus 10px. await pageObjects.scrollToTop(-10); - await host.snapshot(); + await host.snapshot('local'); // SETUP: Receive a new card, so the "New messages" button is shown. await pageObjects.sendMessageViaCode('herocard qna 1'); @@ -56,7 +56,7 @@ expect(pageElements.scrollToEndButton().getAttribute('aria-keyshortcuts')).toBe('Alt Shift U'); - await host.snapshot(); + await host.snapshot('local'); // WHEN: ENTER key is pressed on the "New messages" button. await host.sendKeys('ENTER'); @@ -70,7 +70,7 @@ // THEN: It should focus on the first unread activity. expect(pageElements.focusedActivity()).toBe(pageElements.activities()[2]); - await host.snapshot(); + await host.snapshot('local'); }); diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-new-messages-js-accessibility-requirement-should-focus-new-messages-button-when-shortcut-pressed-1-snap.png b/__tests__/html2/accessibility/liveRegion/newMessages.html.snap-1.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-new-messages-js-accessibility-requirement-should-focus-new-messages-button-when-shortcut-pressed-1-snap.png rename to __tests__/html2/accessibility/liveRegion/newMessages.html.snap-1.png diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-new-messages-js-accessibility-requirement-should-focus-new-messages-button-when-shortcut-pressed-2-snap.png b/__tests__/html2/accessibility/liveRegion/newMessages.html.snap-2.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-new-messages-js-accessibility-requirement-should-focus-new-messages-button-when-shortcut-pressed-2-snap.png rename to __tests__/html2/accessibility/liveRegion/newMessages.html.snap-2.png diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-new-messages-js-accessibility-requirement-should-focus-new-messages-button-when-shortcut-pressed-3-snap.png b/__tests__/html2/accessibility/liveRegion/newMessages.html.snap-3.png similarity index 100% rename from __tests__/__image_snapshots__/html/accessibility-live-region-new-messages-js-accessibility-requirement-should-focus-new-messages-button-when-shortcut-pressed-3-snap.png rename to __tests__/html2/accessibility/liveRegion/newMessages.html.snap-3.png diff --git a/__tests__/html/accessibility.liveRegionSuggestedActions.withMessage.html b/__tests__/html2/accessibility/liveRegion/suggestedActions/withMessage.html similarity index 98% rename from __tests__/html/accessibility.liveRegionSuggestedActions.withMessage.html rename to __tests__/html2/accessibility/liveRegion/suggestedActions/withMessage.html index 8b352db71c..48d91c355c 100644 --- a/__tests__/html/accessibility.liveRegionSuggestedActions.withMessage.html +++ b/__tests__/html2/accessibility/liveRegion/suggestedActions/withMessage.html @@ -63,7 +63,7 @@ 'Message has suggested actions. Press Alt Shift A to select them.' ]); // The screenshot should show the suggested actions as HTML