mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
✅ Make UI test actually functional
This commit is contained in:
@ -12,24 +12,15 @@ final class UI_Tests: XCTestCase {
|
||||
|
||||
override func setUpWithError() throws {
|
||||
continueAfterFailure = false
|
||||
TestableConfigurations.broken.apply()
|
||||
}
|
||||
|
||||
override func tearDownWithError() throws {
|
||||
}
|
||||
override func tearDownWithError() throws {}
|
||||
|
||||
func testExample() throws {
|
||||
func testApplicationCanLaunchWithTestConfigurationAndIdles() throws {
|
||||
// UI tests must launch the application that they test.
|
||||
let app = XCUIApplication()
|
||||
app.launchArguments = ["--configuration:broken"]
|
||||
app.launchArguments = ["--configuration:working"]
|
||||
app.launch()
|
||||
sleep(10)
|
||||
}
|
||||
|
||||
/*
|
||||
func testLaunchPerformance() throws {
|
||||
measure(metrics: [XCTApplicationLaunchMetric()]) {
|
||||
XCUIApplication().launch()
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user