Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Apr 27, 2024
1 parent a9c5ef8 commit 72f34fc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,9 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: 🦊 Setup firefox
id: setup-firefox
uses: browser-actions/setup-firefox@v1
with:
firefox-version: latest
- uses: actions/checkout@v4
- name: 💚 Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- name: 🚧 Install Dependencies
Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"eslint-plugin-unicorn": "^52.0.0",
"geckodriver": ".",
"husky": "^9.0.11",
"locate-app": "^2.4.10",
"npm-run-all2": "^6.1.2",
"octokit": "^3.2.0",
"release-it": "^17.2.1",
Expand Down
5 changes: 1 addition & 4 deletions tests/test.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import waitPort from 'wait-port'
import { remote } from 'webdriverio'
import { locateFirefox } from 'locate-app'

import { download, start } from '../src/index.js'

Expand Down Expand Up @@ -55,16 +54,14 @@ const port = 4444
const cp = await start({ port })

try {
const firefoxPath = await locateFirefox()
await waitPort({ port })
const browser = await remote({
automationProtocol: 'webdriver',
port, // must set port or wdio will automatically start geckodriver
capabilities: {
browserName: 'firefox',
'moz:firefoxOptions': {
args: ['-headless'],
binary: firefoxPath
args: ['-headless']
}
}
})
Expand Down

0 comments on commit 72f34fc

Please sign in to comment.