blob: 9b00ee47ceaff85a6390347f9c32426ff979f362 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//
// LoggedOutUITestCase.swift
// MullvadVPNUITests
//
// Created by Niklas Berglund on 2024-01-22.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//
import Foundation
/// Base class for tests which should start from a logged out state
class LoggedOutUITestCase: BaseUITestCase {
override func setUp() async throws {
try await super.setUp()
agreeToTermsOfServiceIfShown()
logoutIfLoggedIn()
// Relaunch app so that tests start from a deterministic state
app.terminate()
app.launch()
}
}
|