agoda-com/Kakao

Misleading readme?

Closed this issue · 2 comments

Steps to reproduce:

  1. Read the readme - See that val phone = KView { withId(R.id.phone) } is declared as a KView

  2. Read further down in the readme - See that phone { hasText("971201771") } uses the hasText() matcher

  3. Try it yourself, and wonder why hasText isn't available.

  4. Try changing KView to KTextView and everything works as expected.

Observed Results:

KView does not have a hasText() matcher

Expected Results:

KView should have a hasText() matcher

Am i missing something?

Vacxe commented

Thanks for notice

Thank you for noticing and letting us know! The fix is merged now.