Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test if builds are run on correct devices #176

Open
janpio opened this issue Jun 29, 2019 · 0 comments · May be fixed by #178
Open

Test if builds are run on correct devices #176

janpio opened this issue Jun 29, 2019 · 0 comments · May be fixed by #178

Comments

@janpio
Copy link
Member

janpio commented Jun 29, 2019

Currently we just tell Travis in the config what platforms/devices to run on, and then hope that paramedic works as designed and the tests are actually run on the correct device/platform.

This leads to problems like #163 where this is not true and we are relying on wrong information.

Maybe we can somehow write some tests that check if a run actually uses the correct device and OS version? https://github.com/apache/cordova-plugin-device could return platform and version, maybe also the model.

The wanted values are available via the paramedic config (platform, sauceDeviceName, saucePlatformVersion or target). Those could for example be used as a param when installing a plugin or written into a file that the tests compares to.

@janpio janpio changed the title Find out if builds are run on correct devices Test if builds are run on correct devices Jun 29, 2019
@janpio janpio self-assigned this Jun 29, 2019
@janpio janpio linked a pull request Jun 29, 2019 that will close this issue
@janpio janpio removed their assignment Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant