diff --git a/.github/workflows/build-sign-notarize.yml b/.github/workflows/build-sign-notarize.yml index 09a82b5..b246813 100644 --- a/.github/workflows/build-sign-notarize.yml +++ b/.github/workflows/build-sign-notarize.yml @@ -108,10 +108,6 @@ jobs: CSC_NAME: ${{ secrets.APPLE_IDENTITY_NO_PREFIX }} PUBLISH_URL: "https://gui.tea.xyz/dev" - - name: run e2e test on dev build - if: inputs.s3-prefix != 'release' - run: tea -SE xc e2e - # slower build but dmg output is much nicer looking - name: build release if: inputs.s3-prefix == 'release' diff --git a/modules/desktop/package.json b/modules/desktop/package.json index 00e43d4..925e4a5 100644 --- a/modules/desktop/package.json +++ b/modules/desktop/package.json @@ -1,6 +1,6 @@ { "name": "tea", - "version": "0.2.14", + "version": "0.2.15", "private": true, "description": "tea gui app", "author": "tea.xyz", diff --git a/modules/desktop/test/specs/app.e2e.ts b/modules/desktop/test/specs/app.e2e.ts index 16007d3..87f8b59 100644 --- a/modules/desktop/test/specs/app.e2e.ts +++ b/modules/desktop/test/specs/app.e2e.ts @@ -58,15 +58,15 @@ describe("basic smoke test", () => { it("should be able to install specific version", async () => { const { screen, searchTerm } = utils!; - await searchTerm("pnpm.io"); - const pnpmCard = await utils.findSearchPackageCardBySlug("pnpm_io"); - await expect(pnpmCard).toExist(); - pnpmCard.click(); + await searchTerm("grep"); + const grepCard = await utils.findSearchPackageCardBySlug("gnu_org_grep"); + await expect(grepCard).toExist(); + grepCard.click(); await utils.uninstallPackageIfNeeded(); - await utils.installSpecificVersion("pnpm_io", "8.0.0"); + await utils.installSpecificVersion("gnu_org_grep", "3.8.0"); - await utils.verifyAndCloseNotification(/^Package pnpm.io .* has been installed./); + await utils.verifyAndCloseNotification(/^Package gnu.org\/grep .* has been installed./); // Now test the update await utils.goHome(); @@ -77,10 +77,10 @@ describe("basic smoke test", () => { const header = await screen.findByText("available updates"); await expect(header).toExist(); - const updateBtn = await utils.findByTestId("install-button-pnpm_io"); + const updateBtn = await utils.findByTestId("install-button-gnu_org_grep"); await expect(updateBtn).toExist(); updateBtn.click(); - await utils.verifyAndCloseNotification(/^Package pnpm.io .* has been installed./); + await utils.verifyAndCloseNotification(/^Package gnu.org\/grep .* has been installed./); }); }); diff --git a/modules/desktop/wdio.conf.ts b/modules/desktop/wdio.conf.ts index fd6880a..e6fd962 100644 --- a/modules/desktop/wdio.conf.ts +++ b/modules/desktop/wdio.conf.ts @@ -27,7 +27,7 @@ export const config: Options.Testrunner = { browserName: "chrome" // or "firefox", "microsoftedge", "safari" } ], - logLevel: "info", + logLevel: "error", bail: 0, baseUrl: "http://localhost", waitforTimeout: 10000,