diff --git a/src/e2e-tests/top-up-create-stream.e2e.test.ts b/src/e2e-tests/top-up-create-stream.e2e.test.ts index 67aa1b9b6..5789d467d 100644 --- a/src/e2e-tests/top-up-create-stream.e2e.test.ts +++ b/src/e2e-tests/top-up-create-stream.e2e.test.ts @@ -387,11 +387,11 @@ describe('app', async () => { }); it('expands the squeezing section', async () => { - await page.locator('label:has-text("Include funds streamed in current cycle")').click(); + await page.locator('label:has-text("Include unsettled stream earnings")').click(); - await page - .locator(`data-testid=item-383620263794848526656662033323214000554911775452`) - .click(); + await expect( + page.locator(`data-testid=item-383620263794848526656662033323214000554911775452`), + ).toHaveAttribute('aria-selected', 'true'); await page.locator('button', { hasText: 'Collect TEST' }).click(); });