add "+" to numbers if hit limit (>50), fix linting

This commit is contained in:
2024-11-05 09:06:04 -07:00
parent f96c5892e7
commit 0d880d1edc
4 changed files with 50 additions and 30 deletions

View File

@@ -72,7 +72,7 @@ test('Record an offer', async ({ page }) => {
// go to the home page and check that the offer is shown as new
await page.goto('./');
const offerNumElem = page.getByTestId('newOffersToUserProjectsActivityNumber');
await expect(offerNumElem).toHaveText('50');
await expect(offerNumElem).toHaveText('50+');
// click on the number of new offers to go to the list page
await offerNumElem.click();