Corrects namespace; adds pending on failing examples - payment_r

This commit is contained in:
filipefurtad0
2022-06-15 18:32:35 +01:00
parent 32e247bf75
commit 54bcd75f3f

View File

@@ -31,11 +31,12 @@ describe "Payments Reports" do
create(:line_item_with_shipment, order: other_order, product: product)
login_as_admin
visit main_app.admin_report_path(report_type: 'payments')
end
context "when choosing itemised payments report type" do
it "shows orders with payment state, their balance and totals" do
visit spree.payments_admin_reports_path
pending "reports overhaul spec update"
select I18n.t(:report_itemised_payment), from: "report_subtype"
find("[type='submit']").click
@@ -72,7 +73,7 @@ describe "Payments Reports" do
}
it 'shows orders with payment state, their balance and and payment totals' do
visit spree.payments_admin_reports_path
pending "reports overhaul spec update"
select I18n.t(:report_payment_totals), from: "report_subtype"
find("[type='submit']").click