This repository has been archived on 2024-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
Burgernotes-iOS/BurgernotesUITests/BurgernotesUITestsLaunchTes...

33 lines
806 B
Swift
Raw Normal View History

2024-02-29 17:38:44 +00:00
//
// PageBurgerUITestsLaunchTests.swift
// PageBurgerUITests
//
// Created by ffqq on 23/02/2024.
//
import XCTest
final class PageBurgerUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
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)
}
}