Commit Graph
51 Commits
Author SHA1 Message Date
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
Dannon Baker 3a97740dfa Refactor tests, add trackster mock (dependency chain here is rough,
including multiple module types.
2020-08-31 15:21:18 -04:00
Dannon Baker 8d11ab3b54 Include tests directory in module search path (right now some tests are looking for qunit functionality?) 2020-08-31 15:21:18 -04:00
Dannon Baker 06f692691c Add config and localization mocks. Config mock stays, localization mock can go when we refactor i18n. Also add webpack public path which we expect to exist globally. 2020-08-31 15:21:17 -04:00
Dannon Baker a97657120b Mock style imports to nothing for unit tests; these should never be relevant. Additionally, refactor placement of jest config. 2020-08-31 15:21:17 -04:00
Dannon Baker 2f8b7d1d3b add babel bridge for vue-jest peer issue 2020-08-31 15:21:17 -04:00
Dannon Baker 61c684000b Convert jobMetricsStore test to jest 2020-08-31 15:21:17 -04:00
Dannon Baker d0618f9aa0 Rename qunit test bundle 2020-08-31 15:21:17 -04:00
Dannon Baker fd0fb33cc2 Rename mocha tests; adjust entry 2020-08-31 15:21:17 -04:00
Dannon Baker 07c3964c24 Rebase+refactor karma/qunit test entrypoint. 2020-08-31 15:21:17 -04:00
John Chilton ce151a4454 Package rules specification.
It is used in many different places.
2020-08-24 11:13:41 -04:00
Dannon Baker 15e3cffbce Inject backdrop styles directly into page since we want to test for
their application here.

Check for default inline-block instead of fixed block, when reviewing whether the delete button is visible or not.

Drop some qunit form test cruft
2020-08-11 10:26:06 -04:00
Dannon Baker ba50682845 Drop styles from qunit tests -- this should never have been required.
Two tests will fail, but I'll fix them.
2020-08-11 10:26:06 -04:00
Dannon Baker a44bff7cab Drop some cruft, and a todo to add more qunit tests, which we should not do. 2020-08-11 10:26:06 -04:00
Dannon Baker b589063049 Fix qunit tests 2020-08-11 10:26:06 -04:00
Dannon Baker 659bd0cc2d Fix mocha test webpack preprocessing now that the holdover dsl tests are separated 2020-08-11 10:26:06 -04:00
Dannon Baker 7bc731255a Drop unused mocha test entrypoint 2020-08-11 10:26:06 -04:00