(container: HTMLElement)
| 35 | } |
| 36 | |
| 37 | function getMessageWindow(container: HTMLElement): HTMLDivElement { |
| 38 | const element = container.querySelector('[data-testid="message-window"]'); |
| 39 | if (!element || element.tagName !== "DIV") { |
| 40 | throw new Error("Message window not found"); |
| 41 | } |
| 42 | return element as HTMLDivElement; |
| 43 | } |
| 44 | |
| 45 | describe("Chat bottom layout stability", () => { |
| 46 | beforeAll(async () => { |
no outgoing calls
no test coverage detected