forked from airbytehq/airbyte
/
acceptance-test-config.yml
132 lines (132 loc) · 6.64 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# 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
connector_image: airbyte/source-google-ads:dev
test_strictness_level: high
acceptance_tests:
spec:
tests:
- spec_path: "source_google_ads/spec.json"
connection:
tests:
- config_path: "secrets/config.json"
status: "succeed"
- config_path: "integration_tests/invalid_config.json"
status: "exception"
discovery:
tests:
- config_path: "secrets/config.json"
backward_compatibility_tests_config:
disable_for_version: "1.0.0" # schemas of default streams were updated
basic_read:
tests:
- config_path: "secrets/config.json"
expect_records:
path: "integration_tests/expected_records.jsonl"
extra_fields: no
exact_order: yes
extra_records: yes # the file with all the records is 15 MB, so comparing only 3 records
timeout_seconds: 3600
empty_streams:
- name: "customer_label"
bypass_reason: "Data is present in UI, but not in API: supposedly insufficient permissions"
- name: "shopping_performance_view"
bypass_reason: "No shopping campaign, need item for sale"
- name: "topic_view"
bypass_reason: "No data for this date range, tested in next config"
- name: "click_view"
bypass_reason: "Stream has data only for last 90 days, next config is used for testing it"
ignored_fields:
customer:
- name: customer.optimization_score_weight
bypass_reason: "Value can be updated by Google Ads"
- name: customer.optimization_score
bypass_reason: "Value can be updated by Google Ads"
- name: customer.pay_per_conversion_eligibility_failure_reasons
bypass_reason: "Value can be updated by Google Ads"
- config_path: "secrets/config_click_view.json"
expect_records:
path: "integration_tests/expected_records_click.jsonl"
timeout_seconds: 3600
empty_streams:
- name: "customer_label"
bypass_reason: "Data is present in UI, but not in API: supposedly insufficient permissions"
- name: "shopping_performance_view"
bypass_reason: "No shopping campaign, need item for sale"
- name: "display_keyword_view"
bypass_reason: "No data for this date range, tested in previous config"
- name: "keyword_view"
bypass_reason: "No data for this date range, tested in previous config"
ignored_fields:
customer:
- name: customer.optimization_score_weight
bypass_reason: "Value can be updated by Google Ads"
- name: customer.optimization_score
bypass_reason: "Value can be updated by Google Ads"
- name: customer.pay_per_conversion_eligibility_failure_reasons
bypass_reason: "Value can be updated by Google Ads"
campaign_budget:
- name: campaign_budget.recommended_budget_estimated_change_weekly_interactions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.all_conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.all_conversions_from_interactions_rate
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.all_conversions_value
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.conversions_from_interactions_rate
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.conversions_value
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.cost_per_all_conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.cost_per_conversion
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.value_per_all_conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.value_per_conversion
bypass_reason: "Value can be updated by Google Ads"
campaign:
- name: campaign.optimization_score
bypass_reason: "Value can be updated by Google Ads"
ad_group_ad_legacy:
- name: metrics.all_conversions_from_interactions_rate
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.all_conversions_value
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.all_conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.conversions_from_interactions_rate
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.conversions_value
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.cost_per_all_conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.cost_per_conversion
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.cost_per_current_model_attributed_conversion
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.current_model_attributed_conversions_value
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.current_model_attributed_conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.value_per_all_conversions
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.value_per_conversion
bypass_reason: "Value can be updated by Google Ads"
- name: metrics.value_per_current_model_attributed_conversion
bypass_reason: "Value can be updated by Google Ads"
full_refresh:
tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
incremental:
tests:
- config_path: "secrets/incremental_config.json"
timeout_seconds: 3600
configured_catalog_path: "integration_tests/incremental_catalog.json"
future_state:
future_state_path: "integration_tests/abnormal_state.json"