mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1932668 - Fix page content assertions in verifyCalendarFormInteractionsTest r=aaronmt DONTBUILD
Following up from https://bugzilla.mozilla.org/show_bug.cgi?id=1932366 I've fixed the way we assert the date selected on the calendar form to pass regardless of the Fission pref state. Try run https://treeherder.mozilla.org/jobs?repo=try&revision=c77c2cdeda1612c1e010035caad9a48195ad51e5&selectedTaskRun=SNbMopPoTO2FVhoxne0m6g.0 Differential Revision: https://phabricator.services.mozilla.com/D229806
This commit is contained in:
parent
465e5705e7
commit
797d0f4714
@ -725,9 +725,8 @@ class BrowserRobot {
|
||||
|
||||
fun verifyNoDateIsSelected() {
|
||||
val currentDate = LocalDate.now()
|
||||
assertUIObjectExists(
|
||||
itemContainingText("Selected date is: $currentDate"),
|
||||
exists = false,
|
||||
assertTrue(
|
||||
itemContainingText("Selected date is: $currentDate").waitUntilGone(waitingTime)
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user