SrdjanCosicPrica
82e605c841
Fix form errors when going back to first step in dashboard OfferWizard (#2819)
7 vuotta sitten
Samir Shah
8560a90490
Replace calls to super(ClassName, self) with super().
7 vuotta sitten
Samir Shah
8a3288da43
Drop support below Django 1.11
8 vuotta sitten
Samir Shah
6b0267ed3a
Make ConditionalOffer.priority editable from dashboard. Fixes #2494.
The priority isn't strictly a "restriction", but this seems like the most sensible form to add it to.
8 vuotta sitten
Michael van Tellingen
28ea962ab6
Rename all tests files from *_tests.py to test_*.py
Better to use filenames which are commonly used in the python word then
custom ones.
9 vuotta sitten
Martijn Jacobs
5f50b9112a
Added test for directly saving without all the steps, added test for the dashboard offer-list page.
10 vuotta sitten
Maik Hoepfel
8f9d5db31f
Move django-oscar-testsupport into oscar.test
This allows updating code in both places, if necessary. Getting Django
1.5 support would be painful otherwise. This also removes the circular
dependency of django-oscar-testsupport on Oscar.
The requirements were merged. The imports were updated
accordingly. Unused imports in the touched files were removed. No
further changes.
12 vuotta sitten
David Winterbottom
d87139543a
Re-order steps in offer dashboard wizard
Following guidance from Tangent's UX team (blame them!)
* Split 'metadata' step into 'name and description' and 'restrictions'
* Add progress bar
* Add summary of entered data in right-hand sidebar
* Clean up breadcrumbs and URLs
Still needs from FED love.
13 vuotta sitten
David Winterbottom
b2bbaf2e91
Switch functional tests to use WebTest
13 vuotta sitten
David Winterbottom
176b82c250
Add WebTest for creating an offer
13 vuotta sitten
David Winterbottom
276e5b7aff
Rework validation of offer benefits
13 vuotta sitten
David Winterbottom
0dc6816a93
Extract functionality from oscar.test into separate package
Fixes #376
13 vuotta sitten
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
13 vuotta sitten
David Winterbottom
21e15e4bfa
Corrected bug in session keys for saving objects
13 vuotta sitten
David Winterbottom
98386def8f
Added enforcing that previous steps have been completed
13 vuotta sitten
David Winterbottom
16bd7bec07
Added happy path tests for creation and updating
13 vuotta sitten
David Winterbottom
f4daa0e107
First stage of offers dashboard complete
13 vuotta sitten
David Winterbottom
aa42cc4e9a
Added stock alerts to the dashboard
14 vuotta sitten