Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Settings for E2E Test #77

Open
joshgav opened this issue Apr 24, 2015 · 1 comment
Open

Settings for E2E Test #77

joshgav opened this issue Apr 24, 2015 · 1 comment
Assignees

Comments

@joshgav
Copy link
Contributor

joshgav commented Apr 24, 2015

It's unclear where to set URLs and Client IDs for the E2E app. @ovenado and I were only able to get OneNote tests working by manually setting these values from within the app, at least when starting completely from scratch after uninstalling. Can you reproduce? If so, which exact file should be modified to set config at compile time?

Thanks!

@marcote marcote added this to the Immediate milestone Apr 25, 2015
@anihojnadel
Copy link
Contributor

Settings can be set up manually from the settings section within the app, or by using the general_settings.xml file.
This file is used as default initialization for preferences. Only the first time you run the app, it calls PreferenceManager.setDefaultValues and uses all the settings form the xml as starting point.
If you started the app and didn't change the placeholders from the xml, those will be set and then you'll need to manually update the values from within the app.

It was defined this way because we didn't want to override settings the user changed manually from the settings page but also we wanted some easy way to set the values automatically.

@joshgav If you want, I could add another setting like "AlwaysOverride" and if it's true, update the settings with the xml values each time the app is started.

@joshgav joshgav removed this from the Immediate milestone May 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants