Commit c8e77aa79f
Verified · cmc
Layout: unified · split
gitbayUITests/LiveSmokeUITests.swift +7 −7
| @@ -1276,6 +1276,13 @@ extension LiveSmokeUITests { | |||
| 1276 | "org memberships missing") | 1276 | "org memberships missing") |
| 1277 | XCTAssertTrue(app.staticTexts["krz"].firstMatch.exists, "org row missing") | 1277 | XCTAssertTrue(app.staticTexts["krz"].firstMatch.exists, "org row missing") |
| 1278 | 1278 | ||
| 1279 | // --- an org admin can edit the org's profile --- | ||
| 1280 | app.staticTexts["krz"].firstMatch.tap() | ||
| 1281 | XCTAssertTrue(app.descendants(matching: .any) | ||
| 1282 | .matching(identifier: "profile-edit-button").firstMatch | ||
| 1283 | .waitForExistence(timeout: 15), "org profile offers no edit to its admin") | ||
| 1284 | back() | ||
| 1285 | |||
| 1279 | // --- saving the profile succeeds: profile set takes no about flags --- | 1286 | // --- saving the profile succeeds: profile set takes no about flags --- |
| 1280 | let edit = app.descendants(matching: .any) | 1287 | let edit = app.descendants(matching: .any) |
| 1281 | .matching(identifier: "profile-edit-button").firstMatch | 1288 | .matching(identifier: "profile-edit-button").firstMatch |
| @@ -1296,13 +1303,6 @@ extension LiveSmokeUITests { | |||
| 1296 | XCTAssertTrue(scrollTo(aboutAction), | 1303 | XCTAssertTrue(scrollTo(aboutAction), |
| 1297 | "own profile offers neither editing nor creating the about file") | 1304 | "own profile offers neither editing nor creating the about file") |
| 1298 | 1305 | ||
| 1299 | // --- an org admin can edit the org's profile --- | ||
| 1300 | app.staticTexts["krz"].firstMatch.tap() | ||
| 1301 | XCTAssertTrue(app.descendants(matching: .any) | ||
| 1302 | .matching(identifier: "profile-edit-button").firstMatch | ||
| 1303 | .waitForExistence(timeout: 15), "org profile offers no edit to its admin") | ||
| 1304 | back() | ||
| 1305 | |||
| 1306 | // The graph and the repositories sit below the orgs and links, | 1306 | // The graph and the repositories sit below the orgs and links, |
| 1307 | // and a List does not build rows it has not shown. | 1307 | // and a List does not build rows it has not shown. |
| 1308 | XCTAssertTrue(scrollTo(app.staticTexts | 1308 | XCTAssertTrue(scrollTo(app.staticTexts |