Added a note for the issue with selectors to the ToDo
[mediagoblin-automation:mediagoblin-selenium.git] / docs / ToDo.txt
1 Need to replace the "selector" modules which Selenium IDE can't translate correctly
2     with something like this:
3
4         select = Select(driver.find_element_by_id("license"))
5         select.select_by_visible_text(data["license"])
6
7 update_gmg.sh: Check to see if the VirtualEnv needs updating. If not, don't update it.
8
9 We need to set-up the test data set before the tests are run and clean them up 
10 once the tests are completed.
11     This is why running this on a live instance would be bad unless we wanted 
12         to create a fully data driven test plan which would require several
13         plugins to be installed on Selenium. 
14     To add users do bin/gmg adduser username.
15     Uploading media for use is more difficult until we get the reprocessing
16         panel set up. Alternatively we could set up a makeshift set of "stages"
17         so that media uploaded in stage 1 is accessible by stage too.
18         The more work intensive version would be to upload a file within that
19         test case itself.
20
21 Add proper references to the new /tests/util modules in the tests. Also add new
22     modules for uploading content as part of a test (could fix the above issue).
23
24 M4 could change which driver is being used (Chrome/Firefox/PhantomJS) and 
25     I could use this to create a headless / chrome / firefox targe in the
26     makefile.