SHA256
feat(ios): implement SwiftUI companion with isolated WKWebView sessions
Add HTTPS onboarding, origin policy, native recovery/settings, isolated web sign-in and file export. Portable production URL policy tests pass on Linux; all Swift sources parse. Xcode build and simulator validation remain required on macOS.
This commit is contained in:
1 parent
ed8d5cb1c1
commit
74c2c9e6e8
11 files changed
+691
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import XCTest
|
||||
|
||||
final class OnboardingTests: XCTestCase {
|
||||
func testRejectsCleartextWithoutNetwork() {
|
||||
let app = XCUIApplication()
|
||||
app.launch()
|
||||
let field = app.textFields["Yuvomi 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))
|
||||
XCTAssertTrue(field.exists)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user