Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–812 unchanged (812 lines)
813 verifyTheTabCounter("0", isPrivateBrowsingEnabled = true)
814 verifyTheMainMenuButton()
815 }
816 }
817
818 // TestRail link: https://mozilla.testrail.io/index.php?/cases/view/3135067
819 @Test
820 fun verifyTheNewTabButtonTest() {
821 val firstPage = mockWebServer.getGenericAsset(1)
822 val secondPage = mockWebServer.getGenericAsset(2)
823
824 navigationToolbar(composeTestRule) {
825 }.enterURLAndEnterToBrowser(firstPage.url) {
…lines 826–1036 unchanged (211 lines)

After

…lines 1–812 unchanged (812 lines)
813 verifyTheTabCounter("0", isPrivateBrowsingEnabled = true)
814 verifyTheMainMenuButton()
815 }
816 }
817
818 // TestRail link: https://mozilla.testrail.io/index.php?/cases/view/3135067
819 @SmokeTest
820 @Test
821 fun verifyTheNewTabButtonTest() {
822 val firstPage = mockWebServer.getGenericAsset(1)
823 val secondPage = mockWebServer.getGenericAsset(2)
824
825 navigationToolbar(composeTestRule) {
…lines 826–1037 unchanged (212 lines)

Before

source_file
block_comment "/* This Source Code Form is subject to the terms of the Mozi"...
file_annotation
@ "@"
file "file"
: ":"
constructor_invocation
user_type
identifier "Suppress"
value_arguments
( "("
value_argument
string_literal
" "\""
string_content "DEPRECATION"
" "\""
) ")"
package_header
package "package"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "Context"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "pm"
. "."
identifier "ActivityInfo"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "res"
. "."
identifier "Configuration"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "hardware"
. "."
identifier "camera2"
. "."
identifier "CameraManager"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "test"
. "."
identifier "junit4"
. "."
identifier "AndroidComposeTestRule"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "net"
. "."
identifier "toUri"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "test"
. "."
identifier "espresso"
. "."
identifier "Espresso"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "test"
. "."
identifier "filters"
. "."
identifier "SdkSuppress"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "test"
. "."
identifier "rule"
. "."
identifier "ActivityTestRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Assume"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Ignore"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Rule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Test"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "IntentReceiverActivity"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "R"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "customannotations"
. "."
identifier "SkipLeaks"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "customannotations"
. "."
identifier "SmokeTest"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ext"
. "."
identifier "settings"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "enableOrDisableBackGestureNavigationOnDevice"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "grantSystemPermission"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "setScreenOrientation"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "verifyKeyboardVisibility"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "DataGenerationHelper"
. "."
identifier "createCustomTabIntent"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "DataGenerationHelper"
. "."
identifier "getStringResource"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "FenixTestRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "HomeActivityIntentTestRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MatcherHelper"
. "."
identifier "itemWithText"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "createBookmarkItem"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "createHistoryItem"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "generateBookmarkFolder"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "setCustomSearchEngine"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "SearchMockServerRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestAssetHelper"
. "."
identifier "getGenericAsset"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestAssetHelper"
. "."
identifier "htmlControlsFormAsset"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestAssetHelper"
. "."
identifier "waitingTimeLong"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "clickSnackbarButton"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "exitMenu"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "verifyDarkThemeApplied"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "verifyLightThemeApplied"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "perf"
. "."
identifier "DetectMemoryLeaksRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "nimbus"
. "."
identifier "FxNimbus"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "browserScreen"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "clickContextMenuItem"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "customTabScreen"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "homeScreen"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "longClickPageObject"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "navigationToolbar"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "searchScreen"
block_comment "/**\n * Tests for verifying basic functionality of browser n"...
class_declaration
class "class"
identifier "NavigationToolbarTest"
class_body
{ "{"
property_declaration (+29 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "mockWebServer"
getter
get "get"
( "("
) ")"
function_body
= "="
navigation_expression
identifier "fenixTestRule"
. "."
identifier "mockWebServer"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "customTabActionButton"
= "="
string_literal
" "\""
string_content "CustomActionButton"
" "\""
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "bookmarkFolderName"
= "="
string_literal
" "\""
string_content "My Folder"
" "\""
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "queryString"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "firefox"
" "\""
property_declaration (+31 nodes collapsed)
property_declaration (+30 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "topicEnginesList"
= "="
call_expression
identifier "listOf"
value_arguments
( "("
value_argument
string_literal
" "\""
string_content "Wikipedia (en)"
" "\""
) ")"
property_declaration (+21 nodes collapsed)
function_declaration (+77 nodes collapsed)
property_declaration (+59 nodes collapsed)
property_declaration (+33 nodes collapsed)
property_declaration
modifiers
annotation
@ "@"
use_site_target
get "get"
: ":"
user_type
identifier "Rule"
val "val"
variable_declaration
identifier "memoryLeaksRule"
= "="
call_expression
identifier "DetectMemoryLeaksRule"
value_arguments
( "("
) ")"
property_declaration
modifiers
annotation
@ "@"
use_site_target
get "get"
: ":"
user_type
identifier "Rule"
val "val"
variable_declaration
identifier "searchMockServerRule"
= "="
call_expression
identifier "SearchMockServerRule"
value_arguments
( "("
) ")"
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+119 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+135 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+101 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+243 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+109 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+188 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+103 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+99 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+247 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
line_comment "// Verifies a temporary change of search engine from the Sea"...
function_declaration (+120 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+286 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+280 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+273 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
line_comment "// Swipes the nav bar left/right to switch between tabs"
function_declaration (+206 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+88 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+172 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+276 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+137 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+156 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+137 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+70 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+57 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+216 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+87 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+132 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+98 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+82 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+82 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+148 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+133 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration
modifiers
annotation
@ "@"
user_type
identifier "Test"
fun "fun"
identifier "verifyTheNewTabButtonTest"
function_value_parameters
( "("
) ")"
function_body (+267 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+150 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+262 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+189 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+160 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+191 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+294 nodes collapsed)
} "}"

After

source_file
block_comment "/* This Source Code Form is subject to the terms of the Mozi"...
file_annotation
@ "@"
file "file"
: ":"
constructor_invocation
user_type
identifier "Suppress"
value_arguments
( "("
value_argument
string_literal
" "\""
string_content "DEPRECATION"
" "\""
) ")"
package_header
package "package"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "Context"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "pm"
. "."
identifier "ActivityInfo"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "res"
. "."
identifier "Configuration"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "hardware"
. "."
identifier "camera2"
. "."
identifier "CameraManager"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "test"
. "."
identifier "junit4"
. "."
identifier "AndroidComposeTestRule"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "net"
. "."
identifier "toUri"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "test"
. "."
identifier "espresso"
. "."
identifier "Espresso"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "test"
. "."
identifier "filters"
. "."
identifier "SdkSuppress"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "test"
. "."
identifier "rule"
. "."
identifier "ActivityTestRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Assume"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Ignore"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Rule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "Test"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "IntentReceiverActivity"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "R"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "customannotations"
. "."
identifier "SkipLeaks"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "customannotations"
. "."
identifier "SmokeTest"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ext"
. "."
identifier "settings"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "enableOrDisableBackGestureNavigationOnDevice"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "grantSystemPermission"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "setScreenOrientation"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "AppAndSystemHelper"
. "."
identifier "verifyKeyboardVisibility"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "DataGenerationHelper"
. "."
identifier "createCustomTabIntent"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "DataGenerationHelper"
. "."
identifier "getStringResource"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "FenixTestRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "HomeActivityIntentTestRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MatcherHelper"
. "."
identifier "itemWithText"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "createBookmarkItem"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "createHistoryItem"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "generateBookmarkFolder"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "MockBrowserDataHelper"
. "."
identifier "setCustomSearchEngine"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "SearchMockServerRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestAssetHelper"
. "."
identifier "getGenericAsset"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestAssetHelper"
. "."
identifier "htmlControlsFormAsset"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestAssetHelper"
. "."
identifier "waitingTimeLong"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "clickSnackbarButton"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "exitMenu"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "verifyDarkThemeApplied"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "TestHelper"
. "."
identifier "verifyLightThemeApplied"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "helpers"
. "."
identifier "perf"
. "."
identifier "DetectMemoryLeaksRule"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "nimbus"
. "."
identifier "FxNimbus"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "browserScreen"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "clickContextMenuItem"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "customTabScreen"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "homeScreen"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "longClickPageObject"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "navigationToolbar"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "mozilla"
. "."
identifier "fenix"
. "."
identifier "ui"
. "."
identifier "robots"
. "."
identifier "searchScreen"
block_comment "/**\n * Tests for verifying basic functionality of browser n"...
class_declaration
class "class"
identifier "NavigationToolbarTest"
class_body
{ "{"
property_declaration (+29 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "mockWebServer"
getter
get "get"
( "("
) ")"
function_body
= "="
navigation_expression
identifier "fenixTestRule"
. "."
identifier "mockWebServer"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "customTabActionButton"
= "="
string_literal
" "\""
string_content "CustomActionButton"
" "\""
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "bookmarkFolderName"
= "="
string_literal
" "\""
string_content "My Folder"
" "\""
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "queryString"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "firefox"
" "\""
property_declaration (+31 nodes collapsed)
property_declaration (+30 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "topicEnginesList"
= "="
call_expression
identifier "listOf"
value_arguments
( "("
value_argument
string_literal
" "\""
string_content "Wikipedia (en)"
" "\""
) ")"
property_declaration (+21 nodes collapsed)
function_declaration (+77 nodes collapsed)
property_declaration (+59 nodes collapsed)
property_declaration (+33 nodes collapsed)
property_declaration
modifiers
annotation
@ "@"
use_site_target
get "get"
: ":"
user_type
identifier "Rule"
val "val"
variable_declaration
identifier "memoryLeaksRule"
= "="
call_expression
identifier "DetectMemoryLeaksRule"
value_arguments
( "("
) ")"
property_declaration
modifiers
annotation
@ "@"
use_site_target
get "get"
: ":"
user_type
identifier "Rule"
val "val"
variable_declaration
identifier "searchMockServerRule"
= "="
call_expression
identifier "SearchMockServerRule"
value_arguments
( "("
) ")"
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+119 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+135 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+101 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+243 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+109 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+188 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+103 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+99 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+247 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
line_comment "// Verifies a temporary change of search engine from the Sea"...
function_declaration (+120 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+286 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+280 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+273 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
line_comment "// Swipes the nav bar left/right to switch between tabs"
function_declaration (+206 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+88 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+172 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+276 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+137 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+156 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+137 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+70 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+57 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+216 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+87 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+132 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+98 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+82 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+82 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+148 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+133 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration
modifiers
annotation
@ "@"
user_type
identifier "SmokeTest"
annotation
@ "@"
user_type
identifier "Test"
fun "fun"
identifier "verifyTheNewTabButtonTest"
function_value_parameters
( "("
) ")"
function_body (+267 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+150 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+262 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+189 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+160 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+191 nodes collapsed)
line_comment "// TestRail link: https://mozilla.testrail.io/index.php?/cas"...
function_declaration (+294 nodes collapsed)
} "}"