IUi2Locator allowButton = Ui2Locators.withText("Allow this time");
UiAutomatorUtils.getInstance().click(allowButton);Not a big fan of this, but I will give it a try.
The other flags that "auto accept" permissions use a Fake class which does not communicate with MediaStreamCaptureIndicator (class needed for getting the media signals).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
IUi2Locator allowButton = Ui2Locators.withText("Allow this time");
UiAutomatorUtils.getInstance().click(allowButton);Not a big fan of this, but I will give it a try.
The other flags that "auto accept" permissions use a Fake class which does not communicate with MediaStreamCaptureIndicator (class needed for getting the media signals).
Can you use Espresso for this instead?
`onViewWaiting(withText("Allow this time")).perform(click());`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
IUi2Locator allowButton = Ui2Locators.withText("Allow this time");
UiAutomatorUtils.getInstance().click(allowButton);Calder KitagawaNot a big fan of this, but I will give it a try.
The other flags that "auto accept" permissions use a Fake class which does not communicate with MediaStreamCaptureIndicator (class needed for getting the media signals).
Can you use Espresso for this instead?
`onViewWaiting(withText("Allow this time")).perform(click());`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Media Indicator] Add test for RECORDING
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |