Skip to content

Commit

Permalink
unskip receipt tests - service regression fixed (#16355)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico authored Jan 26, 2021
1 parent 5c50bdf commit eacd482
Show file tree
Hide file tree
Showing 16 changed files with 175 additions and 175 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ interactions:
Content-Type:
- image/jpeg
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false
response:
body:
string: ''
headers:
apim-request-id:
- 2e2e531f-889f-4bb8-823c-27a41123ee1c
- ea43995f-d321-4daa-8d98-d186857419ee
content-length:
- '0'
date:
- Mon, 16 Nov 2020 19:09:28 GMT
- Tue, 26 Jan 2021 18:16:12 GMT
operation-location:
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/2e2e531f-889f-4bb8-823c-27a41123ee1c
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/ea43995f-d321-4daa-8d98-d186857419ee
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '209'
- '380'
status:
code: 202
message: Accepted
Expand All @@ -48,13 +48,13 @@ interactions:
Connection:
- keep-alive
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/2e2e531f-889f-4bb8-823c-27a41123ee1c
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/ea43995f-d321-4daa-8d98-d186857419ee
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:09:28Z",
"lastUpdatedDateTime": "2020-11-16T19:09:30Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:16:12Z",
"lastUpdatedDateTime": "2021-01-26T18:16:15Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height":
3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt",
"pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString":
Expand Down Expand Up @@ -96,19 +96,19 @@ interactions:
2739], "page": 1, "confidence": 0.985}}}]}}'
headers:
apim-request-id:
- ca0b5eb7-5856-4833-8de8-c5929e3d3ab6
- 857c7fd7-8c39-4123-8fd5-6b7f74bf7f04
content-length:
- '2835'
content-type:
- application/json; charset=utf-8
date:
- Mon, 16 Nov 2020 19:09:33 GMT
- Tue, 26 Jan 2021 18:16:17 GMT
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '18'
- '38'
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1925,27 +1925,27 @@ interactions:
Content-Type:
- application/pdf
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true
response:
body:
string: ''
headers:
apim-request-id:
- cc7063d0-354e-4895-b57c-973685500939
- b47f643e-ef6f-429c-9f17-539af07de093
content-length:
- '0'
date:
- Mon, 16 Nov 2020 19:09:47 GMT
- Tue, 26 Jan 2021 18:35:21 GMT
operation-location:
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/cc7063d0-354e-4895-b57c-973685500939
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b47f643e-ef6f-429c-9f17-539af07de093
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '216'
- '765'
status:
code: 202
message: Accepted
Expand All @@ -1959,13 +1959,13 @@ interactions:
Connection:
- keep-alive
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/cc7063d0-354e-4895-b57c-973685500939
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b47f643e-ef6f-429c-9f17-539af07de093
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:09:48Z",
"lastUpdatedDateTime": "2020-11-16T19:09:52Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:35:20Z",
"lastUpdatedDateTime": "2021-01-26T18:35:25Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11,
"unit": "inch", "lines": [{"text": "Company A Invoice", "boundingBox": [0.8861,
1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "words": [{"text":
Expand Down Expand Up @@ -2325,19 +2325,19 @@ interactions:
"confidence": 0.985, "elements": ["#/readResults/2/lines/36/words/1"]}}}]}}'
headers:
apim-request-id:
- 445d0a1f-8858-4bb5-92c3-902f3123eda4
- 14e81529-8769-44d2-bc4a-4fa19dcb14d6
content-length:
- '25475'
content-type:
- application/json; charset=utf-8
date:
- Mon, 16 Nov 2020 19:09:53 GMT
- Tue, 26 Jan 2021 18:35:26 GMT
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '23'
- '41'
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31802,27 +31802,27 @@ interactions:
Content-Type:
- image/png
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false
response:
body:
string: ''
headers:
apim-request-id:
- 35a8718c-5ec7-481d-85ea-90f7c40946a3
- be14ac76-86a1-4fdc-9f4e-d6c13049066f
content-length:
- '0'
date:
- Mon, 16 Nov 2020 19:10:03 GMT
- Tue, 26 Jan 2021 18:26:46 GMT
operation-location:
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/35a8718c-5ec7-481d-85ea-90f7c40946a3
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/be14ac76-86a1-4fdc-9f4e-d6c13049066f
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '461'
- '470'
status:
code: 202
message: Accepted
Expand All @@ -31836,13 +31836,13 @@ interactions:
Connection:
- keep-alive
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/35a8718c-5ec7-481d-85ea-90f7c40946a3
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/be14ac76-86a1-4fdc-9f4e-d6c13049066f
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:10:04Z",
"lastUpdatedDateTime": "2020-11-16T19:10:07Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:26:46Z",
"lastUpdatedDateTime": "2021-01-26T18:26:48Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": 0.2511, "width": 1688, "height":
3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt",
"pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString":
Expand Down Expand Up @@ -31880,19 +31880,19 @@ interactions:
949, 2661], "page": 1, "confidence": 0.774}}}]}}'
headers:
apim-request-id:
- 945265e9-f87d-4c53-b3ec-0d4d6b1fb868
- 21016ee3-5201-4337-8851-0dc647e3e610
content-length:
- '2561'
content-type:
- application/json; charset=utf-8
date:
- Mon, 16 Nov 2020 19:10:08 GMT
- Tue, 26 Jan 2021 18:26:51 GMT
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '18'
- '38'
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ interactions:
Content-Type:
- image/jpeg
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false
response:
body:
string: ''
headers:
apim-request-id: 6f7ec35a-461b-4acc-851b-cee042773b97
apim-request-id: 61b63053-6dbd-4c0d-8179-402a85292659
content-length: '0'
date: Mon, 16 Nov 2020 19:11:00 GMT
operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/6f7ec35a-461b-4acc-851b-cee042773b97
date: Tue, 26 Jan 2021 18:18:33 GMT
operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/61b63053-6dbd-4c0d-8179-402a85292659
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '215'
x-envoy-upstream-service-time: '204'
status:
code: 202
message: Accepted
Expand All @@ -30,13 +30,13 @@ interactions:
body: null
headers:
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/6f7ec35a-461b-4acc-851b-cee042773b97
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/61b63053-6dbd-4c0d-8179-402a85292659
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:11:01Z",
"lastUpdatedDateTime": "2020-11-16T19:11:02Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:18:34Z",
"lastUpdatedDateTime": "2021-01-26T18:18:35Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height":
3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt",
"pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString":
Expand Down Expand Up @@ -77,15 +77,15 @@ interactions:
"text": "$14.50", "boundingBox": [1034, 2620, 1384, 2638, 1380, 2763, 1030,
2739], "page": 1, "confidence": 0.985}}}]}}'
headers:
apim-request-id: 7721abd9-11a6-4687-8533-c6daff2c5199
apim-request-id: a1c7f2d5-a30e-4c9c-a11c-9f618fbc1b86
content-length: '2835'
content-type: application/json; charset=utf-8
date: Mon, 16 Nov 2020 19:11:05 GMT
date: Tue, 26 Jan 2021 18:18:38 GMT
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '20'
x-envoy-upstream-service-time: '36'
status:
code: 200
message: OK
url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/6f7ec35a-461b-4acc-851b-cee042773b97
url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/61b63053-6dbd-4c0d-8179-402a85292659
version: 1
Original file line number Diff line number Diff line change
Expand Up @@ -1919,20 +1919,20 @@ interactions:
Content-Type:
- application/pdf
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true
response:
body:
string: ''
headers:
apim-request-id: 27c0de9d-de42-47c0-a279-72087a4b18f2
apim-request-id: a158a944-6dc2-4249-b181-c40a0d86adf5
content-length: '0'
date: Mon, 16 Nov 2020 19:11:19 GMT
operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/27c0de9d-de42-47c0-a279-72087a4b18f2
date: Tue, 26 Jan 2021 18:40:08 GMT
operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/a158a944-6dc2-4249-b181-c40a0d86adf5
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '99'
x-envoy-upstream-service-time: '112'
status:
code: 202
message: Accepted
Expand All @@ -1941,13 +1941,13 @@ interactions:
body: null
headers:
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/27c0de9d-de42-47c0-a279-72087a4b18f2
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/a158a944-6dc2-4249-b181-c40a0d86adf5
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:11:19Z",
"lastUpdatedDateTime": "2020-11-16T19:11:23Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:40:08Z",
"lastUpdatedDateTime": "2021-01-26T18:40:13Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11,
"unit": "inch", "lines": [{"text": "Company A Invoice", "boundingBox": [0.8861,
1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "words": [{"text":
Expand Down Expand Up @@ -2306,15 +2306,15 @@ interactions:
[5.811, 5.3445, 6.3422, 5.3445, 6.3422, 5.4533, 5.811, 5.4533], "page": 3,
"confidence": 0.985, "elements": ["#/readResults/2/lines/36/words/1"]}}}]}}'
headers:
apim-request-id: 21cd94ae-5d53-48eb-a5ef-e0beaca75f62
apim-request-id: cc84f6aa-b390-44b3-bc67-ab593b26c966
content-length: '25475'
content-type: application/json; charset=utf-8
date: Mon, 16 Nov 2020 19:11:24 GMT
date: Tue, 26 Jan 2021 18:40:13 GMT
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '25'
x-envoy-upstream-service-time: '41'
status:
code: 200
message: OK
url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/27c0de9d-de42-47c0-a279-72087a4b18f2
url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/a158a944-6dc2-4249-b181-c40a0d86adf5
version: 1
Loading

0 comments on commit eacd482

Please sign in to comment.