-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(@wdio/cli): improve bootstrap ElectronJS project (#11523)
* Revert "(@wdio/protocols): revert command name change" This reverts commit daeb031. * (@wdio/cli): improve bootstrap ElectronJS project
- Loading branch information
1 parent
963b578
commit 496f30a
Showing
4 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import { browser } from '@wdio/globals' | ||
|
||
describe('Electron Testing', () => { | ||
it('should print application metadata', async () => { | ||
const appName = await browser.electron.app('getName') | ||
const appVersion = await browser.electron.app('getVersion') | ||
console.log('Testing Electron app:', appName, appVersion) | ||
it('should print application title', async () => { | ||
console.log('Hello', await browser.getTitle(), 'application!') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters