Rob Harrington
7d149ed198
Revert shop property filters - causing 10x slowdown
...
This commit reverts commits 7eeee78c4e to e8f96e4818 (inclusive)
2016-09-18 17:46:43 +10:00
Rohan Mitchell
e8f96e4818
When a shop is open, only show taxon badges for currently open order cycles
2016-09-16 11:47:45 +10:00
Rohan Mitchell
8339d247f8
Shops on groups page filter by property
2016-09-16 11:36:26 +10:00
Rohan Mitchell
ed2522f6d2
Explicitly specify supplied or distributed properties for ng filters: properties, propertiesOf
2016-09-16 11:36:26 +10:00
Rohan Mitchell
38d5682762
Add property filters for shops
2016-09-16 11:28:45 +10:00
Rohan Mitchell
4c40219352
Move hubs partials from home to shops, their rightful home
2016-09-16 11:28:45 +10:00
Rohan Mitchell
58e0b95cf6
Show property badges on shops
2016-08-26 12:13:48 +10:00
Rohan Mitchell
24d0e4fcf8
Update specs for calculator change
2016-08-26 09:29:09 +10:00
Rohan Mitchell
701c047a0a
Move our customisations of FlatPercentItemTotal calculator to a new calc: FlatPercentPerItem
2016-08-26 09:28:29 +10:00
Rohan Mitchell
fa30e28335
Update spec: Our pricing calculations are now consistent between the frontend and backend carts
2016-08-26 09:28:29 +10:00
Rohan Mitchell
b0eebc2e45
Round FlatPercentItemTotal calcs per-item before summing full quantity
2016-08-26 09:28:29 +10:00
Rohan Mitchell
7b2f65a965
Refactor spec so we can have different products in the cart
2016-08-26 09:28:29 +10:00
Rohan Mitchell
0dc12d8791
Parameterise add_product_to_cart spec helper method
2016-08-26 09:28:29 +10:00
Bing Xie
ed1f05e674
Show successful message
2016-08-12 16:31:49 +10:00
Bing Xie
98f3e15d87
Updating customer address feature tests
2016-08-12 14:44:59 +10:00
Bing Xie
add39f7401
Enterprise user can update customer's name
2016-08-12 14:44:59 +10:00
Rohan Mitchell
1054fd2d05
View closed shops by URL
2016-08-03 16:07:15 +10:00
Rohan Mitchell
243dfa7a93
Add retry for intermittently failing spec in variant overrides
2016-07-29 11:01:52 +10:00
Rohan Mitchell
d9d3a4a645
Set up producer filters on group producers page
2016-07-29 11:01:52 +10:00
Rohan Mitchell
b13360d2d0
Extract filter helpers from individual spec to spec helper
2016-07-29 11:01:52 +10:00
Rohan Mitchell
13cf5d29de
Add guard for selector overflow (only seen in phantom, not selenium/firefox or dev server/chrome)
2016-07-29 11:01:52 +10:00
Rohan Mitchell
ba854d12c8
Remove CMS specs
2016-07-29 09:14:36 +10:00
Maikel Linke
dee0fa6724
Trigger checkout click more reliably in specs
2016-07-22 14:10:16 +10:00
Maikel Linke
b5bc3a4ca3
Merge branch 'master' of github.com:openfoodfoundation/openfoodnetwork into enterprise-load
2016-07-13 10:01:16 +10:00
Rohan Mitchell
e373284934
Fix intermittent spec failure
2016-07-06 16:14:32 +10:00
Rohan Mitchell
13c8f0a230
Improve spec reliability
...
It seems that the success message on the customers page is disappearing before the spec can
detect it. This seems unlikely since it's present for 3 s, but this is my best theory right now.
2016-07-06 15:29:04 +10:00
Maikel Linke
52f68dac33
Merge branch 'master' of github.com:openfoodfoundation/openfoodnetwork into enterprise-load
2016-07-06 11:35:26 +10:00
Rohan Mitchell
f09cd9e477
Allow groups to be searched by URL
2016-07-06 11:08:38 +10:00
Rohan Mitchell
d6f21b24da
Add specs for producers and shops search by URL
2016-07-06 11:08:38 +10:00
Maikel Linke
08fdc8a5bd
Load producers of all or selected order cycles into shop
2016-06-29 12:57:09 +10:00
Rohan Mitchell
a5a00e9cef
Show taxons and properties on producer modal (seen on map, shop producer info)
2016-06-24 07:57:06 +10:00
Rohan Mitchell
4134cbfc9c
Include producer properties on producer listing
2016-06-24 07:57:06 +10:00
Rohan Mitchell
aae1689a27
Show product properties on producers page
2016-06-24 07:57:06 +10:00
Rohan Mitchell
fa0cc6f2c8
Add spec for filtering producers by taxon
2016-06-24 07:57:06 +10:00
Rob Harrington
d28c0159ab
Use have_selector x, count: y; instead of all(x).count.should == y
2016-06-17 16:44:02 +10:00
Rob Harrington
6586e67a5c
Better messaging around deletion of customers
2016-06-17 14:47:04 +10:00
Rob Harrington
61969f5c84
Ensure CustomersController#update.json gives an appropriate response
...
pendingChanges submits an empty string when a field is blank (rather than undefined)
2016-06-16 22:42:53 +10:00
Rob Harrington
a909f0ddb8
Merge remote-tracking branch 'origin/master' into pr/1033
2016-06-16 15:12:30 +10:00
Rob Harrington
25cdd4af8e
Preventing shop from being changed when unsaved customer changes exist
...
Also making layout of filters on customer index more consistent with other pages
2016-06-16 15:10:16 +10:00
Continuous Integration
9ba07a2afb
Merge remote-tracking branch 'origin/master' into HEAD
2016-06-15 11:26:02 +10:00
Rob Harrington
8221f1f193
Use scope. to ensure that tag rule sorting is applied
2016-06-15 10:51:34 +10:00
Bing Xie
c83952571f
Fix failed test
2016-06-15 10:51:34 +10:00
Bing Xie
18a8efed5f
Resize window to fix failed test
2016-06-15 10:51:34 +10:00
Bing Xie
7aa8f2c73c
Fix failed tests
2016-06-15 10:51:34 +10:00
Bing Xie
41837eb31d
Tweak create order cycle spec
2016-06-15 10:51:34 +10:00
Bing Xie
33fd88507d
Fix failed tests
2016-06-15 10:51:34 +10:00
Bing Xie
7994e2594a
Update create order cycle feature test
2016-06-15 10:51:34 +10:00
Maikel Linke
ee0a226388
Try to remove random failure from spec
2016-06-10 10:06:35 +10:00
Maikel Linke
5cd269411d
Trigger order button instead of click
2016-06-10 09:46:56 +10:00
Maikel Linke
ad1ef877c0
Warn about duplicate customer codes
...
The admin customer page displays a warning you change a code to an
existing one.
2016-06-10 09:09:56 +10:00