Skip to content

Commit 8e4090f

Browse files
authored
refactor: output webdriverio logs to tests/e2e/logs (#5753)
This allows us to have a more accurate path to specify in .gitignore
1 parent d39d95c commit 8e4090f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/@vue/cli-plugin-e2e-webdriverio/generator/template/wdio.shared.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ exports.config = {
3131
logLevel: 'trace',
3232
//
3333
// Set directory to store all logs into
34-
outputDir: path.join(__dirname, '/logs'),
34+
outputDir: path.join(__dirname, 'test/e2e/logs'),
3535
//
3636
// If you only want to run your tests until a specific amount of tests have failed use
3737
// bail (default is 0 - don't bail, run all tests).

packages/@vue/cli-service/generator/template/_gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ geckodriver.log
1414
/tests/e2e/screenshots/
1515
<%_ } _%>
1616

17+
<%_ if (rootOptions.plugins && rootOptions.plugins['@vue/cli-plugin-e2e-webdriverio']) { _%>
18+
19+
/tests/e2e/logs/
20+
<%_ } _%>
21+
1722
# local env files
1823
.env.local
1924
.env.*.local

0 commit comments

Comments
 (0)