Details
-
New Feature
-
Resolution: Done
-
Neutral
-
None
-
None
-
-
Empty show more show less
Description
So far we have "Alert" and "Notification" - which are both very similar - kind of "free floating bubbles" (with a messsage and possibly with buttons).
See screenshots for examples of banners.
Banners appear when sending message with the Messages app - or when an error occurs which is exposed at the UI. The later case is more important for UI tests.
Developer notes
The class should implement PageObject.
And it should override
void assertExists throws Throwable
AND ...
... as an exception it also would be nice to have a method
void assertDoesNotExists throws Throwable
While at first one may think that to check whether the PO does not exist, in a test we just could write:
!expect().banner().assertExists
BUT ... assertExists typically is implemented in a way that it returns very quickly, when the PO exists, but would wait looong if it does not exist.
Hence - !expect().banner().assertExists - would slow down such a test dramatically.
Checklists
Attachments
Issue Links
- mentioned in
-
Page Loading...