KakaoCup / Kakao

Nice and simple DSL for Espresso in Kotlin

Home Page:https://kakaocup.github.io/Kakao/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question on the use of the Awaitility library with Kakao

braindonor opened this issue · comments

Hi,

This a question, rather than a bug. Is there some way I could extend Kakao (+Kakao Compose) to implement the Awaitility library ? At the moment, I need to add code like this below which pollutes my test code somewhat. I'd like to hide the await.atMost statements from the test code.

The app I'm testing needs a hybrid of Espresso, Compose and UIAutomator and I use different Page Object implementations depending on the view I'm automating.

       await.atMost(TEN_SECONDS).untilAsserted {
            filesCheckedTitle {
                assertIsDisplayed()
                assertTextEquals(title.value)
            }
        }

Thanks,

Pentti

@braindonor hey mate. As a main concept of Kakao is being a DSL wrapper over espresso. Probably you can look on Kaspresso what providing additional sugaring around Kakao.

Inactivity close