tock / ai.tock.bot.test.junit / TockJUnit5ExtensionBase / selectElementChoice

selectElementChoice

fun selectElementChoice(busMockLog: BotBusMockLog, elementIndex: Int, buttonTitle: String, tests: BotBusMock.() -> Unit): BotBusMock (source)

Sends a message simulating a click on action of an element in previous bus log and execute the tests.