Merge pull request #2902 from luisramos0/more-pending-tests

[Spree Upgrade] Mark specs from secondary features as xfeature
This commit is contained in:
Pau Pérez Fabregat
2018-10-23 19:00:49 +02:00
committed by GitHub
10 changed files with 27 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
require 'spec_helper'
xfeature %q{
feature %q{
As an Administrator
I want to be able to manage products in bulk
} , js: true do

View File

@@ -1,6 +1,6 @@
require "spec_helper"
feature %q{
xfeature %q{
As an administrator
I want numbers, all the numbers!
} do
@@ -118,7 +118,7 @@ feature %q{
end
xscenario "Pack By Customer" do
scenario "Pack By Customer" do
click_link "Pack By Customer"
fill_in 'q_completed_at_gt', with: '2013-04-25 13:00:00'
fill_in 'q_completed_at_lt', with: '2013-04-25 16:00:00'
@@ -133,7 +133,7 @@ feature %q{
expect(page).to have_selector 'table#listing_orders tbody tr', count: 5 # Totals row per order
end
xscenario "Pack By Supplier" do
scenario "Pack By Supplier" do
click_link "Pack By Supplier"
fill_in 'q_completed_at_gt', with: '2013-04-25 13:00:00'
fill_in 'q_completed_at_lt', with: '2013-04-25 16:00:00'
@@ -212,7 +212,7 @@ feature %q{
select("Tax types", from: "report_type")
end
xit "reports" do
it "reports" do
# Then it should give me access only to managed enterprises
expect(page).to have_select 'q_distributor_id_eq', with_options: [user1.enterprises.first.name]
expect(page).not_to have_select 'q_distributor_id_eq', with_options: [user2.enterprises.first.name]
@@ -317,7 +317,7 @@ feature %q{
variant2.option_values = [create(:option_value, :presentation => "Something")]
end
xit "shows products and inventory report" do
it "shows products and inventory report" do
quick_login_as_admin
visit spree.admin_reports_path
@@ -332,7 +332,7 @@ feature %q{
expect(page).to have_table_row [product2.supplier.name, product1.supplier.address.city, "Product 2", product1.properties.map(&:presentation).join(", "), product2.primary_taxon.name, "100g", "99.0", product1.group_buy_unit_size.to_s, "", "product_sku"]
end
xit "shows the LettuceShare report" do
it "shows the LettuceShare report" do
quick_login_as_admin
visit spree.admin_reports_path
click_link 'LettuceShare'
@@ -505,7 +505,7 @@ feature %q{
visit current_path
end
xit "generates a detailed report for account invoices" do
it "generates a detailed report for account invoices" do
select 'Detailed', from: 'report_type'
select accounts_distributor.name, from: 'q_distributor_id_eq'
click_button 'Search'

View File

@@ -1,6 +1,6 @@
require 'spec_helper'
feature 'Subscriptions' do
xfeature 'Subscriptions' do
include AuthenticationWorkflow
include WebHelper