We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c14b2f commit 0e20035Copy full SHA for 0e20035
packages/matrix/helpers/index.ts
@@ -388,7 +388,7 @@ export async function assertMessages(
388
).toHaveCount(1);
389
await expect(
390
page.locator(
391
- `[data-test-message-idx="${index}"] [data-test-selected-card]`,
+ `[data-test-message-idx="${index}"] [data-test-message-card]`,
392
),
393
).toHaveCount(cards.length);
394
cards.map(async (card) => {
@@ -401,7 +401,7 @@ export async function assertMessages(
401
// note: attached cards are in atom format (which display the title by default)
402
403
404
- `[data-test-message-idx="${index}"] [data-test-selected-card="${card.id}"]`,
+ `[data-test-message-idx="${index}"] [data-test-message-card="${card.id}"]`,
405
406
).toContainText(card.title);
407
}
0 commit comments