blob: a887cb972d027e822e01c9232e2549fa005b6258 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//
// TermsOfServicePage.swift
// MullvadVPNUITests
//
// Created by Niklas Berglund on 2024-01-10.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//
import Foundation
import XCTest
class TermsOfServicePage: Page {
@discardableResult override init(_ app: XCUIApplication) {
super.init(app)
self.pageElement = app.otherElements[.termsOfServiceView]
waitForPageToBeShown()
}
@discardableResult func tapAgreeButton() -> Self {
app.buttons[AccessibilityIdentifier.agreeButton].tap()
return self
}
}
|