MCPcopy
hub / github.com/vercel/chatbot / expectToastToContain

Method expectToastToContain

tests/pages/chat.ts:215–217  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

213 }
214
215 async expectToastToContain(text: string) {
216 await expect(this.page.getByTestId('toast')).toContainText(text);
217 }
218
219 async openSideBar() {
220 const sidebarToggleButton = this.page.getByTestId('sidebar-toggle-button');

Callers 1

session.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected