Removing duplicated tests.
@@ -7,7 +7,6 @@ import mock
import unittest
from grr.lib import flags
from grr.lib.rdfvalues import client as rdf_client
-from grr.server.grr_response_server import aff4
from grr.server.grr_response_server.gui import api_call_router_with_approval_checks
from grr.server.grr_response_server.gui import gui_test_lib
@@ -116,39 +115,6 @@ class VFSViewTest(gui_test_lib.GRRSeleniumTest):
self.WaitUntil(self.IsElementPresent,
"css=#content_rightPane .breadcrumb li:contains('os')")
- def testClickingOnTreeNodeRefreshesChildrenFoldersList(self):
- self.Open("/#/clients/C.0000000000000001/vfs/fs/os/c/")
-
- self.WaitUntil(self.IsElementPresent, "link=Downloads")
- self.WaitUntil(self.IsElementPresent, "link=bin")
-
- aff4.FACTORY.Delete(
- "aff4:/C.0000000000000001/fs/os/c/bin", token=self.token)
-
- self.Click("link=c")
- self.WaitUntil(self.IsElementPresent, "link=Downloads")
- self.WaitUntilNot(self.IsElementPresent, "link=bin")
-
- def testClickingOnTreeNodeArrowRefreshesChildrenFoldersList(self):
- self.Open("/#/clients/C.0000000000000001/vfs/fs/os/c/")
-
- self.WaitUntil(self.IsElementPresent, "link=Downloads")
- self.WaitUntil(self.IsElementPresent, "link=bin")
-
- aff4.FACTORY.Delete(
- "aff4:/C.0000000000000001/fs/os/c/bin", token=self.token)
-
- # Click on the arrow icon, it should close the tree branch.
- self.Click("css=#_fs-os-c i.jstree-icon")
- self.WaitUntilNot(self.IsElementPresent, "link=Downloads")
- self.WaitUntilNot(self.IsElementPresent, "link=bin")
-
- # Click on the arrow icon again, it should reopen the tree
- # branch. It should be updated.
- self.Click("css=#_fs-os-c i.jstree-icon")
- self.WaitUntil(self.IsElementPresent, "link=Downloads")
- self.WaitUntilNot(self.IsElementPresent, "link=bin")
-
@mock.patch.object(
api_call_router_with_approval_checks.ApiCallRouterWithApprovalChecks,
"GetVfsFilesArchive")
