10000 Question on how I can retrieve the actual value of a field for some custom assertions · Issue #24 · KakaoCup/Compose · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Question on how I can retrieve the actual value of a field for some custom assertions #24
Open
@braindonor

Description

@braindonor

Hi,`

I'd like to perform some custom assertions on a field such as the one in the example code below. I'm sorry if this is an obvious question, but I've been unsuccessful in my attempts to assign a variable to the contents of the "testNumber" field.

     private val testNumber: KNode = onNode {
           hasTestTag("test_number")
           hasPosition(0)
           useUnmergedTree = true
      }

      testNumber {
            assertIsDisplayed()
            assertTextEquals(number)
      }

Many thanks,

Pentti

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0