2
2
# for more information about how to configure these tests
3
3
4
4
connector_image : airbyte/source-tiktok-marketing:dev
5
- cache_discovered_catalog : False
5
+ test_strictness_level : " high "
6
6
acceptance_tests :
7
7
spec :
8
8
tests :
@@ -48,6 +48,11 @@ acceptance_tests:
48
48
basic_read :
49
49
tests :
50
50
- config_path : " secrets/config.json"
51
+ expect_records :
52
+ path : " integration_tests/expected_records.jsonl"
53
+ extra_fields : no
54
+ exact_order : no
55
+ extra_records : yes
51
56
timeout_seconds : 1200
52
57
empty_streams :
53
58
- name : ads_reports_hourly
@@ -58,64 +63,27 @@ acceptance_tests:
58
63
bypass_reason : " Tested with daily granularity."
59
64
- name : campaigns_reports_hourly
60
65
bypass_reason : " Tested with daily granularity."
61
- - name : advertisers_reports
62
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
63
- - name : advertisers_audience_reports
64
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
65
- - name : campaigns_audience_reports_by_country
66
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
67
- - name : ad_group_audience_reports
68
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
69
- - name : ads_audience_reports
70
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
71
- - name : ad_groups_reports
72
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
73
- - name : ads_reports
74
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
75
- - name : campaigns_reports
76
- bypass_reason : " Stream was added during discover with granularity config. Will be tested below."
77
66
# Old style streams with granularity config (for < 0.1.13)
78
67
# Note: not needed to be tested separately in full and incremental tests, because code of
79
68
# these streams is called directly in new style streams
80
69
- config_path : " secrets/prod_config_with_day_granularity.json"
70
+ expect_records :
71
+ path : " integration_tests/expected_records2.jsonl"
72
+ extra_fields : no
73
+ exact_order : no
74
+ extra_records : yes
81
75
timeout_seconds : 1200
82
76
empty_streams :
83
- - name : ads_reports_lifetime
84
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
85
- - name : ad_groups_reports_daily
86
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
87
- - name : advertisers_audience_reports_lifetime
88
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
89
- - name : campaigns_reports_daily
90
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
91
- - name : ads_reports_daily
92
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
93
- - name : advertisers_reports_daily
94
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
95
- - name : ad_groups_reports_lifetime
96
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
97
- - name : campaigns_reports_hourly
98
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
99
- - name : ads_audience_reports_daily
100
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
101
- - name : ads_audience_reports_daily
102
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
103
- - name : ad_group_audience_reports_daily
104
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
105
- - name : campaigns_reports_lifetime
106
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
107
- - name : ad_groups_reports_hourly
108
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
109
- - name : advertisers_reports_lifetime
110
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
111
- - name : campaigns_audience_reports_by_country_daily
112
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
113
- - name : advertisers_audience_reports_daily
114
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
115
- - name : advertisers_reports_hourly
116
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
117
- - name : ads_reports_hourly
118
- bypass_reason : " Stream was added during discover without granularity config. Was tested abowe."
77
+ - name : ad_groups
78
+ bypass_reason : " This stream is tested on the new style config."
79
+ - name : ads
80
+ bypass_reason : " This stream is tested on the new style config."
81
+ - name : advertiser_ids
82
+ bypass_reason : " This stream is tested on the new style config."
83
+ - name : advertisers
84
+ bypass_reason : " This stream is tested on the new style config."
85
+ - name : campaigns
86
+ bypass_reason : " This stream is tested on the new style config."
119
87
full_refresh :
120
88
tests :
121
89
- config_path : " secrets/prod_config_with_day_granularity.json"
0 commit comments