feat: add streaming unified review assistant
This commit is contained in:
@@ -56,6 +56,7 @@ async function mockApplication(page, authSession = session()) {
|
||||
else if (url.pathname === "/api/watchlist" || url.pathname === "/api/notes") payload = { items: [] };
|
||||
else if (url.pathname === "/api/alerts") payload = { items: [], unread_count: 0 };
|
||||
else if (url.pathname === "/api/trades") payload = { items: [], summary: {} };
|
||||
else if (url.pathname === "/api/assistant/messages") payload = { items: [] };
|
||||
else if (url.pathname === "/api/search") payload = { groups: { stocks: [], sectors: [], themes: [], indices: [] } };
|
||||
else if (url.pathname === "/api/dragon-tiger") {
|
||||
payload = {
|
||||
@@ -93,6 +94,9 @@ test("admin shell opens every primary workspace and global search", async ({ pag
|
||||
await page.locator("#alertButton").click();
|
||||
await expect(page.locator("#alertsDialog")).toBeVisible();
|
||||
await page.locator("#closeAlertsDialog").click();
|
||||
await page.locator("#assistantButton").click();
|
||||
await expect(page.locator("#assistantDialog")).toBeVisible();
|
||||
await page.locator("#closeAssistantDialog").click();
|
||||
|
||||
const views = [
|
||||
"sentimentCycleView", "limitPool", "brokenView", "downView", "yesterdayView",
|
||||
|
||||
Reference in New Issue
Block a user