Skip to content

Commit ca09837

Browse files
author
Justin Willis (HE / HIM)
committed
fix tests for latest code changes
1 parent bdd1936 commit ca09837

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/pwabuilder/tests/report-card.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test('ensure demo app is testable', async ({ page }) => {
3434
await expect(reportCardAppTitle).toBeVisible();
3535

3636
// // expect reportCardAppTitle to contain text "Webboard"
37-
await expect(reportCardAppTitle).toHaveText('Webboard');
37+
await expect(reportCardAppTitle).toContainText('Webboard');
3838
});
3939

4040
test('ensure Package For Stores button is not disabled for demo app', async ({ page }) => {
@@ -53,6 +53,8 @@ test('ensure Package For Stores button is not disabled for demo app', async ({ p
5353
// wait for tests to end
5454
await page.waitForLoadState('networkidle');
5555

56+
await page.waitForSelector("id=swProgressRing");
57+
5658
// test manifest score
5759
const packageForStoresButton = page.locator('text=Package For Stores');
5860
await expect(await packageForStoresButton.isDisabled()).toBe(false);

0 commit comments

Comments
 (0)