Reformat code
This commit is contained in:
@@ -10,7 +10,7 @@ final class SnapshotTests: XCTestCase {
|
||||
app.launch()
|
||||
}
|
||||
|
||||
func test01Dashboard() throws {
|
||||
func test01Dashboard() {
|
||||
#if os(macOS)
|
||||
if app.outlines.staticTexts["Dashboard"].exists {
|
||||
app.outlines.staticTexts["Dashboard"].click()
|
||||
@@ -20,7 +20,7 @@ final class SnapshotTests: XCTestCase {
|
||||
snapshot("01_Dashboard")
|
||||
}
|
||||
|
||||
func test02Logs() throws {
|
||||
func test02Logs() {
|
||||
#if os(iOS)
|
||||
if app.tabBars.buttons["Logs"].exists {
|
||||
app.tabBars.buttons["Logs"].firstMatch.tap()
|
||||
@@ -47,7 +47,7 @@ final class SnapshotTests: XCTestCase {
|
||||
snapshot("02_Logs")
|
||||
}
|
||||
|
||||
func test03Settings() throws {
|
||||
func test03Settings() {
|
||||
#if os(iOS)
|
||||
if app.tabBars.buttons["Settings"].exists {
|
||||
app.tabBars.buttons["Settings"].firstMatch.tap()
|
||||
|
||||
@@ -22,7 +22,7 @@ final class UITests: XCTestCase {
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func testExample() throws {
|
||||
func testExample() {
|
||||
// UI tests must launch the application that they test.
|
||||
let app = XCUIApplication()
|
||||
app.launch()
|
||||
@@ -31,7 +31,7 @@ final class UITests: XCTestCase {
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func testLaunchPerformance() throws {
|
||||
func testLaunchPerformance() {
|
||||
// This measures how long it takes to launch your application.
|
||||
measure(metrics: [XCTApplicationLaunchMetric()]) {
|
||||
XCUIApplication().launch()
|
||||
|
||||
@@ -17,7 +17,7 @@ final class UITestsLaunchTests: XCTestCase {
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func testLaunch() throws {
|
||||
func testLaunch() {
|
||||
let app = XCUIApplication()
|
||||
app.launch()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user