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

Add Fenix sync integration tests to our smoketest suite #2922

Closed
rfk opened this issue Apr 8, 2020 · 3 comments
Closed

Add Fenix sync integration tests to our smoketest suite #2922

rfk opened this issue Apr 8, 2020 · 3 comments

Comments

@rfk
Copy link
Contributor

rfk commented Apr 8, 2020

The Fenix repository contains some basic "live" integration tests for sync-related functionality, which attempt to connect a Fenix and a Desktop device to the same account and confirm that a bookmark/password/whatever can successfully sync between them:

https://github.com/mozilla-mobile/fenix/blob/master/docs/syncIntegrationTests.md

I think these would be a great addition to the smoke-test-fenix.py script, but unfortunately I have not yet been able to get them running reliably on my machine. I'm out of time to debug this further in the current testing-related epic, but wanted to file this issue to revisit another time.

┆Issue is synchronized with this Jira Task
┆Epic: Important backlog

@rfk
Copy link
Contributor Author

rfk commented Apr 9, 2020

The stumbling block I hit most recently here, was when the tests try to launch an emulator, somehow the emulator seems to get "stuck" and they can't run Fenix in it and eventually things time out. I haven't yet dug in to what might be going wrong there.

In a previous iteration, I tried connecting a physical device and running the tests. They seemed to successfully launch and control Fenix on the device. But The tests would fail when trying to sign in to FxA, I think because the screen on my device is too small and the "sign in" button is scrolled off the screen, or something like that.

@data-sync-user data-sync-user changed the title Add Fenix sync integration tests to our smoketest suite Add Fenix sync integration tests to our smoketest suite Apr 9, 2020
@isabelrios
Copy link
Contributor

So, I know this is not ideal, but you need a Pixel_3_API28 installed (see script). Otherwise the sim is not launched...
Tests are not working now due to the issue... mozilla-mobile/firefox-ios#6400
I will let you know once that's fixed...

@mhammond
Copy link
Member

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1865167

Change performed by the Move to Bugzilla add-on.

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

No branches or pull requests

4 participants