|
1 |
| -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) |
2 |
| -# for more information about how to configure these tests |
3 |
| -connector_image: airbyte/source-amazon-ads:dev |
4 | 1 | acceptance_tests:
|
5 |
| - spec: |
| 2 | + basic_read: |
6 | 3 | tests:
|
7 |
| - - spec_path: "integration_tests/spec.json" |
| 4 | + - config_path: secrets/config.json |
| 5 | + empty_streams: |
| 6 | + - name: sponsored_brands_ad_groups |
| 7 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 8 | + - name: sponsored_brands_campaigns |
| 9 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 10 | + - name: sponsored_brands_keywords |
| 11 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 12 | + - name: attribution_report_performance_creative |
| 13 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 14 | + - name: attribution_report_performance_adgroup |
| 15 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 16 | + - name: attribution_report_products |
| 17 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 18 | + - name: attribution_report_performance_campaign |
| 19 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 20 | + - name: sponsored_display_report_stream |
| 21 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 22 | + - name: sponsored_brands_report_stream |
| 23 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 24 | + - name: sponsored_brands_video_report_stream |
| 25 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 26 | + - name: sponsored_products_report_stream |
| 27 | + bypass_reason: "can't populate stream because it requires real ad campaign" |
| 28 | + timeout_seconds: 2400 |
| 29 | + expect_records: |
| 30 | + path: integration_tests/expected_records.jsonl |
| 31 | + exact_order: no |
| 32 | + extra_fields: no |
| 33 | + extra_records: no |
8 | 34 | connection:
|
9 | 35 | tests:
|
10 |
| - - config_path: "secrets/config.json" |
11 |
| - status: "succeed" |
12 |
| - - config_path: "integration_tests/invalid_config.json" |
13 |
| - status: "failed" |
| 36 | + - config_path: secrets/config.json |
| 37 | + status: succeed |
| 38 | + - config_path: integration_tests/invalid_config.json |
| 39 | + status: failed |
14 | 40 | discovery:
|
15 | 41 | tests:
|
16 |
| - - config_path: "secrets/config.json" |
17 |
| - basic_read: |
| 42 | + - config_path: secrets/config.json |
| 43 | + full_refresh: |
18 | 44 | tests:
|
19 |
| - - config_path: "secrets/config.json" |
20 |
| - configured_catalog_path: "integration_tests/configured_catalog.json" |
21 |
| - expect_records: |
22 |
| - path: "integration_tests/expected_records.jsonl" |
23 |
| - extra_fields: no |
24 |
| - exact_order: no |
25 |
| - extra_records: no |
26 |
| - empty_streams: |
27 |
| - - name: "profiles" |
28 |
| - - name: "sponsored_brands_ad_groups" |
29 |
| - - name: "sponsored_brands_campaigns" |
30 |
| - - name: "sponsored_brands_keywords" |
31 |
| - - name: "attribution_report_performance_creative" |
32 |
| - - name: "attribution_report_performance_adgroup" |
33 |
| - - name: "attribution_report_products" |
34 |
| - - name: "attribution_report_performance_campaign" |
35 |
| - - config_path: "secrets/config_report.json" |
36 |
| - configured_catalog_path: "integration_tests/configured_catalog_report.json" |
37 |
| - timeout_seconds: 2400 |
| 45 | + - config_path: secrets/config.json |
| 46 | + configured_catalog_path: integration_tests/configured_catalog.json |
| 47 | + - config_path: secrets/config_report.json |
| 48 | + configured_catalog_path: integration_tests/configured_catalog_report.json |
| 49 | + ignored_fields: |
| 50 | + sponsored_products_report_stream: |
| 51 | + - updatedAt |
| 52 | + timeout_seconds: 3600 |
38 | 53 | incremental:
|
39 | 54 | tests:
|
40 |
| - - config_path: "secrets/config_report.json" |
41 |
| - configured_catalog_path: "integration_tests/configured_catalog_report.json" |
42 |
| - future_state: |
43 |
| - future_state_path: "integration_tests/abnormal_state.json" |
44 |
| - cursor_paths: |
45 |
| - sponsored_products_report_stream: ["1861552880916640", "reportDate"] |
46 |
| - timeout_seconds: 2400 |
47 |
| - full_refresh: |
| 55 | + - config_path: secrets/config_report.json |
| 56 | + configured_catalog_path: integration_tests/configured_catalog_report.json |
| 57 | + cursor_paths: |
| 58 | + sponsored_products_report_stream: |
| 59 | + - '1861552880916640' |
| 60 | + - reportDate |
| 61 | + future_state: |
| 62 | + future_state_path: integration_tests/abnormal_state.json |
| 63 | + timeout_seconds: 2400 |
| 64 | + spec: |
48 | 65 | tests:
|
49 |
| - - config_path: "secrets/config.json" |
50 |
| - configured_catalog_path: "integration_tests/configured_catalog.json" |
51 |
| - - config_path: "secrets/config_report.json" |
52 |
| - configured_catalog_path: "integration_tests/configured_catalog_report.json" |
53 |
| - ignored_fields: |
54 |
| - "sponsored_products_report_stream": ["updatedAt"] |
55 |
| - timeout_seconds: 3600 |
| 66 | + - spec_path: integration_tests/spec.json |
| 67 | +connector_image: airbyte/source-amazon-ads:dev |
| 68 | +test_strictness_level: high |
0 commit comments