From d7a6db3eb0a1a21a960bf75c089eacf37ef28f14 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 17 Jul 2023 16:42:41 +0100 Subject: [PATCH] Updates test case should filter by distributor and order cycle --- ...ise_summary_fee_with_tax_report_by_producer_spec.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb index 670e287e42..76ffc123e8 100644 --- a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb +++ b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb @@ -315,6 +315,8 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do end it "should filter by distributor and order cycle" do + pending "removal from distributor and coordinator fees from results" + page.find("#s2id_autogen1").click find('li', text: distributor.name).click # selects Distributor @@ -329,10 +331,10 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do expect(table).to have_content(supplier_state_tax1) expect(table).to have_content(supplier_country_tax1) - expect(table).to have_content(distributor_state_tax1) - expect(table).to have_content(distributor_country_tax1) - expect(table).to have_content(coordinator_state_tax1) - expect(table).to have_content(coordinator_country_tax1) + expect(table).not_to have_content(distributor_state_tax1) + expect(table).not_to have_content(distributor_country_tax1) + expect(table).not_to have_content(coordinator_state_tax1) + expect(table).not_to have_content(coordinator_country_tax1) expect(table).to have_content(cost_of_produce1) expect(table).to have_content(summary_row1) end