Rob Harrington
|
3e90f9aa1d
|
Update customers_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
189856a92a
|
Reimplement resize helper methods to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
1bad08c1c0
|
Update checkout_workflow and spec_helper to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
3ab7a3d62b
|
Update order_cycles_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
50a8554b55
|
Update enterprises_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
69e44bdeb3
|
Update enterprise_roles_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
5ae33747ea
|
Update enterprise_relationships_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
7dc792b6fe
|
Update enterprise_groups_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
e97f5e36a6
|
Update bulk_order_management_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
2ece6bfb49
|
Update subscriptions_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
8416af4995
|
Update variants_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
8413c5f60a
|
Update variant_overrides_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
5c268e9359
|
Update schedules_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
708e308b7c
|
Update products_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
c6a383aafd
|
Update bulk_product_update_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
cc55f59b00
|
Update tag_rules_spec to work with Selenium
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
118d26b2ff
|
Add aynchronous select2 search helper
select2_search from spree times out after 1 second, so this new method just waits for a result to be returned before attempting to select it
|
2019-01-16 16:21:30 +00:00 |
|
Rob Harrington
|
70502a7a32
|
Switch to using selenium as js driver for capybara specs
PhantomJS is no longer being maintained
|
2019-01-16 16:21:30 +00:00 |
|
Pau Perez
|
1e03835391
|
Update order while adjustments are open
Spree supports updating line items as the model contains these two
callbacks:
f55722b38d/core/app/models/spree/line_item.rb (L27-L28)
However, as
f55722b38d/core/app/models/spree/adjustment.rb (L1-L7)
clearly states, due to Adjustment's state machine, once the order is
finalized it can't be updated. Then, if we want to have an up-to-date
adjustment_total attribute for a complete order we must update it while
the adjustments are open. Otherwise, the following `immutable?` check
does not pass.
f55722b38d/core/app/models/spree/adjustment.rb (L84-L92)
|
2019-01-16 15:28:54 +01:00 |
|
Pau Pérez Fabregat
|
b05b2c3a5a
|
Merge pull request #3254 from coopdevs/add-default-stock-location
[Spree Upgrade] Create the default StockLocation in DB
|
2019-01-16 12:57:45 +01:00 |
|
Pau Pérez Fabregat
|
d2325fc7dd
|
Merge pull request #3230 from luisramos0/stock_levels
3222 Improve stock levels calculation code on cart populate and add specs to test handling of variant overrides
|
2019-01-16 12:54:25 +01:00 |
|
Matt-Yorkley
|
79dce01aef
|
Add spec for new on_demand logic
|
2019-01-16 01:19:01 +00:00 |
|
luisramos0
|
d926f7c776
|
Reorganize and improve cart controller spec
|
2019-01-15 13:42:51 +00:00 |
|
luisramos0
|
aa603c9a84
|
Make rubocop happy on cart controller, cart service and stock levels service
|
2019-01-15 13:42:51 +00:00 |
|
luisramos0
|
b0449be302
|
Add spec to test cart controller handling of variant overrides on cart populate
|
2019-01-15 13:38:58 +00:00 |
|
luisramos0
|
c0473a4505
|
Extract variants_stock_levels from cart_controller and refactor some names
|
2019-01-15 13:38:58 +00:00 |
|
luisramos0
|
497974db74
|
Delete outdated archived version of checkout spec
|
2019-01-14 14:32:51 +00:00 |
|
luisramos0
|
0009b663e7
|
Specify :mailer type in specs
According to RSpec docs we need to specify type: :mailer for mails to
work. Check it out:
https://relishapp.com/rspec/rspec-rails/v/3-8/docs/mailer-specs.
This fixes all specs in SubscriptionMailer
|
2019-01-13 15:50:35 +00:00 |
|
Pau Perez
|
5b8c0dffe2
|
Remove test for a state that is no longer possible
|
2019-01-11 16:39:06 +01:00 |
|
Pau Perez
|
10a678bdfe
|
Rely on Spree's default StockLocation
|
2019-01-11 16:39:06 +01:00 |
|
Pau Perez
|
9ebe112bcc
|
Abstract OFN's default stock location into a class
|
2019-01-11 15:52:09 +01:00 |
|
luisramos0
|
9ab99f13c4
|
Merge branch 'master' into 2-0-stable-jan-11th
|
2019-01-11 11:58:24 +00:00 |
|
Matt-Yorkley
|
3f62d82afc
|
Add more inventory testing for visibility in the inventory UI
|
2019-01-11 11:26:38 +00:00 |
|
Maikel Linke
|
4abacb3691
|
Remove unused spec helpers
They all seem to have been used in the past. People forgot to remove
them after removing the using spec code.
|
2019-01-11 18:04:24 +11:00 |
|
Maikel Linke
|
e89a836e72
|
Remove forgotten code from spec
Commit e4ebeb8a29 forgot to remove this
code.
|
2019-01-11 18:04:24 +11:00 |
|
Maikel Linke
|
223982f571
|
Prepare spec for Chrome testing
|
2019-01-11 18:04:24 +11:00 |
|
Maikel Linke
|
cbdda54989
|
DRY specs with new helper
|
2019-01-11 18:04:24 +11:00 |
|
Maikel
|
4920782742
|
Merge pull request #3072 from luisramos0/2-0-calc-line-items-for-take-2
Fix bug on calculator_decorator line_items_for where input is line_item with a nil order
|
2019-01-11 14:49:25 +11:00 |
|
Maikel
|
6c3d769121
|
Merge pull request #3229 from mkllnk/3127-tax-rates-report
3127 More robust tax rates report
|
2019-01-11 10:41:12 +11:00 |
|
Matt-Yorkley
|
66ac61f591
|
Rename background processing method
|
2019-01-10 09:57:06 +00:00 |
|
Matt-Yorkley
|
4f9f8adcd6
|
Add Service and remove Job
|
2019-01-10 09:57:06 +00:00 |
|
Matt-Yorkley
|
6b6a41cfbc
|
Update CSS
|
2019-01-10 09:57:06 +00:00 |
|
Matt-Yorkley
|
7d82020657
|
Move bulk invoice to new RESTful route
|
2019-01-10 09:57:06 +00:00 |
|
luisramos0
|
292f22af4e
|
Adapt factory completed_order_with_fees to new parent order_with_totals_and_distribution by cleaning up duplicate shipping fees
|
2019-01-09 23:31:40 +00:00 |
|
luisramos0
|
e787a317dc
|
Adapt user_balance_calculator_spec to new order_with_totals_and_distribution with shipping fee correctly included in its total
|
2019-01-09 16:02:09 +00:00 |
|
luisramos0
|
e45f7571fb
|
Fix order_with_totals_and_distribution by updating shipping fees
|
2019-01-09 15:20:28 +00:00 |
|
luisramos0
|
2cc8a0e9e3
|
Fix models/variant_override_spec by setting mandatory on_demand true when count_on_hand is nil
|
2019-01-08 15:32:10 +00:00 |
|
luisramos0
|
e28f9a7c84
|
Merge branch 'master' into 2-0-stable-jan-8th
|
2019-01-08 14:29:50 +00:00 |
|
Maikel
|
abbbfd6191
|
Merge pull request #3286 from luisramos0/2-0-order-spec
[Spree Upgrade] Fix specs in admin orders spec
|
2019-01-08 16:35:59 +11:00 |
|
luisramos0
|
bdefc0ebd1
|
Fix admin orders spec by adapting the spec to the recently de-defaced page
|
2019-01-07 12:16:28 +00:00 |
|