From d0ce795f3320f6cb2a548dcefa910a39044197da Mon Sep 17 00:00:00 2001 From: Justin Willis Date: Mon, 16 Oct 2023 10:47:45 -0700 Subject: [PATCH] fix(): remove un-needed brittle test (#4457) fixes #4449 ## PR Type Bugfix ## Describe the current behavior? We had a test that tried to match the specific scores for the demo app, however this has already broken multiple times not because of bugs, but because we changed our scoring logic a bit. We should not have tests that we have to update every time we update our scoring logic, and ensuring the demo app passes is already checked with other tests we have. ## Describe the new behavior? No longer testing for specific scores for the demo app. ## PR Checklist - [ x] Test: run `npm run test` and ensure that all tests pass - [ x] Target main branch (or an appropriate release branch if appropriate for a bug fix) - [ x] Ensure that your contribution follows [standard accessibility guidelines](https://docs.microsoft.com/en-us/microsoft-edge/accessibility/design). Use tools like https://webhint.io/ to validate your changes. ## Additional Information Co-authored-by: Justin Willis (HE / HIM) Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com> --- apps/pwabuilder/.vscode/settings.json | 3 ++ apps/pwabuilder/playwright-report/index.html | 2 +- apps/pwabuilder/tests/report-card.spec.ts | 39 -------------------- 3 files changed, 4 insertions(+), 40 deletions(-) diff --git a/apps/pwabuilder/.vscode/settings.json b/apps/pwabuilder/.vscode/settings.json index 511355857..104f03cb4 100644 --- a/apps/pwabuilder/.vscode/settings.json +++ b/apps/pwabuilder/.vscode/settings.json @@ -7,4 +7,7 @@ "front_matter_title": "" } }, + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ], } \ No newline at end of file diff --git a/apps/pwabuilder/playwright-report/index.html b/apps/pwabuilder/playwright-report/index.html index bb75c067e..9ee63079b 100644 --- a/apps/pwabuilder/playwright-report/index.html +++ b/apps/pwabuilder/playwright-report/index.html @@ -59,4 +59,4 @@ \ No newline at end of file +window.playwrightReportBase64 = "data:application/zip;base64,UEsDBBQAAAgIALJRUFdesTpX4wMAADMaAAAZAAAAODk0Njc0MWM1NTVhMGM0NTE1ZDguanNvbu1YQY+bOBT+K4hTRsoQjLENVLtSp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MbP6HN85TCSXa5DgQJgnsumSdSBi3pE9m96twQG3cxdmq2JDQ7URO/kZ12VilibTAW69pZz8SFdPcT/eSXxIfzd8D/B2Aw+axSc0UJqQkYJigOFxLfWQDnFagE0+TFAP7oQMLPadJZCoxuyhwH5MrMh4V7jPFEPGX/uo+gPueEdPCluvkKUEsBAj8DFAAACAgAslFQV16xOlfjAwAAMxoAABkAAAAAAAAAAAAAALSBAAAAADg5NDY3NDFjNTU1YTBjNDUxNWQ4Lmpzb25QSwECPwMUAAAICACyUVBXjj925HkMAAAGpwAAGQAAAAAAAAAAAAAAtIEaBAAAMjNiODliNjhlMTc1YjIwN2EwMzkuanNvblBLAQI/AxQAAAgIALJRUFfxYSi2/AgAAPxeAAAZAAAAAAAAAAAAAAC0gcoQAAA2ZmNmNDMzZjAxOGZmNzhkNmEzYS5qc29uUEsBAj8DFAAACAgAslFQV6gqca4mAwAA4Q4AAAsAAAAAAAAAAAAAALSB/RkAAHJlcG9ydC5qc29uUEsFBgAAAAAEAAQADgEAAEwdAAAAAA=="; \ No newline at end of file diff --git a/apps/pwabuilder/tests/report-card.spec.ts b/apps/pwabuilder/tests/report-card.spec.ts index 6da62bdbf..a17f18338 100644 --- a/apps/pwabuilder/tests/report-card.spec.ts +++ b/apps/pwabuilder/tests/report-card.spec.ts @@ -37,45 +37,6 @@ test('ensure demo app is testable', async ({ page }) => { await expect(reportCardAppTitle).toHaveText('Webboard'); }); - -test('ensure scores are correct for demo app', async ({ page }) => { - // find the button with the text "Login" - const demoButton = page.locator('id=demo-action'); - - // click demo button to start new test - await demoButton.click(); - - // wait for network to be done - await page.waitForLoadState('networkidle'); - - // wait on url to contain /reportcard - await page.waitForURL(/\/reportcard/); - - // wait for tests to end - await page.waitForLoadState('networkidle'); - - // test manifest score - const manifestScore = await page.evaluate(() => { - const selector = document.querySelector("body > app-index")?.shadowRoot?.querySelector("#router-outlet > app-report")?.shadowRoot?.querySelector("#manifestProgressRing") - return selector?.textContent; - }); - await expect(manifestScore).toContain('22 / 29'); - - // test service worker score - const serviceWorkerScore = await page.evaluate(() => { - const selector = document.querySelector("body > app-index")?.shadowRoot?.querySelector("#router-outlet > app-report")?.shadowRoot?.querySelector("#swProgressRing") - return selector?.textContent; - }); - await expect(serviceWorkerScore).toContain('1'); - - // test security score - const securityScore = await page.evaluate(() => { - const selector = document.querySelector("body > app-index")?.shadowRoot?.querySelector("#router-outlet > app-report")?.shadowRoot?.querySelector("#secProgressRing") - return selector?.textContent; - }); - await expect(securityScore).toContain('3'); -}) - test('ensure Package For Stores button is not disabled for demo app', async ({ page }) => { // find the button with the text "Login" const demoButton = page.locator('id=demo-action');