     var nightMode = false
 
     var pocketInNewTab = false
+
+    var fxaUsername: String? = nil
+    var fxaPassword: String? = nil
 }
 
 fileprivate let defaultURL = "https://www.mozilla.org/en-US/book/"


// These are in the exact order they appear in the settings
// screen. XCUIApplication loses them on small screens.
let allSettingsScreens = [
    SyncSettings,
    SearchSettings,
    AddCustomSearchSettings,
    NewTabSettings,

    map.addScreenState(SettingsScreen) { screenState in
        let table = app.tables.element(boundBy: 0)

        screenState.tap(table.cells["Sync"], to: SyncSettings, if: "fxaUsername != nil")
        screenState.tap(table.cells["Search"], to: SearchSettings)
        screenState.tap(table.cells["NewTab"], to: NewTabSettings)
        screenState.tap(table.cells["Homepage"], to: HomePageSettings)
        screenState.tap(table.cells["OpenWith.Setting"], to: OpenWithSettings)
        screenState.tap(table.cells["TouchIDPasscode"], to: PasscodeSettings)
        screenState.tap(table.cells["Logins"], to: LoginsSettings)
        screenState.tap(table.cells["ClearPrivateData"], to: ClearPrivateDataSettings)
        screenState.tap(table.cells["TrackingProtection"], to: TrackingProtectionSettings)
        screenState.tap(table.cells["ShowTour"], to: ShowTourInSettings)

        screenState.backAction = navigationControllerBackAction
    }

    map.addScreenState(SearchSettings) { screenState in
