Skip to content

스낵바가 보이는지 확인하는 테스트가 불안정함 #198

@jja08111

Description

@jja08111

아래의 스낵바를 이용하여 assertion하는 테스트가 가끔 실패함.

> Task :presentation:connectedDebugAndroidTest
[578](https://github.com/hansung-pocs/blog-android/runs/7994045681?check_suite_focus=true#step:7:582)
Starting 79 tests on test(AVD) - 6.0
[579](https://github.com/hansung-pocs/blog-android/runs/7994045681?check_suite_focus=true#step:7:583)

[580](https://github.com/hansung-pocs/blog-android/runs/7994045681?check_suite_focus=true#step:7:584)
com.pocs.presentation.PostFragmentTest > shouldShowNoPermissionSnackBar_WhenAnonymousClickNonQnaPost[test(AVD) - 6.0] FAILED 
[581](https://github.com/hansung-pocs/blog-android/runs/7994045681?check_suite_focus=true#step:7:585)
	androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: an instance of android.widget.TextView and view.getText() equals string from resource id: <2131951662> [can_see_only_member] value: 회원만 열람할 수 있습니다.
[582](https://github.com/hansung-pocs/blog-android/runs/7994045681?check_suite_focus=true#step:7:586)
	
[583](https://github.com/hansung-pocs/blog-android/runs/7994045681?check_suite_focus=true#step:7:587)
Tests on test(AVD) - 6.0 failed: There was 1 failure(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2일반적인 버그, 추가될 가능성인 높은 기능 요청flaky불안정한 테스트

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions