Skip to content

Commit ef1f91d

Browse files
committed
tmp: debug ui test
1 parent a610d90 commit ef1f91d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

firefox-ios/firefox-ios-tests/Tests/XCUITests/LoginsTests.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@ class LoginTest: BaseTestCase {
121121
openLoginsSettings()
122122
mozWaitForElementToExist(app.tables["Login List"])
123123
mozWaitForElementToExist(app.staticTexts[domain])
124+
print("[issam] Debug: Total cells count: \(app.tables["Login List"].cells.count)")
125+
126+
for (index, cell) in app.tables["Login List"].cells.allElementsBoundByIndex.enumerated() {
127+
let cellText = cell.staticTexts.allElementsBoundByIndex.map { $0.label }.joined(separator: ", ")
128+
print("[issam] Debug: Cell \(index) contains: \(cellText)")
129+
}
130+
124131
// XCTAssertTrue(app.staticTexts[domainSecondLogin].exists)
125132
// Workaround for Bitrise specific issue. "vagrant" user is used in Bitrise.
126133
if (ProcessInfo.processInfo.environment["HOME"]!).contains(String("vagrant")) {

0 commit comments

Comments
 (0)