Bug 846353: Fix typos in robocop testBookmarksTab, testDoorHanger and testShareLink; r=jmaher DONTBUILD

This commit is contained in:
Geoff Brown 2013-03-01 18:41:05 -07:00
Родитель 5c94ef75e4
Коммит 06f9b0e96e
3 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -165,7 +165,7 @@ public class testBookmarksTab extends BaseTest {
mSolo.clickOnText("Remove");
// Wait for the toaster notification
waitForText("Bookmark Removed");
waitForText("Bookmark removed");
// Verify Bookmark is removed
child = list.getChildAt(1);
@ -197,7 +197,7 @@ public class testBookmarksTab extends BaseTest {
mSolo.clickOnEditText(fieldIndex);
mActions.sendKeys(addedText);
mSolo.clickOnText("OK");
waitForText("Bookmark Updated");
waitForText("Bookmark updated");
mActions.sendSpecialKey(Actions.SpecialKey.BACK); // close the VKB
}

Просмотреть файл

@ -76,11 +76,11 @@ public class testDoorHanger extends BaseTest {
// Load login page
loadUrl(LOGIN_URL);
waitForText("to remeber password for");
waitForText("to remember password for");
// Test doorhanger is dismissed when tapping "Not Now"
mSolo.clickOnText("Not Now");
mAsserter.is(mSolo.searchText("to remeber password for"), false, "Doorhanger notification is hidden");
mAsserter.is(mSolo.searchText("to remember password for"), false, "Doorhanger notification is hidden");
// Load login page
loadUrl(LOGIN_URL);
@ -88,10 +88,10 @@ public class testDoorHanger extends BaseTest {
// Test doorhanger is dismissed when tapping "Never show" and is no longer triggered
mSolo.clickOnText("Remember");
mAsserter.is(mSolo.searchText("to remeber password for"), false, "Doorhanger notification is hidden");
mAsserter.is(mSolo.searchText("to remember password for"), false, "Doorhanger notification is hidden");
// Reload the page and check that there is no doorhanger displayed
loadUrl(LOGIN_URL);
mAsserter.is(mSolo.searchText("to remeber password for"), false, "Doorhanger notification is hidden");
mAsserter.is(mSolo.searchText("to remember password for"), false, "Doorhanger notification is hidden");
}
}

Просмотреть файл

@ -35,7 +35,7 @@ public class testShareLink extends BaseTest {
loadUrl(url);
waitForText("Big Link"); // Waiting for page title to ensure the page is loaded
selectMenuItem("Share");
waitForText("Share Via");
waitForText("Share via");
// Get list of current avaliable share activities and verify them
shareOptions = getShareOptions();
@ -94,7 +94,7 @@ public class testShareLink extends BaseTest {
public void verifySharePopup(ArrayList<String> shareOptions, String openedFrom) {
waitForText("Share");
mSolo.clickOnText("Share");
waitForText("Share Via");
waitForText("Share via");
ArrayList<String> displayedOptions = getSharePopupOption();
for (String option:shareOptions) {
// Verify if the option is present in the list of displayed share options