-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Source Stripe: enable high strictness level
- Loading branch information
1 parent
4e963d5
commit 4128779
Showing
5 changed files
with
122 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 59 additions & 42 deletions
101
airbyte-integrations/connectors/source-stripe/acceptance-test-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,67 @@ | ||
connector_image: airbyte/source-stripe:dev | ||
tests: | ||
test_strictness_level: high | ||
acceptance_tests: | ||
spec: | ||
tests: | ||
- spec_path: "source_stripe/spec.yaml" | ||
connection: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "secrets/connected_account_config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
discovery: | ||
- config_path: "secrets/config.json" | ||
backward_compatibility_tests_config: | ||
disable_for_version: "2.0.0" | ||
- config_path: "secrets/connected_account_config.json" | ||
backward_compatibility_tests_config: | ||
disable_for_version: "2.0.0" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
backward_compatibility_tests_config: | ||
disable_for_version: "2.0.0" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/full_refresh_configured_catalog.json" | ||
empty_streams: ["bank_accounts", "checkout_sessions", "checkout_sessions_line_items", "external_account_bank_accounts"] | ||
# TEST 1 - Reading catalog without invoice_line_items | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/non_invoice_line_items_catalog.json" | ||
empty_streams: ["transfers"] | ||
timeout_seconds: 3600 | ||
# TEST 2 - Reading data from account that has no records for stream Disputes | ||
- config_path: "secrets/connected_account_config.json" | ||
configured_catalog_path: "integration_tests/connected_account_configured_catalog.json" | ||
timeout_seconds: 3600 | ||
tests: | ||
- config_path: "secrets/config.json" | ||
empty_streams: | ||
- name: "bank_accounts" | ||
bypass_reason: "This stream can't be seeded in our sandbox account" | ||
- name: "external_account_bank_accounts" | ||
bypass_reason: "This stream can't be seeded in our sandbox account" | ||
- name: "external_account_cards" | ||
bypass_reason: "This stream can't be seeded in our sandbox account" | ||
- name: "checkout_sessions" | ||
bypass_reason: "This stream can't be seeded in our sandbox account" | ||
- name: "checkout_sessions_line_items" | ||
bypass_reason: "This stream can't be seeded in our sandbox account" | ||
- name: "transfers" | ||
bypass_reason: "This stream can't be seeded in our sandbox account" | ||
expect_records: | ||
path: "integration_tests/expected_records.jsonl" | ||
extra_fields: no | ||
exact_order: no | ||
extra_records: yes | ||
ignored_fields: | ||
invoices: | ||
- name: invoice_pdf | ||
bypass_reason: "fast changing data" | ||
- name: hosted_invoice_url | ||
bypass_reason: "fast changing data" | ||
charges: | ||
- name: receipt_url | ||
bypass_reason: "fast changing data" | ||
payment_intents: | ||
- name: receipt_url | ||
bypass_reason: "fast changing data" | ||
- name: charges/data/*/receipt_url | ||
bypass_reason: "fast changing data" | ||
incremental: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/non_invoice_line_items_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
- config_path: "secrets/connected_account_config.json" | ||
configured_catalog_path: "integration_tests/connected_account_configured_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
future_state: | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/non_invoice_line_items_catalog.json" | ||
timeout_seconds: 3600 | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/full_refresh_configured_catalog.json" | ||
- config_path: "secrets/connected_account_config.json" | ||
configured_catalog_path: "integration_tests/connected_account_configured_catalog.json" | ||
ignored_fields: | ||
"invoices": | ||
- invoice_pdf | ||
- hosted_invoice_url | ||
tests: | ||
- config_path: "secrets/config.json" | ||
timeout_seconds: 3600 | ||
ignored_fields: | ||
invoices: | ||
- name: invoice_pdf | ||
bypass_reason: "fast changing data" | ||
- name: hosted_invoice_url | ||
bypass_reason: "fast changing data" |
Empty file modified
0
airbyte-integrations/connectors/source-stripe/acceptance-test-docker.sh
100644 → 100755
Empty file.
Oops, something went wrong.