一网通办ios
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

im_client_iosUITestsLaunchTests.swift 835 B

2 years ago
1234567891011121314151617181920212223242526272829303132
  1. //
  2. // im_client_iosUITestsLaunchTests.swift
  3. // im-client-iosUITests
  4. //
  5. // Created by 北京居家科技有限公司 on 2021/12/27.
  6. //
  7. import XCTest
  8. class im_client_iosUITestsLaunchTests: XCTestCase {
  9. override class var runsForEachTargetApplicationUIConfiguration: Bool {
  10. true
  11. }
  12. override func setUpWithError() throws {
  13. continueAfterFailure = false
  14. }
  15. func testLaunch() throws {
  16. let app = XCUIApplication()
  17. app.launch()
  18. // Insert steps here to perform after app launch but before taking a screenshot,
  19. // such as logging into a test account or navigating somewhere in the app
  20. let attachment = XCTAttachment(screenshot: app.screenshot())
  21. attachment.name = "Launch Screen"
  22. attachment.lifetime = .keepAlways
  23. add(attachment)
  24. }
  25. }