Bug 834525: Supress testNewTab's closeTabs(). [r=mfinkle]

--HG--
extra : rebase_source : 3bdac1f069856357c9930ac8f075c715b534a812
This commit is contained in:
Sriram Ramasubramanian 2013-01-30 11:10:17 -08:00
parent 899c42debc
commit cfbe0666bd

View File

@ -28,11 +28,9 @@ public class testNewTab extends BaseTest {
tabCount = mDriver.findElement(activity, "tabs_count");
tabs = mDriver.findElement(activity, "tabs");
addTab = mDriver.findElement(activity, "add_tab");
closeTab = mDriver.findElement(activity, "close");
mAsserter.ok(tabCount != null &&
tabs != null &&
addTab != null &&
closeTab != null,
addTab != null,
"Checking elements", "all elements present");
int expectedTabCount = 1;
@ -53,7 +51,7 @@ public class testNewTab extends BaseTest {
mAsserter.is(tabCountInt, expectedTabCount, "Number of tabs increased");
// cleanup: close all opened tabs
closeTabs();
//closeTabs();
}
private void closeTabs() {