2952 passed, 36 failed and 0 skipped
✅ target/junit/metabase.actions_test.xml
19 tests were completed in 17s with 19 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.analytics.prometheus_test.xml
2 tests were completed in 584ms with 2 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.analytics.snowplow_test.xml
4 tests were completed in 355ms with 4 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.analytics.stats_test.xml
7 tests were completed in 580ms with 7 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.action_test.xml
12 tests were completed in 10s with 12 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.activity_test.xml
2 tests were completed in 324ms with 2 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.alert_test.xml
15 tests were completed in 3s with 15 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.automagic_dashboards_test.xml
10 tests were completed in 4s with 10 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.bookmark_test.xml
3 tests were completed in 225ms with 3 passed, 0 failed and 0 skipped.
❌ target/junit/metabase.api.card_test.xml
93 tests were completed in 15s with 92 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
metabase.api.card-test | 92✅ | 1❌ | 15s |
❌ metabase.api.card-test
✅ cache-ttl-save
✅ update-embedding-params-test
✅ description-should-be-blankable-as-well
✅ create-card-with-collection-position
✅ pivot-card-test
✅ share-already-shared-card-test
✅ can-we-change-the-collection-position-of-a-card-
✅ bulk-move-cards
✅ model_id-requied-when-f-is-table
✅ check-that-we-can-delete-a-card
✅ saving-card-fetches-correct-metadata
✅ csv-download-test
✅ change-both-collection-and-position-test
✅ we-shouldn-t-be-able-to-archive-cards-if-we-don-t-have-collection--write--perms
✅ make-sure-we-can-create-a-card-and-specify-its--collection-id--at-the-same-time
✅ test-that-we-can-fetch-a-list-of-publicly-accessible-cards
✅ filter-by-archived-test
✅ make-sure-we-card-creation-fails-if-we-try-to-set-a--collection-id--we-don-t-have-permissions-for
✅ set-card-collection-id-test
✅ moving-a-card-without-a-collection-position-keeps-the-collection-position-nil
✅ filter-by-recent-test
✅ check-to-make-sure-we-can-move-a-card-in-a-collection-of-just-cards
✅ download-response-headers-test
✅ fetch-results-metadata-test
✅ paramters-using-old-style-field-values
✅ check-that-we-aren-t-allowed-to-move-cards-if-we-don-t-have-permissions-for-destination-collection
✅ filter-cards-by-db-test
✅ changed?-test
✅ filter-by-bookmarked-test
✅ parameters-with-source-is-card-test
✅ update-card-parameter-mappings-test
✅ parameters-with-source-is-static-list-test
✅ timelines-range-test
✅ test-that-we-can-bulk-remove-some-cards-from-a-collection
✅ authentication-test
✅ create-card-check-adhoc-query-permissions-test
✅ move-existing-card-update-positions-test
✅ check-that-we-aren-t-allowed-to-move-cards-if-we-don-t-have-permissions-for-the-card
❌ download-default-constraints-test
http_client.clj:174
✅ update-verified-card-test
✅ filter-cards-by-table-test
✅ model-id-requied-when-f-is-database-test
✅ get-series-for-card-type-check-test
✅ updating-card-updates-metadata
✅ alert-deletion-test
✅ can-we-update-a-card-s-archived-status-
✅ save-card-with-empty-result-metadata-test
✅ timelines-test
✅ give-existing-card-a-position-test
✅ add-new-card-update-positions-test
✅ refresh-persistence
✅ gets-a-card
✅ test-that-we-can-edit-a-card
✅ get-series-check-compatibility-test
✅ updating-a-card-that-doesnt-exist-should-give-a-404
✅ test-related-recommended-entities
✅ create-a-card
✅ update-card-validation-test
✅ filter-by-using-model
✅ test-that-we-can-fetch-a-list-of-embeddable-cards
✅ copy-card
✅ changing-the-display-type-from-line-to-area-bar-is-fine-and-doesnt-delete-the-alert
✅ need-permission-for-collection
✅ share-card-preconditions-test
✅ ---we-shouldn-t-be-able-to-if-we-don-t-have-permissions-for-the-collection
✅ save-empty-card-test
✅ create-card-validation-test
✅ unshare-card-test
✅ create-card-disallow-setting-enable-embedding-test
✅ filter-by-popular-test
✅ unshare-card-preconditions-test
✅ clear-description-test
✅ get-series-for-card-permission-test
✅ json-download-test
✅ change-collections-update-positions-test
✅ we-shouldn-t-be-able-to-unarchive-cards-if-we-don-t-have-collection--write--perms
✅ sereies-are-compatible-test
✅ update-card-require-parent-perms-test
✅ change-collection-permissions-test
✅ ---and-unset--unpin--it-as-well-
✅ share-card-test
✅ dataset-card
✅ test-that-we-can-bulk-move-some-cards-from-one-collection-to-another
✅ update-card-parameters-test
✅ check-that-we-aren-t-allowed-to-move-cards-if-we-don-t-have-permissions-for-source-collection
✅ paging-and-filtering-works-for-series-card-test
✅ fetch-card-test
✅ can-we-change-the-collection-preview-flag-of-a-card-
✅ deleting-a-card-that-doesnt-exist-should-return-a-404---1957-
✅ test-that-we-can-bulk-move-some-cards-with-no-collection-into-a-collection
✅ run-query-with-parameters-test
✅ update-card-check-adhoc-query-permissions-test
✅ xlsx-download-test
✅ target/junit/metabase.api.collection_test.xml
21 tests were completed in 5s with 21 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.common_test.xml
4 tests were completed in 10ms with 4 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.common.internal_test.xml
10 tests were completed in 68ms with 10 passed, 0 failed and 0 skipped.
❌ target/junit/metabase.api.dashboard_test.xml
68 tests were completed in 16s with 67 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
metabase.api.dashboard-test | 67✅ | 1❌ | 16s |
❌ metabase.api.dashboard-test
✅ valid-filter-fields-test
✅ update-dashboard-change-collection-position-test
✅ update-dashboard-test
✅ delete-test
✅ update-dashboard-guide-columns-test
✅ delete-public-link-test
✅ delete-cards-test
✅ revert-dashboard-test
✅ dashboard-card-query-test
✅ chain-filter-invalid-parameters-test
✅ mappings->field-ids-test
✅ insert-dashboard-no-position-test
✅ create-dashboard-test
✅ update-dashboard-position-test
✅ update-dashboard-clear-description-test
✅ fetch-dashboard-test
✅ dashboard-card-query-pivot-test
✅ fetch-embeddable-dashboards-test
✅ create-dashboard-with-collection-position-test
✅ chain-filter-not-found-test
✅ chain-filter-should-use-cached-field-values-test
✅ chain-filter-human-readable-values-remapping-test
✅ insert-dashboard-increment-existing-collection-position-test
✅ dashcard-execution-fetch-prefill-test
✅ copy-dashboard-cards-test
✅ param-values-test
✅ related-and-recommended-entities-test
✅ parameter-values-from-card-test
✅ native-query-get-params-test
❌ dashboard-card-query-export-format-test
dashboard_test.clj:2595
✅ chain-filter-fk-field-to-field-remapping-test
✅ cards-to-copy-test
✅ dashcard-custom-action-execution-auth-test
✅ update-cards-parameter-mapping-permissions-test
✅ new-dashboard-card-with-additional-series-test
✅ add-card-parameter-mapping-permissions-test
✅ move-dashboard-to-different-collection-test
✅ dashcard-action-execution-type-test
✅ fetch-public-dashboards-test
✅ add-query-average-duration-to-dashcards-test
✅ dashboard-with-static-list-parameters-test
✅ dashboard-chain-filter-test
✅ chain-filter-field-to-field-remapping-test
✅ update-cards-for-copy-test
✅ update-action-cards-test
✅ auth-test
✅ update-cards-test
✅ dashboard-card-query-parameters-test
✅ dashcard-implicit-action-execution-auth-test
✅ dashcard-query-action-execution-test
✅ simple-creation-with-no-additional-series-test
✅ dashcard->query-hashes-test
✅ dashcard-action-execution-granular-auth-test
✅ copy-dashboard-into-correct-collection-test
✅ fetch-revisions-test
✅ chain-filter-search-test
✅ dashcard-http-action-execution-test
✅ dashcard-implicit-action-only-expose-and-allow-model-fields
✅ dashcard-implicit-action-execution-test
✅ dashcards->query-hashes-test
✅ update-dashboard-change-collection-id-test
✅ copy-dashboard-test
✅ share-dashboard-test
✅ dashcard-action-create-update-test
✅ create-dashboard-validation-test
✅ fetch-dashboard-permissions-test
✅ get-dashboard-test
✅ dashboard-chain-filter-permissions-test
❌ target/junit/metabase.api.database_test.xml
38 tests were completed in 4s with 36 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
metabase.api.database-test | 36✅ | 2❌ | 4s |
❌ metabase.api.database-test
❌ autocomplete-suggestions-test
http_client.clj:174
✅ validate-database-test
✅ can-rescan-fieldvalues-for-a-db
✅ get-schemas-test
✅ db-ids-with-deprecated-drivers-test
✅ discard-db-fieldvalues
✅ disallow-creating-h2-database-test
✅ nonadmins-cant-trigger-rescan
✅ database-local-settings-come-back-with-database-test
✅ dismiss-spinner-test
✅ create-db-test
✅ non-admins-cant-trigger-sync
✅ fetch-database-fields-test
✅ get-schemas-should-not-return-schemas-with-no-visible-tables
✅ fetch-database-metadata-include-hidden-test
✅ get-schema-tables-test
✅ databases-list-include-saved-questions-test
✅ upsert-sensitive-values-test
✅ update-schedules-for-existing-db
✅ databases-list-test
✅ enable-model-actions-with-user-controlled-scheduling-test
✅ fetch-database-metadata-test
✅ admins-set-database-local-settings-test
✅ secret-file-paths-returned-by-api-test
✅ slashes-in-identifiers-test
❌ card-autocomplete-suggestions-test
http_client.clj:174
✅ db-metadata-saved-questions-db-test
✅ create-new-db-with-custom-schedules-test
✅ update-database-test
✅ get-database-usage-info-test
✅ get-database-test
✅ nonadmins-cant-discard-all-fieldvalues
✅ trigger-metadata-sync-for-db-test
✅ databases-list-include-saved-questions-tables-test
✅ fetch-db-with-expanded-schedules
✅ disallow-updating-h2-database-details-test
✅ delete-database-test
✅ fetch-databases-with-invalid-driver-test
✅ target/junit/metabase.api.dataset_test.xml
14 tests were completed in 2s with 14 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.email_test.xml
4 tests were completed in 483ms with 4 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.embed_test.xml
61 tests were completed in 7s with 61 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.field_test.xml
27 tests were completed in 1s with 27 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.geojson_test.xml
8 tests were completed in 9s with 8 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.google_test.xml
1 tests were completed in 25ms with 1 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.ldap_test.xml
2 tests were completed in 364ms with 2 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.login_history_test.xml
No tests found
✅ target/junit/metabase.api.metric_test.xml
13 tests were completed in 484ms with 13 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.native_query_snippet_test.xml
6 tests were completed in 315ms with 6 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.notify_test.xml
4 tests were completed in 78ms with 4 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.permissions_test.xml
15 tests were completed in 990ms with 15 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.persist_test.xml
1 tests were completed in 51ms with 1 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.premium_features_test.xml
1 tests were completed in 15ms with 1 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.preview_embed_test.xml
18 tests were completed in 2s with 18 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.public_test.xml
76 tests were completed in 7s with 76 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.pulse_test.xml
25 tests were completed in 5s with 25 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.query_description_test.xml
1 tests were completed in 105ms with 1 passed, 0 failed and 0 skipped.
✅ target/junit/metabase.api.revision_test.xml
6 tests were completed in 202ms with 6 passed, 0 failed and 0 skipped.
❌ target/junit/metabase.api.search_test.xml
16 tests were completed in 4s with 5 passed, 11 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
metabase.api.search-test | 5✅ | 11❌ | 4s |
❌ metabase.api.search-test
❌ table-test
search_test.clj:564
❌ basic-test
search_test.clj:243
❌ archived-results-test
search_test.clj:491
❌ collection-namespaces-test
search_test.clj:627
❌ database-test
search_test.clj:470
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 0 in target/junit/metabase.api.card_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.card-test ► download-default-constraints-test
Failed test found in:
target/junit/metabase.api.card_test.xml
Error:
http_client.clj:174
Raw output
http_client.clj:174
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query
{:database 1,
:type :query,
:query {:source-table 1},
:middleware {:add-default-userland-constraints? true, :userland-query? true}},
:display :table,
:name "EOJLSSGMQPJTLNHKBDIZ",
:visualization_settings {}}
with temporary :metabase.models.collection/Collection with attributes
{:name "VBEYPMZWCJJRNWKAPUMM", :color "#ABCDEF"}
Sanity check: this CSV download should not be subject to C O N S T R A I N T S
POST http://localhost:3001/api/card/160/query/csv expected a status code of 200, got 500.
expected: (= expected-status-code actual-status-code)
actual: (not (= 200 500))
Check failure on line 0 in target/junit/metabase.api.dashboard_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.dashboard-test ► dashboard-card-query-export-format-test
Failed test found in:
target/junit/metabase.api.dashboard_test.xml
Error:
dashboard_test.clj:2595
Raw output
dashboard_test.clj:2595
POST /api/dashboard/:dashboard-id/dashcard/:dashcard-id/card/:card-id/query/:export-format
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {:database 1, :type :query, :query {:limit 5, :source-table 4}},
:display :table,
:name "KICRRDBEGHHBXFXEFGNU",
:visualization_settings {},
:result_metadata
[{:description nil,
:semantic_type :type/PK,
:coercion_strategy nil,
:name "ID",
:settings nil,
:field_ref [:field 16 nil],
:effective_type :type/BigInteger,
:id 16,
:visibility_type :normal,
:display_name "ID",
:fingerprint nil,
:base_type :type/BigInteger}
{:description nil,
:semantic_type :type/Name,
:coercion_strategy nil,
:name "NAME",
:settings nil,
:field_ref [:field 15 nil],
:effective_type :type/Text,
:id 15,
:visibility_type :normal,
:display_name "Name",
:fingerprint
{:global {:distinct-count 75, :nil% 0.0},
:type
#:type{:Text
{:percent-json 0.0,
:percent-url 0.0,
:percent-email 0.0,
:percent-state 0.0,
:average-length 8.333333333333334}}},
:base_type :type/Text}],
:table_id 4}
with temporary :metabase.models.dashboard/Dashboard with attributes
{:creator_id 2,
:name "EDUVFYTGYMKXWSOJYTFA",
:parameters
[{:name "Category Name", :slug "category_name", :id "_CATEGORY_NAME_", :type "category"}
{:name "Category ID", :slug "category_id", :id "_CATEGORY_ID_", :type "category"}
{:name "Price", :slug "price", :id "_PRICE_", :type "category"}
{:name "ID", :slug "id", :id "_ID_", :type "category"}
{:name "Static Category",
:slug "static_category",
:id "_STATIC_CATEGORY_",
:type "category",
:values_source_type "static-list",
:values_source_config {:values ["African" "American" "Asian"]}}
{:name "Static Category label",
:slug "static_category_label",
:id "_STATIC_CATEGORY_LABEL_",
:type "category",
:values_source_type "static-list",
:values_source_config {:values [["African" "Af"] ["American" "Am"] ["Asian" "As"]]}}
{:id "_CARD_",
:type "category",
:name "CATEGORY",
:values_source_type "card",
:values_source_config {:card_id 375, :value_field [:field 15 nil]}}]}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {:database 1, :type :query, :query {:source-table 1}},
:display :table,
:name "JEHHAFARRSNNNYJMMRTR",
:visualization_settings {},
:table_id 1}
with temporary :metabase.models.dashboard-card/DashboardCard with attributes
{:row 0,
:col 0,
:size_x 4,
:size_y 4,
:card_id 376,
:dashboard_id 91,
:parameter_mappings
[{:parameter_id "_CATEGORY_NAME_", :card_id 376, :target [:dimension [:field 15 {:source-field 5}]]}
{:parameter_id "_CATEGORY_ID_", :card_id 376, :target [:dimension [:field 5 nil]]}
{:parameter_id "_PRICE_", :card_id 376, :target [:dimension [:field 6 nil]]}
{:parameter_id "_ID_", :card_id 376, :target [:dimension [:field 2 nil]]}
{:parameter_id "_ID_", :card_id 376, :target [:dimension [:field 2 nil]]}
{:parameter_id "_STATIC_CATEGORY_", :card_id 376, :target [:dimension [:field 15 {:source-field 5}]]}
{:parameter_id "_STATIC_CATEGORY_LABEL_", :card_id 376, :target [:dimension [:field 15 {:source-field 5}]]}]}
Export format = :csv
expected: (=
(streaming.test-util/process-query-basic-streaming
export-format
(mt/mbql-query venues {:filter [:= $price 4]}))
(parse-export-format-results
(mt/user-http-request
:rasta
:post
200
url
{:request-options {:as :byte-array}}
:parameters
(json/generate-string [{:id "_PRICE_", :value 4}]))
export-format))
actual: (not
(=
()
(["ID" "Name" "Category ID" "Latitude" "Longitude" "Price"]
["16" "Pacific Dining Car - Santa Monica" "67" "34.0367" "-118.476" "4"]
["55" "Dal Rae Restaurant" "67" "33.983" "-118.096" "4"]
["61" "Lawry's The Prime Rib" "67" "34.0677" "-118.376" "4"]
["77" "Sushi Nakazawa" "40" "40.7318" "-74.0045" "4"]
["79" "Sushi Yasuda" "40" "40.7514" "-73.9736" "4"]
["81" "Tanoshi Sushi & Sake Bar" "40" "40.7677" "-73.9533" "4"])))
Check failure on line 0 in target/junit/metabase.api.database_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.database-test ► autocomplete-suggestions-test
Failed test found in:
target/junit/metabase.api.database_test.xml
Error:
http_client.clj:174
Raw output
http_client.clj:174
GET /api/database/:id/autocomplete_suggestions
GET http://localhost:3001/api/database/1/autocomplete_suggestions?prefix=u expected a status code of 200, got 204.
expected: (= expected-status-code actual-status-code)
actual: (not (= 200 204))
Check failure on line 0 in target/junit/metabase.api.database_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.database-test ► card-autocomplete-suggestions-test
Failed test found in:
target/junit/metabase.api.database_test.xml
Error:
http_client.clj:174
Raw output
http_client.clj:174
GET /api/database/:id/card_autocomplete_suggestions
with temporary :metabase.models.collection/Collection with attributes
{:name "Maz Analytics", :color "#ABCDEF"}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {:database 1, :type :native, :native {:query "SELECT * FROM VENUES"}},
:display :table,
:name "Maz Quote Views Per Month",
:visualization_settings {},
:collection_id 378}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {:database 1, :type :native, :native {:query "SELECT * FROM VENUES"}},
:display :table,
:name "Maz Quote Views Per Day",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {:database 1, :type :native, :native {:query "SELECT * FROM VENUES"}},
:display :table,
:name "Maz Quote Views Per Day",
:visualization_settings {}}
exclude cards without perms
GET http://localhost:3001/api/database/1/card_autocomplete_suggestions?query=maz expected a status code of 200, got 404.
expected: (= expected-status-code actual-status-code)
actual: (not (= 200 404))
Check failure on line 0 in target/junit/metabase.api.search_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.search-test ► table-test
Failed test found in:
target/junit/metabase.api.search_test.xml
Error:
search_test.clj:564
Raw output
search_test.clj:564
You should see Tables in the search results!
with temporary :metabase.models.table/Table with attributes
{:db_id 1, :active true, :name "RoundTable"}
user = :crowberto
expected: (= [(default-table-search-row "RoundTable")] (search-request-data user :q "RoundTable"))
actual: (not
(=
[{:description nil,
:archived nil,
:collection_position nil,
:table_id true,
:bookmark nil,
:database_id true,
:name "RoundTable",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status "incomplete",
:table_name "RoundTable",
:collection {:id false, :name nil, :authority_level nil},
:model "table"}]
[]))
Check failure on line 0 in target/junit/metabase.api.search_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.search-test ► basic-test
Failed test found in:
target/junit/metabase.api.search_test.xml
Error:
search_test.clj:243
Raw output
search_test.clj:243
Basic search, should find 1 of each entity type, all items in the root collection
with temporary :metabase.models.collection/Collection with attributes
{:name "collection test collection", :color "#ABCDEF"}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "ActionModel",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.action/Action with attributes
{:name "action test action", :type :query, :model_id 746}
with temporary :metabase.models.action/QueryAction with attributes
{:action_id 57, :database_id 1, :dataset_query {:database 1, :type :query, :query {:source-table 1}}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2, :database_id 1, :dataset_query {}, :display :table, :name "card test card", :visualization_settings {}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "dataset test dataset",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.dashboard/Dashboard with attributes
{:creator_id 2, :name "dashboard test dashboard"}
with temporary :metabase.models.metric/Metric with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "metric test metric", :table_id 3}
with temporary :metabase.models.segment/Segment with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "segment test segment", :table_id 3}
expected: (= (default-search-results) (search-request-data :crowberto :q "test"))
actual: (not
(=
({:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dashboard test dashboard",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "dashboard"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "card test card",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "card"}
{:description "Lookin' for a blueberry",
:archived false,
:collection_position nil,
:table_id true,
:bookmark nil,
:database_id true,
:name "segment test segment",
:table_schema "PUBLIC",
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name "CHECKINS",
:collection {:id false, :name nil, :authority_level nil},
:model "segment"}
{:description "Lookin' for a blueberry",
:archived false,
:collection_position nil,
:table_id true,
:bookmark nil,
:database_id true,
:name "metric test metric",
:table_schema "PUBLIC",
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name "CHECKINS",
:collection {:id false, :name nil, :authority_level nil},
:model "metric"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark nil,
:database_id true,
:name "action test action",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query {:database 1, :type "query", :query {:source-table 1}},
:model_id true,
:model_name "ActionModel",
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "action"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dataset test dataset",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "dataset"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "collection test collection",
:table_schema nil,
:collection_authority_level nil,
:updated_at false,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "collection"})
[{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dashboard test dashboard",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "dashboard"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "card test card",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "card"}]))
Check failure on line 0 in target/junit/metabase.api.search_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.search-test ► archived-results-test
Failed test found in:
target/junit/metabase.api.search_test.xml
Error:
search_test.clj:491
Raw output
search_test.clj:491
Should return unarchived results by default
with temporary :metabase.models.collection/Collection with attributes
{:name "collection test collection", :color "#ABCDEF"}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "ActionModel",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.action/Action with attributes
{:name "action test action", :type :query, :model_id 779}
with temporary :metabase.models.action/QueryAction with attributes
{:action_id 68, :database_id 1, :dataset_query {:database 1, :type :query, :query {:source-table 1}}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2, :database_id 1, :dataset_query {}, :display :table, :name "card test card", :visualization_settings {}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "dataset test dataset",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.dashboard/Dashboard with attributes
{:creator_id 2, :name "dashboard test dashboard"}
with temporary :metabase.models.metric/Metric with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "metric test metric", :table_id 3}
with temporary :metabase.models.segment/Segment with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "segment test segment", :table_id 3}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "ILCWXLLPMNNHMMNCOBBN",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.action/Action with attributes
{:name "action test action 2", :type :query, :model_id 782, :archived true}
with temporary :metabase.models.action/QueryAction with attributes
{:action_id 69, :database_id 1, :dataset_query {:database 1, :type :query, :query {:source-table 1}}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "card test card 2",
:visualization_settings {},
:archived true}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "dataset test dataset",
:visualization_settings {},
:dataset true,
:archived true}
with temporary :metabase.models.dashboard/Dashboard with attributes
{:creator_id 2, :name "dashboard test dashboard 2", :archived true}
with temporary :metabase.models.collection/Collection with attributes
{:name "collection test collection 2", :color "#ABCDEF", :archived true}
with temporary :metabase.models.metric/Metric with attributes
{:creator_id 2,
:definition {},
:description "Lookin' for a blueberry",
:name "metric test metric 2",
:table_id 3,
:archived true}
with temporary :metabase.models.segment/Segment with attributes
{:creator_id 2,
:definition {},
:description "Lookin' for a blueberry",
:name "segment test segment 2",
:table_id 3,
:archived true}
expected: (= (default-search-results) (search-request-data :crowberto :q "test"))
actual: (not
(=
({:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dashboard test dashboard",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "dashboard"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "card test card",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "card"}
{:description "Lookin' for a blueberry",
:archived false,
:collection_position nil,
:table_id true,
:bookmark nil,
:database_id true,
:name "segment test segment",
:table_schema "PUBLIC",
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name "CHECKINS",
:collection {:id false, :name nil, :authority_level nil},
:model "segment"}
{:description "Lookin' for a blueberry",
:archived false,
:collection_position nil,
:table_id true,
:bookmark nil,
:database_id true,
:name "metric test metric",
:table_schema "PUBLIC",
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name "CHECKINS",
:collection {:id false, :name nil, :authority_level nil},
:model "metric"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark nil,
:database_id true,
:name "action test action",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query {:database 1, :type "query", :query {:source-table 1}},
:model_id true,
:model_name "ActionModel",
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "action"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dataset test dataset",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "dataset"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "collection test collection",
:table_schema nil,
:collection_authority_level nil,
:updated_at false,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "collection"})
[{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dashboard test dashboard",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "dashboard"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "card test card",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id false, :name nil, :authority_level nil},
:model "card"}]))
Check failure on line 0 in target/junit/metabase.api.search_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.search-test ► collection-namespaces-test
Failed test found in:
target/junit/metabase.api.search_test.xml
Error:
search_test.clj:627
Raw output
search_test.clj:627
Search should only return Collections in the 'default' namespace
with temporary :metabase.models.collection/Collection with attributes
{:name "Normal Collection", :color "#ABCDEF"}
with temporary :metabase.models.collection/Collection with attributes
{:name "Coin Collection", :color "#ABCDEF", :namespace "currency"}
expected: [{:name "Normal Collection"}]
actual: ()
diff: - [(not= {:name "Normal Collection"} nil)]
Check failure on line 0 in target/junit/metabase.api.search_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.search-test ► database-test
Failed test found in:
target/junit/metabase.api.search_test.xml
Error:
search_test.clj:470
Raw output
search_test.clj:470
Should search database names and descriptions
with temporary :metabase.models.database/Database with attributes
{:details {}, :engine :h2, :is_sample false, :name "aviaries"}
with temporary :metabase.models.database/Database with attributes
{:details {},
:engine :h2,
:is_sample false,
:name "user_favorite_places",
:description "Join table between users and their favorite places, which could include aviaries"}
with temporary :metabase.models.database/Database with attributes
{:details {}, :engine :h2, :is_sample false, :name "users", :description "As it sounds"}
expected: (=
(sorted-results
(map
result
[{:name "aviaries"}
{:name "user_favorite_places",
:description "Join table between users and their favorite places, which could include aviaries"}]))
(map
(fn* [p1__151028#] (select-keys p1__151028# [:name :model :description]))
(search-request-data-with sorted-results :crowberto :q "aviaries")))
actual: (not
(=
({:name "user_favorite_places",
:model "database",
:description "Join table between users and their favorite places, which could include aviaries"}
{:name "aviaries", :model "database", :description nil})
()))
Check failure on line 0 in target/junit/metabase.api.search_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.search-test ► query-model-set
Failed test found in:
target/junit/metabase.api.search_test.xml
Error:
search_test.clj:288
Raw output
search_test.clj:288
It returns some stuff when you get results
with temporary :metabase.models.collection/Collection with attributes
{:name "collection test collection", :color "#ABCDEF"}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "ActionModel",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.action/Action with attributes
{:name "action test action", :type :query, :model_id 798}
with temporary :metabase.models.action/QueryAction with attributes
{:action_id 75, :database_id 1, :dataset_query {:database 1, :type :query, :query {:source-table 1}}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2, :database_id 1, :dataset_query {}, :display :table, :name "card test card", :visualization_settings {}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "dataset test dataset",
:visualization_settings {},
:dataset true}
with temporary :metabase.models.dashboard/Dashboard with attributes
{:creator_id 2, :name "dashboard test dashboard"}
with temporary :metabase.models.metric/Metric with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "metric test metric", :table_id 3}
with temporary :metabase.models.segment/Segment with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "segment test segment", :table_id 3}
expected: (set/subset?
#{"dashboard" "dataset" "segment" "collection" "database" "metric" "card"}
(-> (mt/user-http-request :crowberto :get 200 "search?q=test") :available_models set))
actual: (not
(set/subset?
#{"dashboard" "dataset" "segment" "collection" "database" "metric" "card"}
#{"dashboard" "card"}))
Check failure on line 0 in target/junit/metabase.api.search_test.xml
github-actions / JUnit Test Report be-tests-java-17-oss
metabase.api.search-test ► bookmarks-test
Failed test found in:
target/junit/metabase.api.search_test.xml
Error:
search_test.clj:443
Raw output
search_test.clj:443
Bookmarks are per user, so other user's bookmarks don't cause search results to be altered
with temporary :metabase.models.collection/Collection with attributes
{:name "collection test collection", :color "#ABCDEF"}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "ActionModel",
:visualization_settings {},
:dataset true,
:collection_id 473}
with temporary :metabase.models.action/Action with attributes
{:name "action test action", :type :query, :model_id 804}
with temporary :metabase.models.action/QueryAction with attributes
{:action_id 77, :database_id 1, :dataset_query {:database 1, :type :query, :query {:source-table 1}}}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "card test card",
:visualization_settings {},
:collection_id 473}
with temporary :metabase.models.card/Card with attributes
{:creator_id 2,
:database_id 1,
:dataset_query {},
:display :table,
:name "dataset test dataset",
:visualization_settings {},
:collection_id 473,
:dataset true}
with temporary :metabase.models.dashboard/Dashboard with attributes
{:creator_id 2, :name "dashboard test dashboard", :collection_id 473}
with temporary :metabase.models.metric/Metric with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "metric test metric", :table_id 3}
with temporary :metabase.models.segment/Segment with attributes
{:creator_id 2, :definition {}, :description "Lookin' for a blueberry", :name "segment test segment", :table_id 3}
with temporary :metabase.models.bookmark/CardBookmark with attributes
{:card_id 805, :user_id 2}
with temporary :metabase.models.bookmark/DashboardBookmark with attributes
{:dashboard_id 275, :user_id 2}
expected: (= (default-results-with-collection) (search-request-data :crowberto :q "test"))
actual: (not
(=
({:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dashboard test dashboard",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "dashboard"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "card test card",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "card"}
{:description "Lookin' for a blueberry",
:archived false,
:collection_position nil,
:table_id true,
:bookmark nil,
:database_id true,
:name "segment test segment",
:table_schema "PUBLIC",
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name "CHECKINS",
:collection {:id false, :name nil, :authority_level nil},
:model "segment"}
{:description "Lookin' for a blueberry",
:archived false,
:collection_position nil,
:table_id true,
:bookmark nil,
:database_id true,
:name "metric test metric",
:table_schema "PUBLIC",
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name "CHECKINS",
:collection {:id false, :name nil, :authority_level nil},
:model "metric"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark nil,
:database_id true,
:name "action test action",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query {:database 1, :type "query", :query {:source-table 1}},
:model_id true,
:model_name "ActionModel",
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name nil, :authority_level nil},
:model "action"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dataset test dataset",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "dataset"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "collection test collection",
:table_schema nil,
:collection_authority_level nil,
:updated_at false,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "collection"})
[{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "dashboard test dashboard",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count nil,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "dashboard"}
{:description nil,
:archived false,
:collection_position nil,
:table_id false,
:bookmark false,
:database_id false,
:name "card test card",
:table_schema nil,
:collection_authority_level nil,
:updated_at true,
:moderated_status nil,
:dataset_query nil,
:model_id false,
:model_name nil,
:id true,
:table_description nil,
:dashboardcard_count 0,
:context nil,
:initial_sync_status nil,
:table_name nil,
:collection {:id true, :name true, :authority_level nil},
:model "card"}]))