mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-03 12:37:31 +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",
|
||||
'coreTesting' : "androidx.arch.core:core-testing:2.1.0",
|
||||
'testCore' : "androidx.test:core:$androidxTest",
|
||||
'orchestrator' : "androidx.test:orchestrator:$androidxTest",
|
||||
'testRunner' : "androidx.test:runner:$androidxTest",
|
||||
'testRules' : "androidx.test:rules:$androidxTest",
|
||||
'espressoCore' : "androidx.test.espresso:espresso-core:$espresso",
|
||||
|
@ -179,5 +179,5 @@ dependencies {
|
||||
// Plant Timber tree for test
|
||||
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') {
|
||||
exclude group: 'org.jetbrains.kotlin'
|
||||
}
|
||||
androidTestUtil libs.androidx.orchestrator
|
||||
}
|
||||
|
@ -283,6 +283,7 @@ class UiAllScreensSanityTest {
|
||||
clickListItem(R.id.matrixProfileRecyclerView, 9)
|
||||
// File tab
|
||||
clickOn(R.string.uploads_files_title)
|
||||
sleep(1000)
|
||||
pressBack()
|
||||
|
||||
assertDisplayed(R.id.roomProfileAvatarView)
|
||||
@ -334,6 +335,7 @@ class UiAllScreensSanityTest {
|
||||
private fun navigateToRoomPeople() {
|
||||
// Open first user
|
||||
clickListItem(R.id.roomSettingsRecyclerView, 1)
|
||||
sleep(1000)
|
||||
assertDisplayed(R.id.memberProfilePowerLevelView)
|
||||
|
||||
// Verification
|
||||
@ -342,8 +344,9 @@ class UiAllScreensSanityTest {
|
||||
|
||||
// Role
|
||||
clickListItem(R.id.matrixProfileRecyclerView, 3)
|
||||
sleep(1000)
|
||||
clickDialogNegativeButton()
|
||||
|
||||
sleep(1000)
|
||||
clickBack()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user