agoda-com / Kakao

This repo is no longer supported. Please visit a https://github.com/KakaoCup/Kakao
Apache License 2.0
1.11k stars 102 forks source link

Misleading readme? #225

Closed OliverCulleyDeLange closed 4 years ago

OliverCulleyDeLange commented 4 years ago

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 4 years ago

Thanks for notice

Unlimity commented 4 years ago

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