File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
firefox-ios-tests/Tests/XCUITests Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11609,13 +11609,13 @@
11609
11609
3BFE4B081D342FB900DDF53F /* XCUITests */ = {
11610
11610
isa = PBXGroup;
11611
11611
children = (
11612
- 211FD2742DF38106003F60EF /* CookiePersistenceTests.swift */,
11613
11612
3B546EBF1D95ECAE00BDBE36 /* ActivityStreamTest.swift */,
11614
11613
B1E156A52CD5080E009DF9E5 /* C_AddressesTests.swift */,
11615
11614
0B3D670D1E09B90B00C1EFC7 /* AuthenticationTest.swift */,
11616
11615
0B305E1A1E3A98A900BE0767 /* BookmarksTests.swift */,
11617
11616
2CF9D9A920067FA10083DF2A /* BrowsingPDFTests.swift */,
11618
11617
3D9CAA1B1EFCD655002434DD /* ClipBoardTests.swift */,
11618
+ 211FD2742DF38106003F60EF /* CookiePersistenceTests.swift */,
11619
11619
B1664E9D2B163B7A005D4C71 /* CreditCardsTests.swift */,
11620
11620
EB3A38912032673D004C6E67 /* DatabaseFixtureTest.swift */,
11621
11621
580B0C4121748CFE00448DF8 /* DataManagementTests.swift */,
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ import XCTest
6
6
7
7
final class CookiePersistenceTests : BaseTestCase {
8
8
let cookieSiteURL = " http://localhost: \( serverPort) /test-fixture/test-cookie-store.html "
9
- let websites = [ " mozilla.org " , " wikipedia " , " reddit " ]
9
+ let websites = [ " http://mozilla.org " ,
10
+ " http://wikipedia " ,
11
+ " http://reddit.com " ]
10
12
11
13
override func setUp( ) {
12
14
// Fresh install the app
@@ -52,11 +54,12 @@ final class CookiePersistenceTests: BaseTestCase {
52
54
mozWaitForElementToExist ( webview. staticTexts [ " LOGGED_IN " ] )
53
55
54
56
// Open a few tabs
55
- websites. forEach { searchText in
57
+ websites. forEach { website in
56
58
navigator. performAction ( Action . OpenNewTabFromTabTray)
57
59
navigator. nowAt ( NewTabScreen)
58
-
59
- typeOnSearchBar ( text: searchText)
60
+ navigator. openURL ( website)
61
+ waitUntilPageLoad ( )
62
+ navigator. nowAt ( BrowserTab)
60
63
}
61
64
62
65
// Relaunch app
You can’t perform that action at this time.
0 commit comments