openNotifications() and closeNotifications() issues

With two or three notification items present …

On Nexus 5X and Pixel XL (both 7.1.2)

  1. Using the Mobile keywords for openNotifications(), the Notification panel does not fully open. (Workaround – call openNotifications() twice)

  2. The closeNotifications() keyword doesn’t report any issues, but the Notification panel itself doesn’t close. (Note: pressHome(), pressBack(), or androidDriver.startActivity(myActivity does not successfully close the notification bar, either.)

On Nexus 7 (6.0.0)

  1. openNotifications() seems to work fine as is.
  2. closeNotifications() fails outright with message: Cannot close notifications (Root cause: org.openqa.selenium.interactions.InvalidCoordinatesException: The coordinates provided to an interactions operation are invalid. (WARNING: The server did not provide any stacktrace information)

Anyone else dealing with or working around these issues?

Mac 10.13.3, Katalon 5.4.1 (build 1), Appium 1.7.2

Screengrabs:

  • 7.1.2 bug (half open notification that remains open after closeNotifications()
  • 7.1.2 with manually opened notification panel
  • 6.0.0 fail from Katalon

Screen Shot 2018-05-15 at 10.49.59 AM.png

Screen Shot 2018-05-15 at 10.46.35 AM.png

Screen Shot 2018-05-15 at 11.06.29 AM.png