Skip to content

0.7.0

Compare
Choose a tag to compare
@Tunous Tunous released this 15 Aug 15:31
· 17 commits to main since this release
  • Added assertHasCount variant which accepts ranges. For example to check for at least 3 elements use assertHasCount(3...), or to check between 2 and 5 elements use assertHasCount(2..<5).
  • Added extension on CGVector to offset it by normalized x and/or y components: vector.offset(x: 0.2, y: 0.3)
  • Added constants for Springboard XCUIApplication.springborad and Messages XCUIApplication.messages
  • Added extension to perform drag between 2 normalized positions inside of element: element.drag(from: .center, to: .top, pressDuration: 0.1)
  • Added extension to perform press inside of normalized offset of element: element.press(forDuration: 1, withNormalizedOffset: .bottom)
  • Added extension to assert that element is empty (meaning its value is equal to placeholder value): element.assertIsEmpty()