This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Mar 01, 2023
-
-
metabase-bot[bot] 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 Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
- Feb 01, 2023
-
-
Aleksandr Lesnenko authored
update specs and ensure users need to wait until stats are loaded
-
- Dec 05, 2022
-
-
Alexander Polyankin authored
-
- Oct 17, 2022
-
-
Nemanja Glumac authored
-
- Oct 04, 2022
-
-
Nemanja Glumac authored
* Replace deprecated `cy.server` with `cy.intercept` * Replace stubbed `cy.route` calls * Fix failed tests * Spy on intercepted routes
-
- Aug 17, 2022
-
-
Nemanja Glumac authored
-
- Jul 06, 2022
-
-
Ryan Laurie authored
* update prettier * update prettier styling
-
- Jun 26, 2022
-
-
Aleksandr Lesnenko authored
-
- Mar 01, 2022
-
-
Nemanja Glumac authored
-
- Feb 14, 2022
-
-
Dalton authored
* Disable sample dataset engine form field * e2e test
-
- Feb 03, 2022
-
-
Noah Moss authored
-
- Jan 20, 2022
-
-
Noah Moss authored
-
- Jan 17, 2022
-
-
Alexander Polyankin authored
-
- Dec 22, 2021
-
-
Alexander Kiselev authored
* add should("be.visible") before clicks on Sample Dataset * add should("be.visible") before clicks when selecting a sample dataset * added findByTextEnsureVisible command to Cypress
-
- Dec 21, 2021
-
-
Noah Moss authored
Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
- Dec 10, 2021
-
-
Alexander Polyankin authored
-
- Dec 06, 2021
-
-
Alexander Polyankin authored
-
- Sep 17, 2021
-
-
Anton Kulyk authored
* Rename dashboard details edit action * Use render props at dashboard edit form * Add enterprise caching plugin * Move dashboard entity forms to own file * Make FormField's margin configurable * Pass custom style to FormField * Use null as a default cacheTTLFormField value * Add tests for DashboardDetailsModal * Add cache_ttl field to DashboardDetailsModal * Add tests for CreateDashboardModal * Test cache_ttl is invisible when creating a dashboard * Remove not used mocks * Add tests for EditQuestionInfoModal * Move question entity forms to own file * Add cache_ttl field to EditQuestionInfoModal * Test cache_ttl is invisible when creating a question * Extract CacheTTLField component * Don't show cache field if caching is disabled * Fix typo * Update cache_ttl field look * Revert "Pass custom style to FormField" This reverts commit 3944ca8ff1dcad478f0f1c3a1973f454447c88c1. * Revert "Make FormField's margin configurable" This reverts commit ca7dc434532038da736012147f6889e6cc01ec11. * Fix CacheTTLField width * Add descriptionPosition prop to FormField * Add DatabaseCacheTTLField * Show cache_ttl field on database form * Use 24h as a default database cache TTL field value * Fallback to database cache_ttl in question form * Remove console.log * Fix request body assertion for CreateDashboardModal * Fix request body assertions for EditQuestionModal * Fix request body assertions for DashboardDetailsModal * Fix cache_ttl not included in `PUT /api/card/:id` * Use simple for for EditQuestionInfoModal * Refactor how unit tests mock caching settings * Add dashboard caching EE test * Add question caching EE test * Add caching e2e test for database add/edit * Remove debug stuff * Add error state to CacheTTLField * Fix DB cache field reverts to default value on 0 * Validate cache_ttl field * Add getQuestionsImplicitCacheTTL helper * Remove redundant tests * Remove not used import * Nomalize `cache_ttl: 0` to null * Fix duplicated card update request * Add QuestionCacheTTLField component * Add test-id to Radio's option names * Use a new cache TTL field for questions * Check setting cache_ttl to null in E2E tests * Style question cache TTL field * Add dashboard ID to query request body * Extend `duration` formatting helper to support hours * Fix default caching duration display * Fix tests * Fix old dashboard edit action title * Fix missing translations * Add prop types to EditQuestionInfoModal * Remove `test.todo` * Simplify `getQuestionsImplicitCacheTTL` * Use `space` style helper * Add `key` prop to `jt` * Move time coverting utils to lib/time * Hide caching field label if just showing the input * Fix unit tests * Fix flacky E2E test * Add hover style for "More options" control * Fix missing translation * Use placeholder for cache inputs * Fix E2E tests to use cache field's placeholder * Feature flag for caching UI
-
- May 19, 2021
-
-
Anton Kulyk authored
* Add basic AddDatabaseHelpCard component * Display database engine on HelpCard * Display help link for cloud instances * Display link to database setup docs * Dispaly help card at `/admin/database/create` * Test help card changes copy on new db page * Display db setup help card on Setup * Display help card only when db engine is selected * Fix not translated string * Use styled-components for AddDatabaseHelpCard
-
- May 03, 2021
-
-
Nemanja Glumac authored
* Improve Cypress runner command line config (#15854) * Rename Cypress CI groups to `e2e-tests` (#15877) * Remove the `node` parameter from Cypress CI job matrix (#15878) * Merge EE Cypress tests with the OSS ones (#15887) * Reorganize test folder: Move e2e support files into a separate folder (#15899) * Refine CI checksum calculation - extract e2e files (#15900)
-
Nemanja Glumac authored
-
- Mar 10, 2021
-
-
Nemanja Glumac authored
* Move user groups above users * Use `email` in a user object instead of `username` * Add `createUser` function - Get rid of `makeUserObject` and store users' group membership directly within the user object * Improve `createUser` function * Add sandboxed user to the main `USERS` object * Use newly constructed `sandboxed` user in tests * Export `signInAsSandboxedUser()` * Fix function name Co-authored-by:
Paul Rosenzweig <paulrosenzweig@users.noreply.github.com> * Fix linter errors * Simplify `createUser()` function * Use user attributes directly in tests * Fix broken tests * Destructure users in tests * Use double quotes * Extract Cypress user data (#15103) * Extract user data in a separate file * Convert `createUser` function to a Cypress custom command * Convert `signIn` function to a Cypress custom command * Convert `signInAsAdmin` function to a Cypress custom command * Convert `signInAsNormalUser` function to a Cypress custom command * Convert `signInAsSandboxedUser` function to a Cypress custom command * Convert `signOut` function to a Cypress custom command * Guard against user groups data falling out of sync Co-authored-by:
Paul Rosenzweig <paulrosenzweig@users.noreply.github.com>
-
- Mar 01, 2021
-
-
Nemanja Glumac authored
* Add custom Cypress log function Shoutout to @filiphric for the original idea and inspiration. * Update all occurrences of `cy.log` * Remove `.only` from a test left by mistake * Reset log counter for each test
-
- Feb 02, 2021
-
-
Dalton authored
-
- Jan 15, 2021
-
-
Nemanja Glumac authored
* Run Cypress OSS tests in isolation (#14372) * Run all tests in isolation for `frontend/test/metabase/scenarios/permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/databases/add.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/hide_tables.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/table.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/databases/list.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/data_ref.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/operators.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/settings.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/trendline.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/reference/databases.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/downloads.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/segments.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/metrics.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/permissions/permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/settings/spinner.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/auth/search.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/auth/signin.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/dashboard_data_permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/dashboard-drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/embed.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/title-drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/loading.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/nested-cards.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/text-box.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/home/activity-page.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/native_subquery.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/visualizations/drillthroughs/chart_drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/nested.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/view.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/visualizations/drillthroughs/dash_drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/home/overworld.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase-db/postgres/custom-column.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/alert/alert.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/parameters-embedded.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/settings/settings.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/databases/edit.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/alert/alert.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/pulse/pulse.cy.spec.js` [ci skip] * Run all tests in isolation for `frontend/test/metabase/scenarios/question/snippets.cy.spec.js` (#14380) * Fix `downloads.cy.spec.js` This file was different on `master`, and that's why the version from `release-x.37.x` branch didn't work. It had to be adjusted to be able to run in isolation. * Fix `pulse.cy.spec.js`
-
- Jan 14, 2021
-
-
Nemanja Glumac authored
* Run all tests in isolation for `frontend/test/metabase/scenarios/permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/databases/add.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/hide_tables.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/table.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/databases/list.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/data_ref.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/operators.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/settings.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/trendline.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/reference/databases.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/downloads.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/segments.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/datamodel/metrics.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/permissions/permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/settings/spinner.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/auth/search.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/auth/signin.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/dashboard_data_permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/dashboard-drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/embed.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/title-drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/loading.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/nested-cards.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/text-box.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/home/activity-page.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/native_subquery.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/visualizations/drillthroughs/chart_drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/nested.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/question/view.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/visualizations/drillthroughs/dash_drill.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/home/overworld.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase-db/postgres/custom-column.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/alert/alert.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/parameters-embedded.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/settings/settings.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/admin/databases/edit.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/alert/alert.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/dashboard/permissions.cy.spec.js` * Run all tests in isolation for `frontend/test/metabase/scenarios/pulse/pulse.cy.spec.js` [ci skip] * Run all tests in isolation for `frontend/test/metabase/scenarios/question/snippets.cy.spec.js` (#14380)
-
- Jan 06, 2021
-
-
Cam Saul authored
* #11907 Repro: Tooltip should display correct value for unaggregated data [ci skip] (#14102) Co-authored-by:
flamber <1447303+flamber@users.noreply.github.com> * #11957 Repro: Changing filters shouldn't drop aggregated filter [ci skip] (#14103) * #13187 Repro: FE should respect (BE) settings for `auto_run_queries` [ci skip] (#14120) * Mac App build script tweaks * Defer the parser and its related construction until it's needed (#14133) Expression parser construction is expensive (mainly due to grammar validation via Chevrotain's performSelfAnalysis). Thus, instantiating the parsers at the initialization time will lead to a signifant delay in DOMContentLoaded, thereby affecting (among others) the embedding performance. To avoid this, simply defer that step until parsing is really needed (which is actually far far later, i.e. when the user is using the notebook). * Add a clarifying comment regarding parser lazy loading * Fix #13187: FE should respect settings for `auto_run_queries` on page load (#14121) Closes #13187 * Remove initial state from `auto_run_queries` * Assert that `auto_run_queries` is ON by default for sample dataset This test confirms that toggle works without explicitly setting the initial state to `true`. * Improve toggle's accessibility Reference: https://a11y-style-guide.com/style-guide/section-forms.html#kssref-forms-toggles * Adjust Cypress tests * #13415 Repro: Visualization type should be respected when entering a question from a dashboard [ci skip] (#14142) * Fix #13299: Misconfigured "Port" label and input fields (#14134) Closes #13299 * Add `aria-labelledby` attribute to numeric form fields * Update affected Cypress tests * #13175 Repro: Can not do arithmetic in filter expressions (#14155) * #14193 Repro: Custom column is dropped after removing filter (that comes after aggregation) [ci skip] (#14197) * Fix 13868 (second try) (#14248) * Fix 13868 * Unskip Cypress test * #14255 Repro: CC and table column same name [REGRESSION] [ci skip] (#14267) * Backport migrations fixups from master (#14276) * Misc code improvements (#14247) * Add test-cypress-open-no-backend * Enable test endpoints for dev * More are+ test util function to metabase.test * Improve the way with-temp-defaults are reloaded for models * Simplify defendpoint macro a bit; convert tests to new style * Rework a few more tests * Code cleanup Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> Co-authored-by:
flamber <1447303+flamber@users.noreply.github.com> Co-authored-by:
Ariya Hidayat <ariya@metabase.com>
-
- Dec 18, 2020
-
-
Nemanja Glumac authored
Closes #13187 * Remove initial state from `auto_run_queries` * Assert that `auto_run_queries` is ON by default for sample dataset This test confirms that toggle works without explicitly setting the initial state to `true`. * Improve toggle's accessibility Reference: https://a11y-style-guide.com/style-guide/section-forms.html#kssref-forms-toggles * Adjust Cypress tests
-
- Dec 17, 2020
-
- Mar 11, 2020
-
-
Tom Robinson authored
-
- Jan 17, 2020
-
-
Tom Robinson authored
-
- Jan 09, 2020
-
-
Tom Robinson authored
Consolidate our two Select components, implement with AccordionList.
-