forked from trent_larson/crowd-funder-for-time-pwa
add "+" to numbers if hit limit (>50), fix linting
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user