/
acceptance-test-config.yml
84 lines (84 loc) · 3.63 KB
/
acceptance-test-config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference)
# for more information about how to configure these tests
# Make sure the paths you have in each path matches with your data.
#For multiple env testing, you can duplicate the tests and change the path to the proper credentials file
connector_image: airbyte/source-paypal-transaction:dev
test_strictness_level: high
acceptance_tests:
spec:
tests:
#Test with Prod credentials (Make sure you purt the right ones)
- spec_path: "source_paypal_transaction/spec.yaml"
config_path: secrets/config.json
backward_compatibility_tests_config:
disable_for_version: "0.1.13"
connection:
tests:
#Test With Prod Credentials
- config_path: secrets/config.json
status: succeed
#Test with Invalid Credentials
- config_path: integration_tests/sample_files/invalid_config.json
status: failed
#Test with Sandbox Credentials
# - config_path: secrets/config_sandbox.json
# status: succeed
discovery:
tests:
- config_path: secrets/config.json
# - config_path: secrets/config_sandbox.json
backward_compatibility_tests_config:
disable_for_version: "2.0.0" # Change in cursor field for transactions stream
basic_read:
tests:
#Test Prod Environment - Uncomment and change according to your prod setup
#Change the expected records, remember to align them with the timeframe you have selected
#Do not select streams that take more than 5 mins to load data as that can lead to timeouts
#You can comment the lines if you are sure you have data for the below streams.
- config_path: secrets/config.json
# - config_path: secrets/config_sandbox.json
empty_streams:
- name: show_product_details
bypass_reason: "Products may not exist"
- name: list_products
bypass_reason: "Product List may be too big causing timeout errors"
- name: search_invoices
bypass_reason: "Order makes the diff fail."
#Have to add for testing PR CI.
- name: list_disputes
bypass_reason: "Disputes may not exist."
ignored_fields:
balances:
- name: last_refresh_time
bypass_reason: "field changes during every read"
list_products:
- name: description
bypass_reason: "Sometimes it is not contained in the response"
timeout_seconds: 3200
expect_records:
path: "integration_tests/sample_files/expected_records_sandbox.jsonl"
#path: "integration_tests/sample_files/expected_records.jsonl"
extra_fields: yes
exact_order: yes
extra_records: no
fail_on_extra_columns: False
incremental:
tests:
- config_path: secrets/config.json
# - config_path: secrets/config_sandbox.json
configured_catalog_path: integration_tests/incremental_catalog.json
future_state:
future_state_path: integration_tests/sample_files/abnormal_state.json
skip_comprehensive_incremental_tests: true
full_refresh:
tests:
- config_path: secrets/config.json
# - config_path: secrets/config_sandbox.json
configured_catalog_path: integration_tests/full_refresh_catalog.json
ignored_fields:
balances:
- name: last_refresh_time
bypass_reason: "field changes during every read"
list_products:
- name: description
bypass_reason: "Sometimes it is not contained in the response"