Commit 29b32e9056

29b32e905645b0531b0b908bd84d1da1502c3906

parent: 77544ccaf2

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-22 23:09 UTC

live suite: a non-admin is not offered Admin

Layout: unified · split

gitbayUITests/LiveSmokeUITests.swift +4
@@ -1285,6 +1285,10 @@ extension LiveSmokeUITests {
1285 menu.tap() 1285 menu.tap()
1286 XCTAssertTrue(app.buttons["Keys & Email"].firstMatch.waitForExistence(timeout: 5), 1286 XCTAssertTrue(app.buttons["Keys & Email"].firstMatch.waitForExistence(timeout: 5),
1287 "keys not in the account menu") 1287 "keys not in the account menu")
1288 // ios-smoke is not an instance admin.
1289 XCTAssertFalse(app.descendants(matching: .any)
1290 .matching(identifier: "account-menu-admin").firstMatch.exists,
1291 "a non-admin is offered Admin")
1288 app.tap() // dismiss the menu; the profile is already on screen 1292 app.tap() // dismiss the menu; the profile is already on screen
1289 1293
1290 // --- a profile is a profile: description, links, orgs, graph, repos --- 1294 // --- a profile is a profile: description, links, orgs, graph, repos ---