Commit Graph
167 Commits
Author SHA1 Message Date
guerler cfab5a352c Fix qunit test, parse inputs instead of entire form model 2021-08-25 05:29:58 -04:00
Dannon Baker 7bd0da8b83 Update jest config for new yaml loading 2021-08-20 13:33:05 -04:00
Dannon Baker 2ade88fabe Merge remote-tracking branch 'upstream/dev' into webpack5 2021-08-20 09:03:51 -04:00
Mason Houtz c4951e86ab beta history, editing ui fixes 2021-08-17 13:37:54 -07:00
Dannon Baker 9dad06c672 Force jsdom environment globally for tests, instead of node 2021-07-27 09:42:37 -04:00
Dannon Baker c10d772b3b Map setImmediate in jest setup -- pouch related tests fail otherwise. 2021-07-27 09:42:12 -04:00
Dannon add562faba Merge pull request #12031 from guerler/vueify_tool_form
Vueify Tool Form Wrapper
2021-07-13 15:11:23 -04:00
mvdbeek 87cd4ad3c7 Merge branch 'release_21.05' into dev 2021-06-30 18:50:01 +02:00
Dannon Baker ad4e612e5a Update imports for our bootstrap-tour republish 2021-06-30 09:54:35 -04:00
Assunta DeSanto fc6dbeb47a exporting datasets3 for test failure 2021-06-16 18:35:56 -04:00
Assunta DeSanto abde1b8f7b added test case for period at end of pair name 2021-06-16 12:29:27 -04:00
Assunta DeSanto 74836a72bd adding test case for pair name, fixing other listpaired test case 2021-06-16 12:08:23 -04:00
mvdbeek 03e0e30d5e Merge branch 'release_21.05' into dev 2021-06-15 16:42:16 +02:00
mvdbeek 90ccfefe9a Add switch for optional select in workflow editor
If the `Set value for this optional select field ? `switch is set to no
we serialize the value as `null` instead of `""`, which is especially
important in optional select fields, where `""` may correspond to an
option that is distinct from not setting a value.

I have only enabled this for select parameters that are cast to text
parameters, but I think this discrimination between set and unset
would also be great for optional text parameters.
There might be a better way to do it in the UI (maybe some icon that
indicates that the value is set, that can be toggled with an backspace
when the field is empty?), but I think this will do for the relatively
rare case of optional select parameters that are cast to text fields.

Fixes https://github.com/galaxyproject/galaxy/issues/12081
2021-06-14 12:49:51 +02:00
guerler c54e5fad40 Replace legacy tool form wrapper with Vue component 2021-06-07 00:15:54 -04:00
guerler 8e5ca4a1fc Adust qunit test cases 2021-05-20 11:13:36 -04:00
Mason Houtz 8ffb41e8d6 new hcp and scroller implementation 2021-04-13 20:11:53 -07:00
Nicola Soranzo 6c540932c7 Merge branch 'release_21.01' into dev 2021-03-12 19:01:35 +00:00
mvdbeek e49d6a3c46 Make NodeInput/NodeOutput reactive 2021-03-08 22:06:10 +01:00
Mason Houtz be81d2ec09 fixed styleguide 2021-02-22 09:25:04 -08:00
Mason Houtz 60efa8e094 history load fixes, rxjs provider debugging, upload init isolation 2021-02-03 08:46:32 -08:00
John Chilton 0819a247dc Merge pull request #10240 from assuntad23/feature/convert-collections-to-vue
Converting Collections to Vue
2021-01-11 22:03:41 -05:00
Mason Houtz 7c2649c7ec Minor test cleanup 2021-01-06 16:47:49 -08:00
Assunta DeSanto 0d0f4b2eac Merge branch 'dev' of https://github.com/galaxyproject/galaxy into feature/convert-collections-to-vue 2021-01-04 10:31:24 -05:00
Mason Houtz eff56d1219 updated configs, wipeDatabase function, changes sharing 2020-12-30 12:09:44 -08:00
Assunta DeSanto 107e22d851 Merge branch 'dev' of https://github.com/galaxyproject/galaxy into feature/convert-collections-to-vue 2020-12-18 14:34:45 -05:00
Mason 36b129a821 swapped manual localization directive for centralized localization plugin 2020-12-18 00:28:49 -08:00
Dannon Baker 54fbafee36 Swap tests of components with bs-vue tip/pops to use a localvue with
mocked directives for bs-vue tips/popovers
2020-12-17 18:52:49 -05:00
Dannon Baker b5522baf68 Mock bootstrap-vue popovers too 2020-12-17 13:36:06 -05:00
Dannon Baker fad0489e99 Test mocking the bootstrap-vue tooltip directive with a no-op; this way we can still get other warnings. 2020-12-17 12:47:09 -05:00
Mason a8d195c2ea suppress bootstrap warnings during unit testing 2020-12-17 08:41:53 -08:00
Assunta DeSanto 8de8634b8b fixing merge issue 2020-12-17 10:28:11 -05:00
Dannon Baker 690f639bfa Drop getNewAttachNode 'helper' completely 2020-12-17 09:04:36 -05:00
Dannon Baker 8ae60f2802 Fix duplicate manual mock discovery.
jest-haste-map: duplicate manual mock found: index
  The following files share their name; please delete one of them:
    * <rootDir>/src/app/__mocks__/index.js
    * <rootDir>/src/components/History/caching/__mocks__/index.js
2020-12-17 08:53:00 -05:00
Mason 65a60d0bab removed babel rewire, removed global Vue in jest tests, removed jest helper which accessed document 2020-12-16 20:54:07 -08:00
Mason 1e484b4b95 entirely new files, should be no conflicts 2020-12-14 18:41:55 -08:00
Mason 623f2b1830 Workflow run changes 2020-12-14 17:09:07 -08:00
Assunta DeSanto 12920edb8e fixing some text, removing reference to old tes 2020-12-14 14:31:46 -05:00
Assunta DeSanto 0b3fdef59c adding test, running prettier, removing old class and old test 2020-12-14 00:27:01 -05:00
John Chilton 0215c418e1 Tool and workflow metadata & microdata. 2020-11-09 00:02:17 -05:00
mvdbeek 8ef1a8f51e Make force_datatype a computated property
This is effectively the same as
https://github.com/galaxyproject/galaxy/pull/10237 which doesn't apply
to dev anymore.
2020-09-22 15:19:34 +02:00
Dannon Baker d5bad2e29a Add 'emit' to app mock, fix DataDialog chatty test due to non-shallow mounting 2020-08-31 17:41:44 -04:00
Dannon Baker dd577e43ef Disable XMLHttpRequest for testing; I don't understand what in rxjs (?)
was making this an issue, but this should fix the outstanding tests.
2020-08-31 16:08:20 -04:00
Dannon Baker 307ffecf9f Drop mocha completely, including 'test-watch' endpoint. Explicit is
better than implicit, so we're using `jest-watch` now, since the qunit
is dead and wasn't watched anyway.
2020-08-31 15:21:19 -04:00
Dannon Baker 6b542c41b2 Add jest raw loader for sourcing test data; convert tags tests. One outstanding that needs more mocking. 2020-08-31 15:21:18 -04:00
Dannon Baker 1caf65f3f7 RuleDefinitions tests, inclusion of jest-yaml. 2020-08-31 15:21:18 -04:00
Dannon Baker e71ca71c5e Add mount helper to work around https://github.com/vuejs/vue-test-utils/issues/1578
Workflow test conversion, they pass.  A few chatty bits to clean up.
Make unit test galaxy object access quieter.
2020-08-31 15:21:18 -04:00
Dannon Baker 9642cf8083 Transform direct import of vue component for form input via jest config; fix remaining cloudauth test. Still chatty, but it passes; need to address deprecations down the road. 2020-08-31 15:21:18 -04:00
Dannon Baker 10d456f839 Attach masthead item to document; fixes bootstrap-vue chatty warnings 2020-08-31 15:21:18 -04:00
Dannon Baker 6213b36be0 Add jest-dom for things like 'isVisible', etc. 2020-08-31 15:21:18 -04:00