Confine message selector cache to component

This commit is contained in:
Fedor Indutny
2023-01-19 11:56:02 -08:00
committed by GitHub
parent 7f0ed2599d
commit ef13eb06fc
11 changed files with 395 additions and 311 deletions

View File

@@ -75,7 +75,7 @@ void (async () => {
{
const leftPane = window.locator('.left-pane-wrapper');
const item = leftPane.locator(
`[data-testid="${first.toContact().uuid}"]`
`[data-testid="${first.toContact().uuid}"] >> text=${LAST_MESSAGE}`
);
await item.click();
}