Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
fenix
Commits
e3f0df01
Commit
e3f0df01
authored
May 25, 2020
by
Grisha Kruglov
Committed by
Grisha Kruglov
May 25, 2020
Browse files
Update Settings About test to account for debug builds
parent
0e47f55c
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuAboutRobot.kt
View file @
e3f0df01
...
...
@@ -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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment