Skip to content

DE-934 Setup tests on a new site #407

DE-934 Setup tests on a new site

DE-934 Setup tests on a new site #407

Re-run triggered August 12, 2024 13:14
Status Failure
Total duration 14m 13s
Artifacts

build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 1 warning
InvoicesControllerCreateTest.shouldCreateInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerCreateTest.java#L212
Expecting actual: [InvoiceLineItem [uid=li_bjxwwdyjyn4b9, title=My Super Product 9365451471, description=12 Aug 2024 - 12 Aug 2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={billing_schedule_item_id=null}], InvoiceLineItem [uid=li_bjxwwdyknzcj4, title=Custom line, description=12 Aug 2024 - 12 Aug 2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=delay_capture, additionalProperties={billing_schedule_item_id=null}], InvoiceLineItem [uid=li_bjxwwdyknzcj5, title=Test Metered Component 9489713459, description=Description for: Test Metered Component 9489713459, quantity=10.0, unitPrice=11.5, subtotalAmount=115.0, discountAmount=0.0, taxAmount=0.0, totalAmount=115.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=null, productVersion=null, componentId=2536145, pricePointId=5726320, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={billing_schedule_item_id=null}]] to contain exactly in any order: [InvoiceLineItem [uid=null, title=My Super Product 9365451471, description=08/12/2024 - 08/12/2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={}], InvoiceLineItem [uid=null, title=Custom line, description=08/12/2024 - 08/12/2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=delay_capture, additionalProperties={}], InvoiceLineItem [uid=null, title=Test Metered Component 9489713459, description=Description for: Test Metered Component 9489713459, quantity=10.0, unitPrice=11.5, subtotalAmount=115.0, discountAmount=0.0, taxAmount=0.0, totalAmount=115.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=null, productVersion=null, componentId=2536145, pricePointId=5726320, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={}]] elements not found: [InvoiceLineItem [uid=null, title=My Super Product 9365451471, description=08/12/2024 - 08/12/2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={}], InvoiceLineItem [uid=null, title=Custom line, description=08/12/2024 - 08/12/2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=delay_capture, additionalProperties={}]] and elements not expected: [InvoiceLineItem [uid=li_bjxwwdyjyn4b9, title=My Super Product 9365451471, description=12 Aug 2024 - 12 Aug 2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={billing_schedule_item_id=null}], InvoiceLineItem [uid=li_bjxwwdyknzcj4, title=Custom line, description=12 Aug 2024 - 12 Aug 2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-08-12, periodRangeEnd=2024-08-12, transactionId=null, productId=6720766, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=delay_capture, additionalProperties={billing_schedule_item_id=null}]] when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration: - the following fields were ignored in the comparison: uid, additionalProperties - no overridden equals methods were used in the comparison (except for java types) - these types were compared with the following comparators: - java.lang.Double -> DoubleComparator[precision=1.0E-15] - java.lang.Float -> FloatComparator[precision=1.0E-6] - java.nio.file.Path -> lexicographic comparator (Path natural order) - actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior). - the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
InvoicesControllerCreateTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerCreateTest.java#L81
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerIssueTest.shouldIssuePendingInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerIssueTest.java#L137
Expected size: 2 but was: 4 in: {"avatax_details"=null, "debit_amount"="0.0", "debits"=[], "public_url_expires_on"="2024-10-11"}
InvoicesControllerIssueTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerIssueTest.java#L105
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerListCreditNotesTest.shouldReturnListOfCreditNotesWithAdditionalRefundsData: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListCreditNotesTest.java#L234
Expecting actual: [{"avatax_details"=null}] to contain exactly (and in same order): [{}] but some elements were not found: [{}] and others were not expected: [{"avatax_details"=null}]
InvoicesControllerListCreditNotesTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListCreditNotesTest.java#L86
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerListInvoiceSegmentsTest.shouldListInvoiceSegmentsForConsolidatedInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListInvoiceSegmentsTest.java#L96
Actual and expected should have same size but actual size is: 3 while expected size is: 1 Actual was: {"avatax_details"=null, "debit_amount"="0.0", "public_url_expires_on"="2024-10-11"} Expected was: ["debit_amount"="0.0"]
InvoicesControllerListInvoiceSegmentsTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListInvoiceSegmentsTest.java#L59
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerListInvoicesTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListInvoicesTest.java#L124
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerReadInvoiceTest.shouldReadInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerReadInvoiceTest.java#L117
Multiple Failures (1 failure) org.opentest4j.AssertionFailedError: expected: "Please make checks payable to "Acme, Inc."" but was: ""
InvoicesControllerReadInvoiceTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerReadInvoiceTest.java#L84
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerRefundInvoiceTest.shouldRefundSpecificSegmentOfConsolidatedInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerRefundInvoiceTest.java#L199
Expected size: 2 but was: 4 in: {"avatax_details"=null, "debit_amount"="0.0", "debits"=[], "public_url_expires_on"="2024-10-11"}
InvoicesControllerRefundInvoiceTest.shouldRefundInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerRefundInvoiceTest.java#L108
Expected size: 2 but was: 4 in: {"avatax_details"=null, "debit_amount"="0.0", "debits"=[], "public_url_expires_on"="2024-10-11"}
InvoicesControllerRefundInvoiceTest.shouldRefundConsolidatedInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerRefundInvoiceTest.java#L146
Expected size: 2 but was: 4 in: {"avatax_details"=null, "debit_amount"="0.0", "debits"=[], "public_url_expires_on"="2024-10-11"}
InvoicesControllerRefundInvoiceTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerRefundInvoiceTest.java#L85
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
ProformaInvoicesControllerCreateSignupProformaTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/proformainvoices/ProformaInvoicesControllerCreateSignupProformaTest.java#L31
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
ProformaInvoicesControllerCreateTest.shouldCreateProformaInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/proformainvoices/ProformaInvoicesControllerCreateTest.java#L34
expected: "Thanks for your business! If you have any questions, please contact your account manager." but was: ""
ProformaInvoicesControllerCreateTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/proformainvoices/ProformaInvoicesControllerCreateTest.java#L25
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
ProformaInvoicesControllerPreviewSignupProformaTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/proformainvoices/ProformaInvoicesControllerPreviewSignupProformaTest.java#L34
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
ProformaInvoicesControllerPreviewTest.shouldPreviewProformaInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/proformainvoices/ProformaInvoicesControllerPreviewTest.java#L36
expected: "Thanks for your business! If you have any questions, please contact your account manager." but was: ""
ProformaInvoicesControllerPreviewTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/proformainvoices/ProformaInvoicesControllerPreviewTest.java#L27
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
ProformaInvoicesControllerSubscriptionGroupsTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/proformainvoices/ProformaInvoicesControllerSubscriptionGroupsTest.java#L66
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
SubscriptionsControllerCreateTest.shouldCreateSubscriptionWithPrepaidConfiguration: tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptions/SubscriptionsControllerCreateTest.java#L537
HTTP Response Not OK. Status code: 422. Response: '{errors:[The initial prepayment funding amount must be greater than the amount due.]}'.
SubscriptionsControllerCreateTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptions/SubscriptionsControllerCreateTest.java#L84
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
SubscriptionsControllerPreviewTest.shouldReturnPreview: tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptions/SubscriptionsControllerPreviewTest.java#L140
Expecting actual: BillingManifest [lineItems=[BillingManifestItem [transactionType=charge, kind=baseline, amountInCents=0, memo=My Super Product 4870460723 (12 Aug 2024 - 12 Sep 2024), discountAmountInCents=0, taxableAmountInCents=0, componentId=null, componentHandle=null, componentName=null, productId=6720812, productHandle=my-super-product-4870460723, productName=My Super Product 4870460723, periodRangeStart=12 Aug 2024, periodRangeEnd=12 Sep 2024, additionalProperties={}], BillingManifestItem [transactionType=charge, kind=component, amountInCents=5000, memo=Test Metered Component 7222398119: 5 units, discountAmountInCents=25, taxableAmountInCents=0, componentId=2536188, componentHandle=test-metered-component-72223981194167742452, componentName=Test Metered Component 7222398119, productId=null, productHandle=null, productName=null, periodRangeStart=12 Aug 2024, periodRangeEnd=12 Aug 2024, additionalProperties={}], BillingManifestItem [transactionType=adjustment, kind=coupon, amountInCents=-25, memo=Coupon: PERCENTAGE_DISCOUNT_7296248200 - Huuuuge percentage discount: 0.5, discountAmountInCents=0, taxableAmountInCents=0, componentId=null, componentHandle=null, componentName=null, productId=null, productHandle=null, productName=null, periodRangeStart=null, periodRangeEnd=null, additionalProperties={coupon_code=PERCENTAGE_DISCOUNT_7296248200}]], totalInCents=4975, totalDiscountInCents=25, totalTaxInCents=0, subtotalInCents=5000, startDate=2024-08-12T13:24:05Z, endDate=2024-09-12T13:24:05Z, periodType=recurring, existingBalanceInCents=0, additionalProperties={}] to be equal to: BillingManifest [lineItems=[BillingManifestItem [transactionType=charge, kind=baseline, amountInCents=0, memo=My Super Product 4870460723 (08/12/2024 - 09/12/2024), discountAmountInCents=0, taxableAmountInCents=0, componentId=null, componentHandle=null, componentName=null, productId=6720812, productHandle=my-super-product-4870460723, productName=My Super Product 4870460723, periodRangeStart=08/12/2024, periodRangeEnd=09/12/2024, additionalProperties={}], BillingManifestItem [transactionType=charge, kind=component, amountInCents=5000, memo=Test Metered Component 7222398119: 5 units, discountAmountInCents=25, taxableAmountInCents=0, componentId=2536188, componentHandle=test-metered-component-72223981194167742452, componentName=Test Metered Component 7222398119, productId=null, productHandle=null, productName=null, periodRangeStart=08/12/2024, periodRangeEnd=08/12/2024, additionalProperties={}], BillingManifestItem [transactionType=adjustment, kind=coupon, amountInCents=-25, memo=Coupon: PERCENTAGE_DISCOUNT_7296248200 - Huuuuge percentage discount: 0.5, discountAmountInCents=0, taxableAmountInCents=0, componentId=null, componentHandle=null, componentName=null, productId=null, productHandle=null, productName=null, periodRangeStart=null, periodRangeEnd=null, additionalProperties={}]], totalInCents=4975, totalDiscountInCents=25, totalTaxInCents=0, subtotalInCents=5000, startDate=null, endDate=null, periodType=recurring, existingBalanceInCents=0, additionalProperties={}] when recursively comparing field by field, but found the following 5 differences: field/property 'lineItems[0].memo' differ: - actual value : "My Super Product 4870460723 (12 Aug 2024 - 12 Sep 2024)" - expected value: "My Super Product 4870460723 (08/12/2024 - 09/12/2024)" field/property 'lineItems[0].periodRangeEnd' differ: - actual value : "12 Sep 2024" - expected value: "09/12/2024" field/property 'lineItems[0].periodRangeStart' differ: - actual value : "12 Aug 2024" - expected value: "08/12/2024" field/property 'lineItems[1].periodRangeEnd' differ: - actual value : "12 Aug 2024" - expected value: "08/12/2024" field/property 'lineItems[1].periodRangeStart' differ: - actual value : "12 Aug 2024" - expected value: "08/12/2024" The recursive comparison was performed with this configuration: - the following fields were ignored in the comparison: startDate, endDate, additionalProperties, lineItems.additionalProperties - the following types were ignored in the comparison: java.util.Map - no overridden equals methods were used in the comparison (except for java types) - these types were compared with the following comparators: - java.lang.Double -> DoubleComparator[precision=1.0E-15] - java.lang.Float -> FloatComparator[precision=1.0E-6] - java.nio.file.Path -> lexicographic comparator (Path natural order) - actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior). - the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
SubscriptionsControllerPreviewTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptions/SubscriptionsControllerPreviewTest.java#L58
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
test
Process completed with exit code 1.
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/