Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

allow setting of user data dir #3656

Merged
merged 1 commit into from
Sep 2, 2016
Merged

allow setting of user data dir #3656

merged 1 commit into from
Sep 2, 2016

Conversation

bridiver
Copy link
Collaborator

@bridiver bridiver commented Sep 2, 2016

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Ran git rebase -i to squash commits if needed.

use a different user data dir for each test run
refactor autofill tests
fixes #3618

process.env.USER_DATA_DIR = path.join(app.getPath('appData'), app.getName() + '-' + process.env.NODE_ENV)
}

if (process.env.USER_DATA_DIR) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually sorry, I think we should prefix this env var with BRAVE. There's a chance this will be defined on some people's machines already and cause problems.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, np

use a different user data dir for each test run
refactor autofill tests
fixes #3618
@bbondy
Copy link
Member

bbondy commented Sep 2, 2016

++

@bbondy bbondy merged commit 6cbf08b into master Sep 2, 2016
@luixxiul luixxiul modified the milestones: 0.12.1dev, 0.12.0dev Sep 16, 2016
@bbondy bbondy deleted the user-data-dir branch September 23, 2016 00:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some autofill automated tests are failing
3 participants