mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-26 15:07:39 +00:00
delete UI test stubs
This commit is contained in:
parent
db752fc39c
commit
0c505f77be
4 changed files with 0 additions and 84 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -40,7 +40,6 @@ xcuserdata/
|
|||
.build/
|
||||
.swiftpm/
|
||||
Package.resolved
|
||||
/*.xcodeproj
|
||||
|
||||
# CocoaPods
|
||||
Pods/
|
||||
|
|
|
|||
|
|
@ -61,11 +61,6 @@
|
|||
path = VibeTunnelTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
7886880B2DFF4FCC00B22C15 /* VibeTunnelUITests */ = {
|
||||
isa = PBXFileSystemSynchronizedRootGroup;
|
||||
path = VibeTunnelUITests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXFileSystemSynchronizedRootGroup section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
|
|
@ -100,7 +95,6 @@
|
|||
children = (
|
||||
788687F32DFF4FCB00B22C15 /* VibeTunnel */,
|
||||
788688012DFF4FCB00B22C15 /* VibeTunnelTests */,
|
||||
7886880B2DFF4FCC00B22C15 /* VibeTunnelUITests */,
|
||||
788687F22DFF4FCB00B22C15 /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
|
|
@ -180,9 +174,6 @@
|
|||
dependencies = (
|
||||
7886880A2DFF4FCC00B22C15 /* PBXTargetDependency */,
|
||||
);
|
||||
fileSystemSynchronizedGroups = (
|
||||
7886880B2DFF4FCC00B22C15 /* VibeTunnelUITests */,
|
||||
);
|
||||
name = VibeTunnelUITests;
|
||||
packageProductDependencies = (
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
//
|
||||
// VibeTunnelUITests.swift
|
||||
// VibeTunnelUITests
|
||||
//
|
||||
// Created by Peter Steinberger on 15.06.25.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
final class VibeTunnelUITests: XCTestCase {
|
||||
|
||||
override func setUpWithError() throws {
|
||||
// Put setup code here. This method is called before the invocation of each test method in the class.
|
||||
|
||||
// In UI tests it is usually best to stop immediately when a failure occurs.
|
||||
continueAfterFailure = false
|
||||
|
||||
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
|
||||
}
|
||||
|
||||
override func tearDownWithError() throws {
|
||||
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func testExample() throws {
|
||||
// UI tests must launch the application that they test.
|
||||
let app = XCUIApplication()
|
||||
app.launch()
|
||||
|
||||
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func testLaunchPerformance() throws {
|
||||
// This measures how long it takes to launch your application.
|
||||
measure(metrics: [XCTApplicationLaunchMetric()]) {
|
||||
XCUIApplication().launch()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
//
|
||||
// VibeTunnelUITestsLaunchTests.swift
|
||||
// VibeTunnelUITests
|
||||
//
|
||||
// Created by Peter Steinberger on 15.06.25.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
final class VibeTunnelUITestsLaunchTests: XCTestCase {
|
||||
|
||||
override class var runsForEachTargetApplicationUIConfiguration: Bool {
|
||||
true
|
||||
}
|
||||
|
||||
override func setUpWithError() throws {
|
||||
continueAfterFailure = false
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func testLaunch() throws {
|
||||
let app = XCUIApplication()
|
||||
app.launch()
|
||||
|
||||
// Insert steps here to perform after app launch but before taking a screenshot,
|
||||
// such as logging into a test account or navigating somewhere in the app
|
||||
|
||||
let attachment = XCTAttachment(screenshot: app.screenshot())
|
||||
attachment.name = "Launch Screen"
|
||||
attachment.lifetime = .keepAlways
|
||||
add(attachment)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue