SHA256
feat(ios): replace embedded website with initial native SwiftUI API client
Introduce real SwiftUI auth/dashboard/task/note/shopping screens, a bounded origin-bound URLSession transport and Keychain-backed native sessions. Archive the rejected WebKit renderer rather than embedding it for unfinished modules. Sixteen portable URL/contract/transport tests and Swift format/parsing pass on Linux; Apple SDK application and UI validation remains mandatory. This is an incomplete native slice, not full PWA parity or a release.
This commit is contained in:
1 parent
11bf4ca620
commit
97570b7fdf
15 files changed
+1182
-11
No files matched your search
@@ -4,12 +4,13 @@ final class OnboardingTests: XCTestCase {
|
||||
func testRejectsCleartextWithoutNetwork() {
|
||||
let app = XCUIApplication()
|
||||
app.launch()
|
||||
let field = app.textFields["Yuvomi server URL"]
|
||||
let field = app.textFields["server-url"]
|
||||
XCTAssertTrue(field.waitForExistence(timeout: 5))
|
||||
field.tap()
|
||||
field.typeText("http://family.example")
|
||||
app.buttons["Connect securely"].tap()
|
||||
XCTAssertTrue(app.staticTexts["connectionError"].waitForExistence(timeout: 3))
|
||||
app.buttons["connect"].tap()
|
||||
XCTAssertTrue(app.staticTexts["invalid-server"].waitForExistence(timeout: 3))
|
||||
XCTAssertTrue(field.exists)
|
||||
XCTAssertEqual(app.webViews.count, 0)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user