mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-01 15:35:12 +01:00
test(chat): avoid optional titles in completion link checks
Match the visible task identifier and retain the exact destination in the same completion paragraph for pending and resolved issue links. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
fa36e7cd35
commit
a3615c8cc1
1 file changed
+1
-4
@@ -471,10 +471,7 @@ test("plan approval hands the preserved revision to an assigned project task", a
|
||||
.locator("p")
|
||||
.filter({ hasText: /^Delegated work completed:/ });
|
||||
await expect(completion).toHaveCount(1);
|
||||
const completedTask = completion.getByRole("link", {
|
||||
name: `Issue ${task.identifier}: ${task.title}`,
|
||||
exact: true,
|
||||
});
|
||||
const completedTask = completion.getByRole("link").filter({ hasText: task.identifier });
|
||||
await expect(completedTask).toBeVisible();
|
||||
await expect(completedTask).toContainText(task.identifier);
|
||||
await expect(completedTask).toHaveAttribute(
|
||||
|
||||
Reference in new issue
Block a user