add new projects to front page

This commit is contained in:
2024-11-04 19:57:39 -07:00
parent 5f452dcf73
commit 195ba6c759
5 changed files with 193 additions and 20 deletions

View File

@@ -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