-
-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plugin): coverage with WebDriver - devtools (#4349)
- Loading branch information
1 parent
8018aa2
commit b405a36
Showing
5 changed files
with
103 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
const TestHelper = require('../support/TestHelper'); | ||
|
||
module.exports.config = { | ||
tests: './*_test.js', | ||
timeout: 10000, | ||
output: './output', | ||
helpers: { | ||
WebDriver: { | ||
url: TestHelper.siteUrl(), | ||
browser: 'Chromium', | ||
windowSize: '500x700', | ||
devtoolsProtocol: true, | ||
waitForTimeout: 5000, | ||
capabilities: { | ||
chromeOptions: { | ||
args: ['--headless', '--disable-gpu', '--window-size=500,700'], | ||
}, | ||
}, | ||
}, | ||
ScreenshotSessionHelper: { | ||
require: '../support/ScreenshotSessionHelper.js', | ||
outputPath: './output', | ||
}, | ||
Expect: {}, | ||
}, | ||
include: {}, | ||
mocha: {}, | ||
name: 'acceptance', | ||
plugins: { | ||
screenshotOnFail: { | ||
enabled: true, | ||
}, | ||
coverage: { | ||
enabled: true, | ||
debug: true, | ||
name: 'CodeceptJS Coverage Report', | ||
sourceFilter: '**/src/**', | ||
sourcePath: { | ||
'todomvc-react/': '', | ||
'todomvc.com/examples/react/': '', | ||
}, | ||
outputDir: 'output/coverage', | ||
}, | ||
}, | ||
gherkin: { | ||
features: './gherkin/*.feature', | ||
steps: ['./gherkin/steps.js'], | ||
}, | ||
}; |
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