Revert "hogar compartido: colaboracion entre cuentas sobre Firestore"

El hogar compartido cambia donde viven los datos, asi que se va a la 3.0 y la
2.x queda para correcciones. El trabajo sigue vivo en la rama 3.0.0 (163fd60).

Importante para esta rama: esto tambien retira el entitlement
com.apple.developer.applesignin, que sin la capability marcada en el App ID
habria roto la firma al subir la 2.1.1 a TestFlight.

This reverts commit 163fd60.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013su1ttRiMeMYxkZJ1Y3246
This commit is contained in:
alexandrev-tibco
2026-09-12 13:08:27 +02:00
parent 163fd6026a
commit d8345a5b20
22 changed files with 8 additions and 2261 deletions
-40
View File
@@ -1,40 +0,0 @@
import XCTest
/// The household screen has to be reachable from Settings and offer sign-in
/// before anything else none of which a unit test can see.
final class HouseholdUITests: XCTestCase {
func testHouseholdScreenIsReachableFromSettings() throws {
let app = XCUIApplication()
app.launchArguments += ["-AppleLanguages", "(en)", "-AppleLocale", "en_US", "UITEST_DISABLE_ANALYTICS"]
app.launch()
if !app.otherElements["home_root"].waitForExistence(timeout: 5) {
for id in ["onboarding_cta_welcome", "onboarding_cta_meal_windows", "onboarding_cta_weekends",
"onboarding_cta_calendar", "onboarding_cta_first_dishes",
"onboarding_cta_week_ready_skip", "onboarding_cta_paywall_skip"] {
let button = app.buttons[id]
if button.waitForExistence(timeout: 10) { button.tap() }
}
XCTAssertTrue(app.otherElements["home_root"].waitForExistence(timeout: 15), "Home never appeared")
}
app.buttons.matching(identifier: "gearshape").firstMatch.tap()
let settingsRow = app.buttons["Shared household"].firstMatch
XCTAssertTrue(settingsRow.waitForExistence(timeout: 10), "Household row missing from Settings")
settingsRow.tap()
XCTAssertTrue(app.navigationBars["Shared household"].waitForExistence(timeout: 5),
"Household screen did not open")
// Signed out: sign-in comes first, creating or joining is not offered yet.
XCTAssertTrue(app.buttons["Sign in with Apple"].waitForExistence(timeout: 5), "Apple sign-in button missing")
XCTAssertFalse(app.buttons["Create household"].exists, "Create must wait until there is an account")
let screenshot = app.screenshot()
let attachment = XCTAttachment(screenshot: screenshot)
attachment.name = "household-signed-out"
attachment.lifetime = .keepAlways
add(attachment)
try? screenshot.pngRepresentation.write(to: URL(fileURLWithPath: "/tmp/mealmood-household.png"))
}
}