Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Inject uibModal * Add modal to be triggered by an `x` from individual datasets on dashboard * Add Styles * Add tests for DataSet api v1 and add `analyses` field to api response * Fix typo * Add `get_file_store_items` method and appropriate tests * Add FileStoreItem class method `terminate_file_import_task` and add appropriate test * Adjust DataSet deletion per: https://refinery-platform.slack.com/archives/general/p1474548215000470 * Add delete endpoint for datasets and appropriate tests * Update dataset-delete-dialog partial * Update launchpad to have deletionModal triggered from little trashcan * Add controller for Dataset deletion * Add method to open dataSetDeletionModal * Clear cache upon a reload of DataSet list * Add common service for deletion of objects behind Django * Update some values here so that the dataSet UIScroll list displays the proper information * Add styles * Try out selenium for interactions with datasets (upload & deletion) * Fix relative import * 😕 * remove `__init__.py` * Explicitly add `DJANGO_SETTINGS_MODULE` for selenium usage * Remove hyperlink from analyses upon successful deletion * Try to import isatab directly from shell * Provide correct path * Add sample isatab * Change to relative path * Add analysis ui deletion and appropriate tests * Try loading test isatab within travis.yml * Try loading isatab from full path * Still trying to import an isatab * Remove usage of isatab zip in favor of bare-minimum fixture repr. of DataSets * Fixing `.less` formatting * Update test expectations and re-add a `cd` * Update test contraints * Something is not in favor of the `·` within selenium tests... * Add some ids that aid selenium testing * Fix for dataset deletion Selenium test * Test if explicitly defining the encoding will resolve Travis Error * Change separator as it seems to be the cause of failing travis builds * Change trashcan icon from `<a>` to `<i>` to combat weird highlighting issue * Add `factory_boy` requirement * Move away from the use of fixtures in favor of `factory_boy` * Refactor as Investigations aren't actually Django Models * Fix minimal DataSet creation and rename file to `dataset_factory` * Set proper ownership so that Datasets show up on the LaunchPad for the logged in user * Move imports to correct location * Fix one-off error * Add reused methods to `selenium/utils/utils.py` and refactor tests accordingly * It looks like Saucelabs may have a runtime limit, so 50 Datasets being deleted is taking too long * Add ownership information to list of analyses return from DataSetResource * Add Analysis ownership information so that its available within analysisDeletionModal * adjust dashboard.readableDate method to be accepting of differently formatted dates * Update both Analysis and Dataset deletion modals * Adjust analysis list's style to be more uniform with datasets look on the launchpad * Update test to check for Analysis ownership within DataSet API v1 response * Adjust error message text * add method to create minimal Datasets with Analyes * Remove HTTP status codes from ui error messages * Add ids to aid selenium testing * Adjust Dataset delete modal layout * remove title arg as Analyses have no title field * Remove title field from factory definition as well * Change `dataset` arg to `data_set` per Analysis model reqs * Add Factories necessary to create a minimal `Workflow` * Fix for removing too many thing from Solr upon a deletion of an analysis that was run upon derived data * Remove unused import * call set_ownership before analyses get saved * Adjust deletion success and error messages * Add `deleteSuccessful` variable * Add indicator to Datatsets on dashboard about total number of analyses run upon * Remove datasets form DataCart upon deletion * Update analysis and Dataset delete dialogues * add alert-success to analyses list in dataset delete modal * Increase pytest output verbosity * Update Tooltip text * Add `--silent` arg to `nom install` this should get rid of some of the lengthy output, but still output any errors * Add `--silent` arg here as well * Suppress lengthy `pip` output as well * Edit selenium timings * remove tooltip delays * Fix selenium test errors * Add some implicit waiting, I think there may just be a timing issue within Travis * Disallow modal closing while deletion is in progress * `-v` flag is too verbose here * Only need to login once per test suite * Add proper warning colors * Need to login before these tests can run * Try this as it looks like even though login happened the page needs a refresh before datasets show up * Add missing `login` * Check to see if we are still logged in for the second test method * insert some waits to try and figure out the issue with travis * Fix typo * It seems that the removal of `Project` objects in the cleanup method was causing a Django "yellow page" and Travis was complaining about the content of said page. * Handle default case * Adjust factories for usage in create method * Disable controls while deletion is in progress * Remove superfluous alert styling * Re-add `·` throughout launchpad in hopes that travis can handle their encoding now * Change factory method to create a single Dataset with many analyses "run" on it * See if pytest is cool with moving these test fixtures into `utils` * Adjust old tests and add new acceptance test for cascading deletion of analyses * Add ids to aid testing and adjust tests * Create a single Dataset instance and utilize Factory_boy's `django _get_or_create` * Fix undefined var * Creating all of the objects necessary for a Dataset in the loop may have been an issue * Utilize `django _get_or_create` * Override Workflow Factory and provide new `uuid` * Add test to make sure 404s are properly handled on the FrontEnd * See if advice from http://flake8.pycqa.org/en/latest/user/ignoring-errors.html helps * PEP8-ification * Instantiate web driver and pass to login function * Remove pytest fixtures from utils * These flags don't help the output length all that much * Add decorator to pass function calls that pollute Travis log output * Add optional logic to suppress this output in local testing * Reduce pytest verbosity * Add functionality to reduce Travis log output * Remove exclamation marks * Remove unused method * Simplify logic for getting isa/pre-isa archives * Try to append to `PYTHON_PATH` within Travis * Reorder import * Remove redefinition * Rename `import as` to be more easily readable * Cleanup code * Remove unnecessary test * add logger statement * Adjust logic and update test accordingly * Fix formatting * Rename `object` to `dataObj` * Refactor Controllers * Update travis syntax * Refactor `PYTHONPATH` env var and update model factories & selenium test * adjust test * Fx `runserver` output redirection syntax * Add test for common service * Suppress some output on travis * `-v 0` has no helpful effect * Remove more Exclamation marks * Add one more test for potential analysis 404s * Fix one-off error
- Loading branch information