New issue
Advanced search Search tips

Issue 703249 link

Starred by 1 user

Issue metadata

Status: Available
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

EarlGrey: Need a way to simulate bad network / Airplane mode

Project Member Reported by olivierrobin@chromium.org, Mar 20 2017

Issue description

To test reading list loading with EarlGrey, it would help to be able to set device (or fake) in airplane mode.

Is there a way to do it?
 

Comment 1 by baxley@chromium.org, Jun 12 2017

Sorry for the delay, I missed this one.  Is this still needed?

For EG, we can't easily turn airplane mode on or off.

Franky could help here, but it isn't running in the lab yet.

Are there ways we could fake it so the application thinks there's no network?
It is still needed, yes.
Any workaround would change the path and not test the exact functionality.
We wrote some tests for Reading list, but we cannot be sure the behavior is exactly WAI in poor network.

Comment 3 by baxley@chromium.org, Nov 21 2017

Components: -Test>iOS Tests
Status: Available (was: Assigned)

Comment 4 by baxley@chromium.org, Nov 21 2017

Cc: baxley@chromium.org
Owner: ----
Project Member

Comment 5 by sheriffbot@chromium.org, Nov 22

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -baxley@chromium.org
Owner: linds...@chromium.org
Status: Available (was: Untriaged)
Hey Lindsay, do you know a better owner for this?  I would suspect that we could test this using a custom http server, but that would need to be explicitly written into the test.  I think this bug is more about running entire test suites with poor connectivity/airplane mode.
We just need a helper to access the control panel and put the phone into airplane mode and take it out of that after the test is done. This will be feasible in EG2.

Sign in to add a comment