Skip to content

Commit 7669c90

Browse files
committed
Merge remote-tracking branch 'origin/sse-streaming-poc' into fix/folding-glyph-icons
2 parents 53c5ef3 + dcf8196 commit 7669c90

File tree

26 files changed

+3124
-1508
lines changed

26 files changed

+3124
-1508
lines changed

e2e/commands.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,3 +598,17 @@ Cypress.Commands.add("createTabWithContent", (content, title) => {
598598
Cypress.Commands.add("getActiveTabName", () => {
599599
return cy.get(".chrome-tab[active]").get(".chrome-tab-title").invoke("text")
600600
})
601+
602+
Cypress.Commands.add("waitForStreamingComplete", (timeout = 10000) => {
603+
return cy.get("body").then(($body) => {
604+
if ($body.find('[data-hook="streaming-cursor"]').length > 0) {
605+
cy.getByDataHook("streaming-cursor", { timeout }).should("not.exist")
606+
}
607+
return cy.wait(100)
608+
})
609+
})
610+
611+
Cypress.Commands.add("waitForAIResponse", (alias) => {
612+
cy.wait(alias)
613+
cy.waitForStreamingComplete()
614+
})

e2e/questdb

Submodule questdb updated 31 files

0 commit comments

Comments
 (0)