Commit e3f0df01 authored by Grisha Kruglov's avatar Grisha Kruglov Committed by Grisha Kruglov
Browse files

Update Settings About test to account for debug builds

parent 0e47f55c
......@@ -92,7 +92,11 @@ private fun assertProductCompany() {
private fun assertCurrentTimestamp() {
onView(withId(R.id.build_date))
.check(BuildDateAssertion.isDisplayedDateAccurate())
// Currently UI tests run against debug builds, which display a hard-coded string 'debug build'
// instead of the date. See https://github.com/mozilla-mobile/fenix/pull/10812#issuecomment-633746833
.check(matches(withText(containsString("debug build"))))
// This assertion should be valid for non-debug build types.
// .check(BuildDateAssertion.isDisplayedDateAccurate())
}
private fun assertWhatIsNewInFirefoxPreview() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment