diff --git a/focus-ios/focus-ios-tests/XCUITest/SearchProviderTest.swift b/focus-ios/focus-ios-tests/XCUITest/SearchProviderTest.swift index d81ceeed2e..5e021f573e 100644 --- a/focus-ios/focus-ios-tests/XCUITest/SearchProviderTest.swift +++ b/focus-ios/focus-ios-tests/XCUITest/SearchProviderTest.swift @@ -5,22 +5,27 @@ import XCTest class SearchProviderTest: BaseTestCase { + // https://testrail.stage.mozaws.net/index.php?/cases/view/1707743 func testGoogleSearchProvider() { searchProviderTestHelper(provider: "Google") } + // https://testrail.stage.mozaws.net/index.php?/cases/view/2512720 func testDuckDuckGoSearchProvider() { searchProviderTestHelper(provider: "DuckDuckGo") } + // https://testrail.stage.mozaws.net/index.php?/cases/view/2512721 func testWikipediaSearchProvider() { searchProviderTestHelper(provider: "Wikipedia") } + // https://testrail.stage.mozaws.net/index.php?/cases/view/2512722 func testAmazonSearchProvider() { searchProviderTestHelper(provider: "Amazon.com") } + // https://testrail.stage.mozaws.net/index.php?/cases/view/2524588 func testSearchQuery() { searchQuery("test", provider: "Google") dismissKeyboardFocusMenuSettings() @@ -68,6 +73,7 @@ class SearchProviderTest: BaseTestCase { } } + // https://testrail.stage.mozaws.net/index.php?/cases/view/1707744 func testAddRemoveCustomSearchProvider() { dismissURLBarFocused() waitForExistence(app.buttons["HomeView.settingsButton"], timeout: 10) @@ -107,6 +113,7 @@ class SearchProviderTest: BaseTestCase { app.navigationBars.buttons["edit"].tap() } + // https://testrail.stage.mozaws.net/index.php?/cases/view/1707745 func testPreventionOfRemovingDefaultSearchProvider() { dismissURLBarFocused() waitForExistence(app.buttons["HomeView.settingsButton"], timeout: 10) diff --git a/focus-ios/focus-ios-tests/XCUITest/SearchSuggestionsTest.swift b/focus-ios/focus-ios-tests/XCUITest/SearchSuggestionsTest.swift index bff309e262..7cd6b2db2d 100644 --- a/focus-ios/focus-ios-tests/XCUITest/SearchSuggestionsTest.swift +++ b/focus-ios/focus-ios-tests/XCUITest/SearchSuggestionsTest.swift @@ -46,6 +46,7 @@ class SearchSuggestionsPromptTest: BaseTestCase { checkToggle(isOn: false) } + // https://testrail.stage.mozaws.net/index.php?/cases/view/1707746 func testEnableThroughPrompt() { // Check search suggestions toggle is initially OFF checkToggleStartsOff() @@ -79,6 +80,7 @@ class SearchSuggestionsPromptTest: BaseTestCase { checkToggle(isOn: true) } + // https://testrail.stage.mozaws.net/index.php?/cases/view/2524590 func testDisableThroughPrompt() { // Check search suggestions toggle is initially OFF checkToggleStartsOff() @@ -115,6 +117,7 @@ class SearchSuggestionsPromptTest: BaseTestCase { checkToggle(isOn: false) } + // https://testrail.stage.mozaws.net/index.php?/cases/view/2524591 func testEnableThroughToggle() { // Check search suggestions toggle is initially OFF checkToggleStartsOff() @@ -137,6 +140,7 @@ class SearchSuggestionsPromptTest: BaseTestCase { checkSuggestions() } + // https://testrail.stage.mozaws.net/index.php?/cases/view/2524592 func testEnableThenDisable() { // Check search suggestions toggle is initially OFF checkToggleStartsOff()