user3536057
user3536057

Reputation: 219

UITableViewCell UI Testing

I am trying to check the background colour of an UIImageView I have in a custom UITableViewCell in UI tests. I have tried looking online everywhere but can't seem to find an actual answer to doing this. Is this possible?

Upvotes: 0

Views: 128

Answers (1)

Coach Roebuck
Coach Roebuck

Reputation: 1034

I reviewed the XCUIElement Class Reference. The ability to observe colors aren't exposed to us for functional testing.

Refer to this link, which provides an alternative to your situation.

I know this isn't the answer you're looking for, but I hope it helps.

Upvotes: 1

Related Questions