diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9772945..a21fcd9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -72,8 +72,9 @@ jobs: xcodebuild test-without-building \ -xctestrun DerivedData/Build/Products/SwiftRadioUITests_iphonesimulator18.0-arm64.xctestrun \ -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.0' \ - -resultBundlePath ./TestResults.xcresult \ - CODE_SIGNING_ALLOWED='NO' + -test-timeouts-enabled YES \ + -maximum-test-execution-time-allowance 60 \ + -resultBundlePath ./TestResults.xcresult continue-on-error: true - name: Generate Allure files diff --git a/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/lysikovboris.xcuserdatad/UserInterfaceState.xcuserstate b/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/lysikovboris.xcuserdatad/UserInterfaceState.xcuserstate index 65d2135..a3326ea 100644 Binary files a/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/lysikovboris.xcuserdatad/UserInterfaceState.xcuserstate and b/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/lysikovboris.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/SwiftRadioUITests/Tests/CommonTest.swift b/SwiftRadioUITests/Tests/CommonTest.swift index 2c8c0b8..05c2380 100644 --- a/SwiftRadioUITests/Tests/CommonTest.swift +++ b/SwiftRadioUITests/Tests/CommonTest.swift @@ -11,17 +11,13 @@ import XCTest class CommonTest: XCTestCase { override func setUp() { - before("Иницилизация приложения") { - super.setUp() - - continueAfterFailure = false - XCUIApplication().launch() - } + super.setUp() + + continueAfterFailure = false + XCUIApplication().launch() } override func tearDown() { - after("Очистка состояния") { - super.tearDown() - } + super.tearDown() } }