Since WebDriver instance is common for both FileUtils and FolderUtils a new class has been created 'setUpUtils' that serves common variables and setUp() and tearDown() methods. For the same reason, GeneralPurposeUtils has been created to hold common frequantly used methods for both file and folder tests. Also an initial test SeleneseTestCase class has been created in order to create tests that need right click. However, this test doesn't start. Finally, id's in folderContextDialog changed and moved inside <span> element.
Made a new arrangement of tests on folder utilities and added some new methods regarding file tests. Tests on group items failed. And folderContext menu ids need revising.
Added new test classes for handling test on file resources. Added ids to file context menu and ids to the files in the file list with the namespace 'fileList.nameOfFile'. Todo: handle the right click event on the group tree.
Added two new classes. The first 'TestFolderSharing' handles the 'Sharing' option for a folder (work in progress) and the second 'TestGroup' handles actions available in the application related to groups (lots of obstacles to overtake, still work in progress). Added also the action of renaming a folder in the TestFolderBasics.
Added a new test class in order to test the 'Sharing' option for Folder. Also added some more id's to the FolderProperties dialog and to PermissionAddDialog
More tries to expand the '+'... xPath seems to be wrong plus the onClick() event of the desired div is not triggered.
Another try modeling the tests. Under the notion 'Folder' there have been created methods that represent some of the allowed actions on a folder and corresponding junit test methods have been created. A test suite for folder should be made with these test methods.
Created some test scenarios such as 'create new folder and then delete it', 'create new folder and then move it to trash' using WebDriver. The right click didn't work correctly so in the 'move to trash scenario' the newly created folder remains to trash. Also the logging system needs fixing as long as an assertion alternative should be adopted.
First try on creating a test example.
first commit of adding the public feature to folder / readForAll on each folder
merge with 51a2069b54c1
Fix more than 100 warnings.
New javascript method Trim added in DisplayHelper that trim not only whitespaces but also nbsp. Continue modifying the PopupTree in order to show the correct URI in browsers address bar. Not completed yet since the encoding need revision and history hasnot implemented yet. Add a new condition check in FileMenu.java that checks when the Upload option should be available (related to Issue 9 bug), no completed since in Trash/foo_folder the option of New Folder/Upload should not be available
new test class (testing purposes only)
Split persistentId into identityProvider and identityProviderId for easier DB queries.
Retrieve the persistent-id from Shibboleth and store it in the DBMS for future use. Also, fix a few warnings.
Make folder updates work with a single DB transaction (EJB call). Now the modification date on every child file is properly updated. Also rename modifyFolder() to updateFolder() for consistency with updateFile() and make setFilePermissions/setFolderPermissions private helper methods.
Remove the redundant gss top-level directory.