Home | History | Annotate | Download | only in documentsui

Lines Matching defs:bots

37         bots.roots.closeDrawer();
41 bots.directory.selectDocument(fileName1, 1);
42 bots.main.openOverflowMenu();
43 bots.main.assertMenuEnabled(R.string.menu_rename, true);
50 bots.directory.selectDocument(fileNameNoRename, 1);
51 bots.main.openOverflowMenu();
52 bots.main.assertMenuEnabled(R.string.menu_rename, false);
59 bots.directory.selectDocument(fileName1, 1);
60 bots.directory.selectDocument(fileNameNoRename, 2);
61 bots.main.openOverflowMenu();
62 bots.main.assertMenuEnabled(R.string.menu_rename, false);
69 bots.directory.selectDocument(fileName1, 1);
70 bots.directory.selectDocument(fileName2, 2);
71 bots.main.openOverflowMenu();
72 bots.main.assertMenuEnabled(R.string.menu_rename, false);
79 bots.directory.selectDocument(fileName1, 1);
84 bots.main.setDialogText(newName);
87 bots.main.clickDialogOkButton();
89 bots.directory.waitForDocument(newName);
90 bots.directory.assertDocumentsAbsent(fileName1);
91 bots.directory.assertDocumentsCount(4);
95 bots.directory.selectDocument(fileName1, 1);
100 bots.main.setDialogText(newName);
103 bots.keyboard.pressEnter();
105 bots.directory.waitForDocument(newName);
106 bots.directory.assertDocumentsAbsent(fileName1);
107 bots.directory.assertDocumentsCount(4);
111 bots.directory.selectDocument(fileName1, 1);
116 bots.keyboard.pressEnter();
118 bots.directory.waitForDocument(fileName1);
119 bots.directory.assertDocumentsCount(4);
123 bots.directory.selectDocument(fileName1, 1);
127 bots.main.setDialogText(newName);
129 bots.main.clickDialogCancelButton();
131 bots.directory.assertDocumentsPresent(fileName1);
132 bots.directory.assertDocumentsAbsent(newName);
133 bots.directory.assertDocumentsCount(4);
139 bots.directory.selectDocument(oldName, 1);
143 bots.main.setDialogText(newName);
145 bots.keyboard.pressEnter();
147 bots.directory.assertDocumentsAbsent(oldName);
148 bots.directory.assertDocumentsPresent(newName);
149 bots.directory.assertDocumentsCount(4);
155 bots.main.clickDialogCancelButton();
157 bots.directory.assertDocumentsPresent(fileName1);
158 bots.directory.assertDocumentsPresent(fileName2);
159 bots.directory.assertDocumentsCount(4);
166 bots.main.setDialogText(newName);
169 bots.main.clickDialogOkButton();
171 bots.directory.waitForDocument(newName);
172 bots.directory.assertDocumentsAbsent(fileName1);
173 bots.directory.assertDocumentsCount(4);
178 bots.directory.assertDocumentsPresent(fileName2);
179 bots.directory.selectDocument(fileName1, 1);
183 bots.main.assertDialogText(fileName1);
184 assertFalse(bots.main.findRenameErrorMessage().exists());
185 bots.main.setDialogText(fileName2);
186 bots.keyboard.pressEnter();
187 assertTrue(bots.main.findRenameErrorMessage().exists());
191 if (!bots.main.waitForActionModeBarToAppear()) {
194 bots.main.clickActionbarOverflowItem("Rename");