Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
test(web): match expanded Agent issue descriptions
wulien-centerae6cad3e5cdf
diff --git a/apps/web/src/app/App.test.tsx b/apps/web/src/app/App.test.tsxindex 0b4af138..4c183a74 100644--- a/apps/web/src/app/App.test.tsx+++ b/apps/web/src/app/App.test.tsx@@ -8831,7 +8831,13 @@ async function findTimelineUserMessage(text: string) {}async function findIssueByDescription(description: string | RegExp): Promise<HTMLElement> {- const message = await screen.findByText(description);+ const message = await screen.findByText((content, element) => (+ element !== null+ && element.closest('[data-issue-id]') !== null+ && (typeof description === 'string'+ ? content.includes(description)+ : description.test(content))+ ));const issue = message.closest<HTMLElement>('[data-issue-id]');if (issue === null) throw new Error(`Expected issue for description: ${String(description)}`);return issue;