From f0c3d7685e8b62d388abaaa1616143da912acda0 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Tue, 4 Jul 2023 08:22:04 +0100 Subject: [PATCH] replace string reference with the translated string --- ...rprise_summary_fee_with_tax_report_by_producer_spec.rb | 8 ++++---- 1 file changed, 4 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 cbcf168451..732d300d5b 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 @@ -285,7 +285,7 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do it 'generates the report and displays fees for the respective suppliers' do login_as distributor_owner visit admin_reports_path - click_on I18n.t("admin.reports.enterprise_fees_with_tax_report_by_producer") + click_on "Enterprise Fees With Tax Report By Producer" expect(page).to have_button("Go") click_on "Go" @@ -316,7 +316,7 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do before do login_as distributor_owner visit admin_reports_path - click_on I18n.t("admin.reports.enterprise_fees_with_tax_report_by_producer") + click_on "Enterprise Fees With Tax Report By Producer" end it "should filter by distributor and order cycle" do @@ -493,7 +493,7 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do before do login_as distributor_owner visit admin_reports_path - click_on I18n.t("admin.reports.enterprise_fees_with_tax_report_by_producer") + click_on "Enterprise Fees With Tax Report By Producer" end it "should filter by distributor and order cycle" do @@ -734,7 +734,7 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do # pending("test case (3), see #10797") login_as distributor_owner visit admin_reports_path - click_on I18n.t("admin.reports.enterprise_fees_with_tax_report_by_producer") + click_on "Enterprise Fees With Tax Report By Producer" expect(page).to have_button("Go") click_on "Go"