Skip to content

Releases: Tunous/XCAppTest

0.7.0

15 Aug 15:31
Compare
Choose a tag to compare
  • 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()

0.6.0

17 Jun 11:10
Compare
Choose a tag to compare
  • Marked tap methods as unavailable for tvOS
  • Added versions of assertion methods that accept Bool parameter

Full Changelog: 0.5.1...0.6.0

0.5.1

17 Jun 11:09
Compare
Choose a tag to compare
  • Added documentation
  • Fixed moveToBackground not being available

Full Changelog: 0.5.0...0.5.1

0.5.0

13 Jun 18:10
Compare
Choose a tag to compare
  • tapWhenReady no longer checks interactivity. Instead it attempts to tap as soon as element becomes available. To wait for hittable flag like previous implementation call waitForInteractivity before tapWhenReady.
  • Fixed package not building for macOS, moveToBackground is not available for it.

Full Changelog: 0.4.1...0.5.0

0.4.1

28 May 17:41
Compare
Choose a tag to compare
  • Extensions on XCUIApplication return self

Full Changelog: 0.4.0...0.4.1

0.4.0

26 May 16:31
Compare
Choose a tag to compare
  • Added tap(withNormalizedOffset:) extension to allow tapping exact point in view.
  • Added normalized offset extensions on CGVector like center, bottomRight to easier specify where to tap
  • Improved default error messages to display full element name instead of "Element" text in assertions

Full Changelog: 0.3.0...0.4.0

0.3.0

07 May 14:07
Compare
Choose a tag to compare
  • Improved assertion logs

Full Changelog: 0.2.1...0.3.0

0.2.1

20 Feb 17:55
Compare
Choose a tag to compare
  • Added slowTypeText as reliable but slower alternative for typeText

0.2.0

04 Feb 11:45
Compare
Choose a tag to compare
  • All assertions now succeed without wait if condition is met when called
  • assertHasLabel, assertContainsText, assertHasValue, assertIsDisabled no longer check if element exists
  • assertIsInteractive and waitForInteractivity now check whether element exists
  • Renamed assertIsNotInteractive to assertIsDisabled
  • Increased timeout for all assertions to 8 seconds
  • Added tapWhenReady for use when element isn’t interactive immediatley

0.1.0

10 Jan 17:20
Compare
Choose a tag to compare
assertHasPlaceholder