forked from trent_larson/crowd-funder-for-time-pwa
add new projects to front page
This commit is contained in:
@@ -47,7 +47,7 @@ test('New offers for another user', async ({ page }) => {
|
||||
await expect(offerNumElem).toHaveText('2');
|
||||
await offerNumElem.click();
|
||||
|
||||
await expect(page.getByText('New Offers To You')).toBeVisible();
|
||||
await expect(page.getByText('New Offers To You', { exact: true })).toBeVisible();
|
||||
await page.getByTestId('showOffersToUser').click();
|
||||
// note that they show in reverse chronologicalorder
|
||||
await expect(page.getByText(`help of ${randomString2} from #000`)).toBeVisible();
|
||||
@@ -68,7 +68,7 @@ test('New offers for another user', async ({ page }) => {
|
||||
offerNumElem = page.getByTestId('newDirectOffersActivityNumber');
|
||||
await expect(offerNumElem).toHaveText('1');
|
||||
await offerNumElem.click();
|
||||
await expect(page.getByText('New Offer To You')).toBeVisible();
|
||||
await expect(page.getByText('New Offer To You', { exact: true })).toBeVisible();
|
||||
await page.getByTestId('showOffersToUser').click();
|
||||
|
||||
// now see that no offers are shown as new
|
||||
|
||||
Reference in New Issue
Block a user