mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-09 08:38:43 +01:00
Merge pull request #4071 from vector-im/tools/adm/connected_tests
Fixing no tests found when running vector:connectedAndroidTest
This commit is contained in:
commit
1b262a4df8
@ -60,6 +60,7 @@ ext.libs = [
|
|||||||
'pagingRuntimeKtx' : "androidx.paging:paging-runtime-ktx:2.1.2",
|
'pagingRuntimeKtx' : "androidx.paging:paging-runtime-ktx:2.1.2",
|
||||||
'coreTesting' : "androidx.arch.core:core-testing:2.1.0",
|
'coreTesting' : "androidx.arch.core:core-testing:2.1.0",
|
||||||
'testCore' : "androidx.test:core:$androidxTest",
|
'testCore' : "androidx.test:core:$androidxTest",
|
||||||
|
'orchestrator' : "androidx.test:orchestrator:$androidxTest",
|
||||||
'testRunner' : "androidx.test:runner:$androidxTest",
|
'testRunner' : "androidx.test:runner:$androidxTest",
|
||||||
'testRules' : "androidx.test:rules:$androidxTest",
|
'testRules' : "androidx.test:rules:$androidxTest",
|
||||||
'espressoCore' : "androidx.test.espresso:espresso-core:$espresso",
|
'espressoCore' : "androidx.test.espresso:espresso-core:$espresso",
|
||||||
|
@ -179,5 +179,5 @@ dependencies {
|
|||||||
// Plant Timber tree for test
|
// Plant Timber tree for test
|
||||||
androidTestImplementation libs.tests.timberJunitRule
|
androidTestImplementation libs.tests.timberJunitRule
|
||||||
|
|
||||||
androidTestUtil 'androidx.test:orchestrator:1.4.0'
|
androidTestUtil libs.androidx.orchestrator
|
||||||
}
|
}
|
||||||
|
@ -511,4 +511,5 @@ dependencies {
|
|||||||
androidTestImplementation('com.adevinta.android:barista:4.1.0') {
|
androidTestImplementation('com.adevinta.android:barista:4.1.0') {
|
||||||
exclude group: 'org.jetbrains.kotlin'
|
exclude group: 'org.jetbrains.kotlin'
|
||||||
}
|
}
|
||||||
|
androidTestUtil libs.androidx.orchestrator
|
||||||
}
|
}
|
||||||
|
@ -283,6 +283,7 @@ class UiAllScreensSanityTest {
|
|||||||
clickListItem(R.id.matrixProfileRecyclerView, 9)
|
clickListItem(R.id.matrixProfileRecyclerView, 9)
|
||||||
// File tab
|
// File tab
|
||||||
clickOn(R.string.uploads_files_title)
|
clickOn(R.string.uploads_files_title)
|
||||||
|
sleep(1000)
|
||||||
pressBack()
|
pressBack()
|
||||||
|
|
||||||
assertDisplayed(R.id.roomProfileAvatarView)
|
assertDisplayed(R.id.roomProfileAvatarView)
|
||||||
@ -334,6 +335,7 @@ class UiAllScreensSanityTest {
|
|||||||
private fun navigateToRoomPeople() {
|
private fun navigateToRoomPeople() {
|
||||||
// Open first user
|
// Open first user
|
||||||
clickListItem(R.id.roomSettingsRecyclerView, 1)
|
clickListItem(R.id.roomSettingsRecyclerView, 1)
|
||||||
|
sleep(1000)
|
||||||
assertDisplayed(R.id.memberProfilePowerLevelView)
|
assertDisplayed(R.id.memberProfilePowerLevelView)
|
||||||
|
|
||||||
// Verification
|
// Verification
|
||||||
@ -342,8 +344,9 @@ class UiAllScreensSanityTest {
|
|||||||
|
|
||||||
// Role
|
// Role
|
||||||
clickListItem(R.id.matrixProfileRecyclerView, 3)
|
clickListItem(R.id.matrixProfileRecyclerView, 3)
|
||||||
|
sleep(1000)
|
||||||
clickDialogNegativeButton()
|
clickDialogNegativeButton()
|
||||||
|
sleep(1000)
|
||||||
clickBack()
|
clickBack()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user