Allow referencing other apps (#692)
- [x] Update chat_stream_handlers - [x] Update token handlers - [x] Update HomeChatInput - [x] update lexical chat input: do not allow referencing same app (current app, or other already selected apps) - [x] I don't think smart context will work on this... - [x] Enter doesn't clear...
This commit is contained in:
@@ -645,7 +645,9 @@ export class PageObject {
|
||||
}
|
||||
|
||||
getChatInput() {
|
||||
return this.page.getByRole("textbox", { name: "Ask Dyad to build..." });
|
||||
return this.page.locator(
|
||||
'[data-lexical-editor="true"][aria-placeholder="Ask Dyad to build..."]',
|
||||
);
|
||||
}
|
||||
|
||||
clickNewChat({ index = 0 }: { index?: number } = {}) {
|
||||
@@ -878,6 +880,7 @@ export class PageObject {
|
||||
|
||||
async goToAppsTab() {
|
||||
await this.page.getByRole("link", { name: "Apps" }).click();
|
||||
await expect(this.page.getByText("Build your dream app")).toBeVisible();
|
||||
}
|
||||
|
||||
async goToChatTab() {
|
||||
|
||||
Reference in New Issue
Block a user