2
0

🐛 (bubbles) Fix giphy search input buggy

This commit is contained in:
Baptiste Arnaud
2022-10-06 09:03:49 +02:00
parent bfed599695
commit 88c4076664
2 changed files with 6 additions and 3 deletions

View File

@ -85,7 +85,8 @@ test.describe.parallel('Image bubble block', () => {
)
const trendingfirstImageSrc = await firstGiphyImage.getAttribute('src')
expect(trendingfirstImageSrc).toMatch(new RegExp('giphy.com/media', 'gm'))
await page.fill('[placeholder="Search..."]', 'fun')
await page.type('[placeholder="Search..."]', 'fun')
await expect(page.locator('[placeholder="Search..."]')).toHaveValue('fun')
await page.waitForTimeout(500)
await expect(firstGiphyImage).toHaveAttribute(
'src',