Skip to content
Commit e3de3b68 authored by Elliot Sisteron's avatar Elliot Sisteron
Browse files

Replace UI clicks on notifications by assertions.

We can check if the notification has auto-cancel set on it,
without us having to rely on opening the tray and actually clicking
the notification.

The latter can be quite flaky because if notifications are collpased,
additional care needs to be taken to uncollapse them prior to clicking
them. UI testing in general is also less reliable.

Also added the UI specific rules, since the notifications are opening
the Safety Center UI at times, as a side effect of clicking these
notifications.

Bug: 292089550
Test: atest SafetyCenterNotificationTest
Relnote: N/A
Change-Id: I9d851974d5a1f7922d50985e45236db190f4438f
parent b383eb04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment