Skip to content

Commit b52e235

Browse files
committed
fix test and update changelog
1 parent 2525933 commit b52e235

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
105105

106106
### Changed
107107

108-
- Removed `StarterPromptsCardAction` during `blueprint` ui state
108+
- Removed `StarterPromptsCardAction` during `blueprint` ui state in PR [#5477](https://github.com/microsoft/BotFramework-WebChat/pull/5477), by [@jcheung824](https://github.com/jcheung824)
109109
- Updated `useSuggestedActions` to return the activity the suggested actions originated from, in PR [#5255](https://github.com/microsoft/BotFramework-WebChat/issues/5255), by [@compulim](https://github.com/compulim)
110110
- Improved focus trap implementation by preserving focus state and removing sentinels, in PR [#5243](https://github.com/microsoft/BotFramework-WebChat/pull/5243), by [@OEvgeny](https://github.com/OEvgeny)
111111
- Reworked pre-chat activity layout to use author entity for improved consistency and flexibility, in PR [#5274](https://github.com/microsoft/BotFramework-WebChat/pull/5274), by [@OEvgeny](https://github.com/OEvgeny)
-7.7 KB
Loading

__tests__/html2/fluentTheme/uiState.blueprint.nonEnglish.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,7 @@
184184
document.querySelectorAll(
185185
`[data-testid="${WebChat.testIds.preChatMessageActivityStarterPromptsCardAction}"]:not(button)`
186186
)
187-
).toHaveLength(3);
188-
189-
// THEN: Card action height should kept the same.
190-
expect(
191-
document.querySelector(`[data-testid="${WebChat.testIds.preChatMessageActivityStarterPromptsCardAction}"]`)
192-
).toHaveProperty('clientHeight', cardActionClientHeight);
187+
).toHaveLength(0);
193188

194189
// THEN: Send box container height should kept the same.
195190
expect(document.querySelector(`[data-testid="${WebChat.testIds.sendBoxContainer}"]`)).toHaveProperty(
-7.47 KB
Loading

__tests__/html2/fluentTheme/uiState.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
document.querySelectorAll(
208208
`[data-testid="${WebChat.testIds.preChatMessageActivityStarterPromptsCardAction}"]:not(button)`
209209
)
210-
).toHaveLength(3);
210+
).toHaveLength(0);
211211

212212
// THEN: Should match screenshot.
213213
await host.snapshot('local');

0 commit comments

Comments
 (0)