python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
I want to understand how i can XCTest that a list of Countries are Sorted
Im writing a UITest to check if a List of Countries populated in my tableview are displayed in ascending order. I am populating the countries from Countries api
The purpose of my UITest is to check th...
BigFire
Votes: 0
Answers: 1
How can i use XCTAssertTrue to check it an Array is sorted
i want to check if a collection is sorted in my UnitTest using XCTest, does swift iOS provide any such framework or method.
let countrieds = ["Alabama","Benin","Alaska",...
BigFire
Votes: 0
Answers: 2
How do I set an accessibility label in SwiftUI while still being able to test the visible text in a UI test?
Suppose I have an element on screen that shows the time left until an event which looks like this:
Time left: 3mo 20d 19h 59min. 21s.
But when using VoiceOver it will read it as
three mo, twenty d,...
Michael Vescovo
Votes: 0
Answers: 0
XCTests are not working properly on M1 MacBook
I purchased M1 MacBook recently and I am not able to run XC UI tests. The app constantly hanging, best case scenario it is able to run 2-3 tests out of 50.
I've tried multiple combinations of excludin...
Eugene Gordin
Votes: 0
Answers: 1