This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Aug 14, 2023
-
-
Kamil Mielnik authored
* Fix initial values not reloading in the action modal * Add a repro test for #33084 * Use cy.button helper
-
- Aug 01, 2023
-
-
Ryan Laurie authored
-
- Jun 27, 2023
-
-
Ryan Laurie authored
* track dashcard events
-
- Jun 21, 2023
-
-
Cal Herries authored
-
- Jun 13, 2023
-
-
Denis Berezin authored
* Add action edit modal call (#31171) * Add action edit from action call form modal * Code review, unit tests * Add e2e test * fixup! Code review, unit tests * Code review, more tests * Add edit action trigger tooltip * Possible fix for read only model * Fix e2e tests
-
- Jun 08, 2023
-
-
Nemanja Glumac authored
* Move core actions E2E tests to a separate folder * Run new `actions` E2E group in CI Metabase actions deserve their own E2E group, as the test suite around them is expected to grow. This commit introduces `actions` E2E group to the CI.
-
- May 11, 2023
-
-
Ryan Laurie authored
* don't allow unscoped text selectors in e2e tests * properly scope some recent tests * disable eslint for legacy violations * scope selectors in dashboard drill test
-
- May 03, 2023
-
-
Cal Herries authored
* Use display name from card for implicit actions * Remove fields arg from generateFieldSettingsFromParameters * Update implicit action test to include display-name * Tidy * Fix unit tests * Fix e2e test * Only include display-name in the parameters for implicit action types * Use `field.displayName()` * Fix some tests * Attempt to fix test * Fix ActionParametersInputForm unit tests * Only generate field settings from parameters if action.type is implicit * Fix e2e tests * Fix unit tests * Fix tests
-
- Mar 29, 2023
-
-
Braden Shepherdson authored
This supports both parsing out the tags and constructing the template tags map, with `card-id` and all. This is not quite a FE no-op because the humanization of text is slightly different between `metabase.util.humanization` and the JS humanization library. This improves JS<->CLJS conversion to handle UUIDs and be smarter about enums, both of which were needed to handle converting template tag maps. Extracted a `js=` test helper to `metabase.test.util.js/=` since many tests need to compare JS objects, which are not JS `==` to each other.
-
- Mar 24, 2023
-
-
Nick Fitzpatrick authored
* Updating to cypress 12 * updating deps * Updating Tests. Be Green Plz * removing custom test id from select button * Select Button Tuning
-
- Mar 20, 2023
-
-
Ryan Laurie authored
* extract model creation helper * update model actions test to actually mutate data * fix merge conflicts and clean up
-
Uladzimir Havenchyk authored
-
- Mar 15, 2023
-
-
Ryan Laurie authored
-
- Mar 13, 2023
-
-
Ryan Laurie authored
* composite key object detail test * add tests for no primary keys * fix rebase * allow db sync to wait on the presence of a specific table
-
- Mar 10, 2023
-
-
dpsutton authored
* List all actions previously `api/action` required `?model-id=<model-id>`. This caused the FE to DOS the backend looping over each action. On stats I found 350 or so sequential requests, with app-db saturation leading to requests taking from 400ms near the beginning to 7seconds near the end. This makes `model-id` option and now returns actions on all models the user can see. ``` ❯ http GET "localhost:3000/api/action" Cookie:$SESSION -pb [ { "archived": false, "creator": {...}, "creator_id": 1, "database_id": 3, "dataset_query": {...}, "id": 1, "model_id": 1, "name": "source = foo", "parameter_mappings": null, "parameters": [...], ... } ... ] ``` * update frontend for action picker to support single action list endpoint * list actions tests * update actions e2e tests * Return empty vector if no results Running tests locally might return some extra actions not asserted on in the tests. And there you might expect a 200. But CI runs with an empty database and returns no response so you get a 204. Quite annoying and there's no good way to expect a "2xx" status code at the moment. So just return the empty vector so it's always a 200 code. * update actions endpoint unit test mocks * Simplify logic a little * docstring tweak * schema with better error message * update mocks to accept optional modelId * simplify sorting and grouping * make sort case-insensitive * simplify action api test mocks --------- Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
- Mar 08, 2023
-
-
Anton Kulyk authored
* Fix dashboard filter values coercsion for actions * update custom action e2e test to cover parameters --------- Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
- Mar 03, 2023
-
-
Ryan Laurie authored
* WIP action data type tests * DRY up the actions tests * lots of type tests * make the tests work * reorganize tests * WIP action data type tests * DRY up the actions tests * lots of type tests * make the tests work * reorganize tests * reduce some flakes * better time formatting in action forms * sort out all the timezones
* update after rebase * rebase disaster
-
- Mar 01, 2023
-
-
Ryan Laurie authored
* WIP action data type tests * DRY up the actions tests * lots of type tests * make the tests work * reorganize tests * reduce some flakes * updates after rebase
-
Nemanja Glumac authored
* Register new E2E path alias * Move E2E support files * Move E2E runner files * Move E2E snapshot related files * Move E2E visual regression tests * Move E2E `downloads` scenarios * Move E2E `admin` scenarios * Move E2E `auditing` scenarios * Move E2E `bining` scenarios * Move E2E `ccollections` scenarios * Move E2E `cross-version` scenarios * Move E2E `custom-column` scenarios * Move E2E `dashboard` scenarios * Move E2E `dashboard-filters` scenarios * Move E2E `dashboard` reproductions * Move E2E `embedding` scenarios * Move E2E `filters` scenarios * Move E2E `joins` scenarios * Move E2E `models` scenarios * Move E2E `native-filters` scenarios * Move E2E `native` scenarios * Move E2E `onboarding` scenarios * Move E2E `organization` scenarios * Move E2E `permissions` scenarios * Move E2E `question` scenarios * Move E2E `visualizations` scenarios * Move E2E `sharing` scenarios * Move E2E `docker-compose` * Fix commands imports * Fix helpers imports * Fix downloads reproductions imports * Fix integration imports * Move visual regression tests * Various fixes * Move `validate-e2e-files` script * Add eslint rules for E2E folder * Improve file paths * Move `cross-version` tests into scenarios * Path fixes * Register E2E alias in tsconfig * Fix failing tests after rebase
-
- Feb 24, 2023
-
-
Ryan Laurie authored
* fallback to generating form metadata from parameters * fix actions test * update unit tests * update e2e test strings
-
- Feb 23, 2023
-
-
Ryan Laurie authored
* add basic implicit action e2e tests * DRY up the actions tests
-
- Feb 20, 2023
-
-
Ryan Laurie authored
* add helpers for actions testing * add basic action execution test * update add action test * add tags and documentation for tags * add tags to model actions spec * update test for new actions adding flow * fix merge conflicts * fix merge conflict again * address review comments * make test more reliable * prettier * prettier
-