diff --git a/DuckDuckGo.xcodeproj/xcshareddata/xcschemes/DuckDuckGoUITests.xcscheme b/DuckDuckGo.xcodeproj/xcshareddata/xcschemes/DuckDuckGoUITests.xcscheme new file mode 100644 index 0000000000..0e48c302d1 --- /dev/null +++ b/DuckDuckGo.xcodeproj/xcshareddata/xcschemes/DuckDuckGoUITests.xcscheme @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DuckDuckGoUITests/DuckDuckGoUITests.swift b/DuckDuckGoUITests/DuckDuckGoUITests.swift new file mode 100644 index 0000000000..c77f45a862 --- /dev/null +++ b/DuckDuckGoUITests/DuckDuckGoUITests.swift @@ -0,0 +1,49 @@ +// +// DuckDuckGoUITests.swift +// DuckDuckGo +// +// Copyright © 2023 DuckDuckGo. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Automation of the manual smoke tests in https://app.asana.com/0/1202500774821704/1201879741377823/f + +import XCTest + +// swiftlint:disable all + +final class DuckDuckGoUITests: 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. + } + + 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. + } +} + +// swiftlint:enable all