Skip to content

Commit 73b7d23

Browse files
Remove argos from desktop-e2e-linux (#2182)
* Remove argos from desktop-e2e-linux Co-Authored-By: yujonglee <[email protected]> * Update pnpm-lock.yaml after removing argos dependencies Co-Authored-By: yujonglee <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: yujonglee <[email protected]>
1 parent 4962409 commit 73b7d23

File tree

5 files changed

+0
-99
lines changed

5 files changed

+0
-99
lines changed

.github/actions/desktop-e2e-linux/action.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ inputs:
88
description: Rust target triple for the build
99
required: false
1010
default: x86_64-unknown-linux-gnu
11-
argos_token:
12-
description: Argos CI token for uploading screenshots
13-
required: false
1411
runs:
1512
using: composite
1613
steps:
@@ -36,8 +33,3 @@ runs:
3633
run: pnpm -F desktop-e2e test
3734
env:
3835
APP_BINARY_PATH: ${{ env.APP_BINARY_PATH }}
39-
- name: Upload screenshots to Argos
40-
if: ${{ inputs.argos_token != '' }}
41-
shell: bash
42-
run: pnpm -F desktop-e2e exec argos upload --token ${{ inputs.argos_token }} --build-name desktop screenshots
43-
working-directory: ${{ github.workspace }}/apps/desktop-e2e

.github/workflows/desktop_cd.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ jobs:
243243
with:
244244
channel: ${{ inputs.channel }}
245245
target_triple: x86_64-unknown-linux-gnu
246-
argos_token: ${{ secrets.ARGOS_TOKEN }}
247246
- if: ${{ inputs.channel != 'staging' }}
248247
uses: ./.github/actions/cn_release
249248
with:

apps/desktop-e2e/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"test": "wdio run wdio.conf.js"
88
},
99
"devDependencies": {
10-
"@argos-ci/cli": "^3.1.0",
11-
"@argos-ci/webdriverio": "^0.4.0",
1210
"@wdio/cli": "8.40.6",
1311
"@wdio/globals": "8.40.6",
1412
"@wdio/local-runner": "8.40.6",

apps/desktop-e2e/test/app.spec.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { argosScreenshot } from "@argos-ci/webdriverio";
21
import { browser, expect } from "@wdio/globals";
32

43
describe("Hyprnote Desktop App", () => {
@@ -11,8 +10,4 @@ describe("Hyprnote Desktop App", () => {
1110
const windowHandles = await browser.getWindowHandles();
1211
expect(windowHandles.length).toBeGreaterThan(0);
1312
});
14-
15-
it("should capture main window screenshot", async () => {
16-
await argosScreenshot(browser, "main-window");
17-
});
1813
});

pnpm-lock.yaml

Lines changed: 0 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)