This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Nov 19, 2020
-
-
Damon P. Cortesi authored
* Enable enterprise cypress tests (#13756) * Get auditing.cy.spec to pass * Skip custom drill through tests until we replace them * A few updates to the whitelabel test case: - Move custom colors into constant variable to reference throughout - remove some 'it' blocks we didn't need to speed up tests - Remove a few 'wait's - Restructure tests to be a bit more in line with best practices * Update the snippet permissions test: - Create test for just creating snippet as admin - Create test for inability to create snippet as user by default - Quarantine the user snippet creation test * Rename sandboxes * Replace legacy ENABLE_ENTERPRISE_EDITION env variable with MB_EDITION * Add MB_EDITION env variable to Cypress test run * Fix admin settings `auth` cypress test (#13841) [ci skip] * Fix `snippet` Cypress test for CI (#13843) - related: https://github.com/metabase/metabase-enterprise/issues/543 Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
- Nov 13, 2020
-
-
Cam Saul authored
* Mega build script improvements 2 * Fix Circle
-
- Nov 09, 2020
-
-
Nemanja Glumac authored
* Quarantine flaky tests (#13682) (#13683) * Quarantine flaky tests (#13682) * Add TODO note re: `describeWithToken` Co-authored-by: Nemanja Glumac * Add a circleci workflow that runs a set of Cypress smoketests (#12775) * Add a circleci nightly workflow that runs a bigger set of Cypress smoketests * Run this every hour while we're testing it, add a small fix to the admin test * Smoketests: Skip some known failing tests Co-authored-by:
Ariya Hidayat <ariya@metabase.com> * Narrow down the quarantine for chart_drill spec (#13682) (#13699) * CI: Fix the cache key for uberjar for running smoketest (#13698) Smoketest for OSS edition (for now) * Fix `settings/settings.cy.spec.js` flakes (#13701) - isolated flake (`it.only("should surface an error when validation for any field fails (metabase#4506)", () => {...})`) passed 10x (https://github.com/nemanjaglumac/metabase-tests/actions/runs/348275781) - the whole spec passed 20x (https://github.com/nemanjaglumac/metabase-tests/actions/runs/348306177) * CI: Update uberjar oss key for smoketest (#13704) * Fix Cypress flakes in `dashboard/dashboard.cy.spec.js` file (#13703) * Fix flakes in `revisions screen` block * Improve test assertions (there were some rendering problems, so I adjusted the assertions) * Narrow down the quarantine for dash_drill spec (#13682) (#13706) * Fix `metrics.cy.spec.js` flakes (#13709) * Fix `metrics.cy.spec.js` flakes (#13682) * Refactor the test using API * Smoketest: run nightly at 1am PST (#13711) 1 am PST = 09:00 UTC CircleCI cron is for UTC: https://circleci.com/docs/2.0/workflows/#scheduling-a-workflow * Upgrade Cypress to v5.5.0 (#13674) * Upgrade Cypress to v5.5.0 * Needed to unset the `DISPLAY` ENV through `config.yml` to finally make this work! (Reference: https://github.com/cypress-io/cypress/issues/4034#issuecomment-486773042 ) * Improve `segments` tests with the use of API (#13718) * Unquarantine `scenarios/pulse/pulse.cy.spec.js` (#13727) * Unset `DISPLAY` ENV in smoketests CI group (#13732) * Unquarantine ee `custom_drill_through/drill_through.cy.spec.js` [ci skip] (#13734) * Unquarantine `question/nested.cy.spec.js` (#13733) Co-authored-by:
Ariya Hidayat <ariya@metabase.com> Co-authored-by:
Damon P. Cortesi <d.lifehacker@gmail.com>
-
- Nov 06, 2020
-
-
Cam Saul authored
* Mega build script improvements * Look for project.clj to determine root directory since we delete .git on CI for speed * If .git folder is missing (i.e., in CI) fail gracefully * Don't need to generate version file to run Cypress tests, right? * Build uberjar step can cache version.properties (so the Cypress test steps don't need to generate it again) * Flush caches * Update uberjar cache key
-
- Oct 28, 2020
-
-
Ariya Hidayat authored
* Put yaml-lint into devDependencies That way, the CI run is more reproducible (no need to install yaml-lint on the fly). * Attempt to lint YAML files via yarn run * Update the CI workflow dependency for yaml-linter
-
- Oct 23, 2020
-
-
Cam Saul authored
-
- Oct 22, 2020
-
-
Cam Saul authored
-
- Oct 15, 2020
-
-
Nemanja Glumac authored
* Convert `drillthroughs.e2e` tests to Cypress (#13128) [ci skip] Convert e2e tests from drillthroughs.e2e.spec.js to Cypress tests: - frontend/test/metabase/scenarios/visualizations/drillthroughs/chart_drill.cy.spec.js - frontend/test/metabase/scenarios/visualizations/drillthroughs/dash_drill.cy.spec.js Note:Squashed all previous commits in a branch for cleaner output. Co-authored-by: @nemanjaglumac * Convert `Visualization.e2e` tests to Cypress (#13021) [ci skip] Convert e2e tests from Visualization.e2e.spec.js to Cypress tests: - frontend/test/metabase/scenarios/dashboard/text-box.cy.spec.js Original note by @Opalevanescence : "Some of these tests weren't in Cypress yet, so I added them in." Note: Squashed all previous commits in a branch for cleaner output. Co-authored-by: @nemanjaglumac * E2e to cy/port/dashboard (#13013) [ci skip] Convert e2e tests from dashboard.e2e.spec.js to Cypress tests: - frontend/test/metabase/scenarios/dashboard/dashboard.cy.spec.js Affected files: - frontend/test/metabase/scenarios/dashboard/parameters-embedded.cy.spec.js - frontend/test/metabase/scenarios/dashboard/parameters.cy.spec.js * Quarantined breaking Cypress tests (breaking changes introduced with the work on the dashboard UI) Note: Squashed all previous commits in a branch for cleaner output. Co-authored-by: @nemanjaglumac * Convert `alert.e2e` tests to Cypress (#12969) [ci skip] Convert e2e tests from alert.e2e.spec.js to Cypress tests: - frontend/test/metabase/scenarios/alert/alert.cy.spec.js - frontend/test/metabase/scenarios/alert/alert_auth.cy.spec.js * Quarantined breaking Cypress tests (cannot use email setup in CI) Note: Squashed all previous commits in a branch for cleaner output. Co-authored-by: @nemanjaglumac * Convert `initial_collection.e2e` tests to Cypress (#12968) Convert e2e tests from initial_collection.e2e.spec.js to Cypress tests: - frontend/test/metabase/scenarios/collection_defaults.cy.spec.js * Quarantined breaking Cypress tests (cannot use email setup in CI) Note: Squashed all previous commits in a branch for cleaner output. Co-authored-by: @nemanjaglumac * Delete `PivotByCategoryDrill` e2e test [ci skip] * Delete `metadata` e2e tests * Add `metadata` Cypress test [ci skip] - remapped column value (Product ID => Title) * Delete `SettingsAuthenticationOptions` e2e test [ci skip] NOTE: we already have similar CY test in `frontend/test/metabase/scenarios/admin/settings/settings.cy.spec.js`: - `it("should render the proper auth options", () => {...})` * Delete `segments` e2e test [ci skip] existing CY test file: `frontend/test/metabase/scenarios/admin/datamodel/segments.cy.spec.js` * Delete end-to-end related support and helper files * Remove e2e tests from CircleCI config [ci skip] * Delete references of e2e tests in documentation and replace them with Cypress [ci skip] * Fix and update dashboard related Cypress tests * Fix `parameters` cy test * Fix `metadata` failing test * Fix `parameters` failing test Note: - Asserting on "Rows 1-1 of 2000" was bad idea because card is different size in CI. - The number of visible rows directly depend on the card size Co-authored-by:
Jessica DeWitt <58329466+Opalevanescence@users.noreply.github.com>
-
- Oct 13, 2020
-
-
Cam Saul authored
* Feature/postgres cypress tests (#13311) Add Postgress tests to Cypress test suite This commit is introducing a new feature by adding a possibility to test Postgress related issues. It adds an updated CI configuration that plays nice with [Docker QA database](https://github.com/metabase/metabase-qa ) (postgress-12). It also adds a few repros, listed below: * Add repro for #12762 * Add repro for #13263 (#13303) --- * Add an example for how to run metabase-qa postgres in CI * Add e2e test for adding/connecting PostgreSQL database (#13296) Co-authored-by: @dacort * Enable test for #13263 * Better error handling for API database list endpoint for invalid drivers * Backport auto-parse-filter-values middleware [ci all] * Parse integers to Longs [ci postgres] Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
- Oct 09, 2020
-
-
Cam Saul authored
* New driver build scripts and fix Google driver build * Install Clojure CLI in Circle CI * Fix driver build script * Build script fix
* More dox * Enforce minimum build Clojure CLI version and address feedback * New metabuild-common directory for shared stuff. Address some PR feedback -
Cam Saul authored
-
Cam Saul authored
* New driver build scripts and fix Google driver build * Install Clojure CLI in Circle CI * Fix driver build script * Build script fix
* More dox * Enforce minimum build Clojure CLI version and address feedback * New metabuild-common directory for shared stuff. Address some PR feedback
-
- Oct 08, 2020
-
-
Cam Saul authored
* New driver build scripts and fix Google driver build * Install Clojure CLI in Circle CI * Fix driver build script * Build script fix
* More dox * Enforce minimum build Clojure CLI version and address feedback * New metabuild-common directory for shared stuff. Address some PR feedback -
Nemanja Glumac authored
* Remove Selenium from the project [ci skip] * Remove karma [ci skip] Note: a huge help was [this](https://github.com/metabase/metabase/pull/9232/commits/8986c457f83dc5d0caacb9d4caf8e030f142707a) unmerged commit by Tom Robinson. * Remove webchauffeur * Remove unsupported tests * Temporarily skip Cypress flake (blocking the merge of #13401)
-
- Oct 06, 2020
-
-
Cam Saul authored
* More i18n verification in CI * Fix CI failures * Fixes
-
- Oct 02, 2020
-
-
Nemanja Glumac authored
Add Postgress tests to Cypress test suite This commit is introducing a new feature by adding a possibility to test Postgress related issues. It adds an updated CI configuration that plays nice with [Docker QA database](https://github.com/metabase/metabase-qa) (postgress-12). It also adds a few repros, listed below: * Add repro for #12762 * Add repro for #13263 (#13303) --- * Add an example for how to run metabase-qa postgres in CI * Add e2e test for adding/connecting PostgreSQL database (#13296) Co-authored-by: @dacort
-
- Jun 15, 2020
-
-
Robert Roland authored
This will make us check if the driver test should be skipped before attempting to fetch the 3rd party JDBC drivers. This will stop us from checking Oracle and Vertica on PR submissions from forks.
-
- May 29, 2020
-
-
Cam Saul authored
* Faster driver build strip-and-compress step by not loading Metabase core * New cache key for FE deps * Cache built drivers & local Maven installation of metabase-core * Only cache the built driver JARs * Cache built frontend * Change driver cache key * Try updating a specific driver [ci snowflake] * Try updating a different driver [ci redshift] [ci snowflake] * Need to cache driver checksums as well [ci snowflake] [ci redshift] * Tweak what's cached for drivers (again)
-
- May 28, 2020
-
-
Cam Saul authored
-
- May 26, 2020
-
-
Cam Saul authored
-
Cam Saul authored
-
Cam Saul authored
* Fix parsing commit messages in CI * Looks like CI works * Add codecov.yml
-
Cam Saul authored
-
Tom Robinson authored
* enable parallel cypress * add grouping, different approach to parallelism
-
- May 14, 2020
-
-
Cam Saul authored
-
- May 11, 2020
-
-
Cam Saul authored
* Fix parsing commit messages in CI * Looks like CI works * Add codecov.yml
-
Cam Saul authored
-
Tom Robinson authored
* enable parallel cypress * add grouping, different approach to parallelism
-
- Apr 15, 2020
-
-
Damon P. Cortesi authored
* Add database-specific tests to Cypress (starting with Mongo) * Initial changes to Cypress to allow a limited set of tests to run * Include drivers in frontend uberjar
-
- Mar 09, 2020
-
-
Cam Saul authored
-
- Feb 25, 2020
- Feb 14, 2020
-
-
Walter Leibbrandt authored
-
- Jan 28, 2020
-
-
Tom Robinson authored
-
- Jan 21, 2020
-
-
Cam Saul authored
-
Cam Saul authored
* Add MySQL latest, MariaDB 10.2, and MariaDB latest to CI [ci mysql] * Add upper limit to number of results returned by GET /api/search endpoint * Rewrite tests in metabase.api.search-test to use new style * Rework DB & test component init code so they can be retried after failing without having to restart REPL/redefine vars * Log application DB product/version info; include in troubleshooting info * Log DB version info when starting tests
-
- Jan 10, 2020
-
-
Cam Saul authored
-
Walter Leibbrandt authored
-
- Jan 08, 2020
-
-
Walter Leibbrandt authored
* Fix LDAP groups sync This is bug to LDAP servers that communicates group membership via the `memberOf` overlay, introduced by #11412, where attribute keys were all lower cased to support case insensitive matching. The hard-coded lookup of the `:memberOf` key was not similarly lower cased. * Save CircleCI-built uberjar as build artifact * Update comment to mention FreeIPA also uses `memberOf`
-