Compare commits
1 Commits
6626784e8b
...
cf5d89452a
Author | SHA1 | Date | |
---|---|---|---|
cf5d89452a |
@ -38,10 +38,14 @@ jobs:
|
|||||||
- name: Change url until I find a better way to do it
|
- name: Change url until I find a better way to do it
|
||||||
run: |
|
run: |
|
||||||
sed -i "s/val defaultUrl = \"http:\/\/10\.0\.2\.2\:8888\"/val defaultUrl = \"http:\/\/172\.17\.0\.1\:8888\"/g" ./androidApp/src/androidTest/kotlin/bou/amine/apps/readerforselfossv2/android/CommonTests.kt
|
sed -i "s/val defaultUrl = \"http:\/\/10\.0\.2\.2\:8888\"/val defaultUrl = \"http:\/\/172\.17\.0\.1\:8888\"/g" ./androidApp/src/androidTest/kotlin/bou/amine/apps/readerforselfossv2/android/CommonTests.kt
|
||||||
|
- name: AVD kedavra
|
||||||
|
run: |
|
||||||
|
avdmanager list device
|
||||||
- name: Tests
|
- name: Tests
|
||||||
uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
with:
|
with:
|
||||||
api-level: 29
|
api-level: 29
|
||||||
|
profile: Pixel 7a
|
||||||
script: |
|
script: |
|
||||||
./gradlew androidApp:clearScreenshotsTask || true
|
./gradlew androidApp:clearScreenshotsTask || true
|
||||||
./gradlew androidApp:createScreenshotDirectory
|
./gradlew androidApp:createScreenshotDirectory
|
||||||
|
@ -50,6 +50,7 @@ class SourcesActivity :
|
|||||||
|
|
||||||
override fun onResume() {
|
override fun onResume() {
|
||||||
super.onResume()
|
super.onResume()
|
||||||
|
CountingIdlingResourceSingleton.increment()
|
||||||
val mLayoutManager = LinearLayoutManager(this)
|
val mLayoutManager = LinearLayoutManager(this)
|
||||||
|
|
||||||
var items: ArrayList<SelfossModel.SourceDetail>
|
var items: ArrayList<SelfossModel.SourceDetail>
|
||||||
@ -57,7 +58,6 @@ class SourcesActivity :
|
|||||||
binding.recyclerView.setHasFixedSize(true)
|
binding.recyclerView.setHasFixedSize(true)
|
||||||
binding.recyclerView.layoutManager = mLayoutManager
|
binding.recyclerView.layoutManager = mLayoutManager
|
||||||
|
|
||||||
CountingIdlingResourceSingleton.increment()
|
|
||||||
CoroutineScope(Dispatchers.IO).launch {
|
CoroutineScope(Dispatchers.IO).launch {
|
||||||
val response = repository.getSourcesDetails()
|
val response = repository.getSourcesDetails()
|
||||||
CountingIdlingResourceSingleton.increment()
|
CountingIdlingResourceSingleton.increment()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user