aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features
AgeCommit message (Collapse)Author
2017-12-11Refs: #5197@0.5h; Passing specs addedRobert
2017-12-11Merge pull request #144 from af83/4812-display_empty_compliance_control_blocksLuc Donnet
Refs 4812 UX changes to show empty compliance control blocks so the u…
2017-12-08Refs 4812 UX changes to show empty compliance control blocks so the user can ↵4812-display_empty_compliance_control_blockscedricnjanga
see them all
2017-12-07Refs: #5198@1.5h; Specing the presence of the Modal Action BoxRobert
- verifying the visibility of the action box - no dynamic behavior of the action box is verified (yet?) - would need javascript execution - refactoring suggestions --> https://projects.af83.io/issues/5206
2017-12-05networks_spec.rb: Use new Ruby hash syntaxTeddy Wing
Refs #5024
2017-12-05lines_spec.rb: Use new Ruby hash syntaxTeddy Wing
Refs #5024
2017-11-29spec/support/referential: Rename `:js` filter to `:truncation`Teddy Wing
This `before` hook allows tests to use the "truncation" database cleanup strategy. It doesn't do anything explicitly JavaScript-related. Rather, it was named JS because it was intended to be used for feature tests with JavaScript. However, now that I need to use it for a couple tests in `spec/models/referential_spec.rb`, the `:js` name doesn't make sense. Rename the filter to something that says what it does, not how it should be used. Refs #5024
2017-11-27Skip API key features test when STIF::Dashboard isn't used. Refs #4655Alban Peignier
2017-11-17Refs: #4823@0.2h; Code Review Part IIRobert
2017-11-17Fixes: #4823@0.5h; Fixed regression in Ransack button "Effacer" implicit ↵Robert
path does not work anymore
2017-11-17Refs: #4823@2h; Chasing and fixing regressions in feature specsRobert
2017-11-17Refs: #4823@0.5h; Translations changedRobert
2017-11-17Refs: #4823@1.7h; CodeReview #show -> #executedRobert
2017-11-17Fixes #4823@1h;Robert
- I18n.t explicit in helper so that it can be used in specs. - Typo in spec db setup fixed and setup of blocks put into create instead of later update.
2017-11-17Refs: #4823@4h; Fixed Transport(Sub)mode validation bugRobert
2017-11-17Refs: #4283@16h;Robert
- Implements the view Missing: - Spex failing (xpath navigation inside the display blocks is still faulty) - Links to compliance_checks#show do not work (actually not this page's problem)
2017-11-17Refs: #4823@1h; scaffolding feature spec, but blocked by #4826 [amend me] ↵Robert
[skip-ci]
2017-11-03 Fixes: #4802@1h;Robert
CR 3rd (and hopefully last) part - more typo corrections - reactivating deactivated specs - fixed reactivated specs
2017-11-02 Refs: #4802@2h; Replaying former work. To identify spec regressionRobert
Step 2: Added validation of reference->workbench->organisation consistency Made all specs pass Chased bug #4826
2017-10-31Fixes: #4774@1h;Robert
Filter Feature Spex of ComplianceControlSet#show implemented
2017-10-31Refs: #4774@2h; Debugging feature specs, added ↵Robert
ComplianceControl.subclass_patterns [amend me] [skip-ci]
2017-10-31Refs: #4774@3h;Robert
Speced feature compliance_control_set/show and filtering on Severity MISSING: Object Filter needs 2B specified
2017-10-31Refs: #4774;Robert
DB Setup for specs
2017-10-02Refs #4665cedricnjanga
Add a controller concern to deal with date filters
2017-09-30Update API Key features spec to use /dashboard page. Refs #4655Alban Peignier
2017-09-30Update 'New API Key' feature spec to use /dashboard page. Refs #4655Alban Peignier
2017-09-15Refs: #4446@1.5h;Robert
* Make failing /delete_api_key_feature_spec pending - Seems Capybara only sees html from the partial api_keys/_form, but not the parent api_keys/edit, which happens to contain the delete link :( * ApiKeyPolicy adapted - update? depends on record's organisation as no referential present - create? depends on user's permission only as organisation will be correct anyway
2017-09-15Refs: #4446@0.3h; Integrated Policy Specs of #4442 and adapting them to the ↵Robert
needs of #4446
2017-09-14Refs: #4446@1h; Api Keys Edit feature specedRobert
2017-09-14Refs: #4446@0.7438h; Creation feature specedRobert
2017-09-14Refs: #4446@1h; Migration, using VPN for app, clarification of specs --> ↵Robert
Ticket in Feedback
2017-09-12Change some specs to have all the wokbenches name to be 'Gestion de l'offre' ↵cedricnjanga
like in application controller
2017-09-11Update of ReferentialsController#new :cedricnjanga
- Add some context to referential and workbench decorator to access current_referential and assign it to the cloned referential - Add a build_referential method to avoir duplicates of code (in the controller and in the model), need to clean a bit more - Need to add some Spec features to take into account the functional scope of the current_user
2017-09-06Resolve merge conflictcedricnjanga
2017-09-05Remove typocedricnjanga
2017-09-05Referential#new_from :cedricnjanga
Added params to certains paths to have the workbench_id in it. The goal is to have the current workbench_id to assign it when do a Referential#new_from Then I finished the use of the functional scope to avoid potential errors I skipped some tests that hve a #TODO so we can easily find them
2017-09-04Skip temporarily workbench testcedricnjanga
2017-09-04add some change for the Referential#new_from to only have a line collection ↵cedricnjanga
regarding the functional scope of the current organozation
2017-08-31Merge branch 'master' into stif_netex_objectidXinhui
2017-08-31Fix features spec connection_linksXinhui
2017-07-26Fix workbench I18n specsjpl
2017-07-12routes_spec.rb: Remove reference to `ReferentialLines#index`Teddy Wing
That route has been removed. Fix the test to ensure it doesn't get accessed, but still performs what was previously tested. Refs #3479
2017-07-12referential_lines_spec.rb: Remove `#index` specsTeddy Wing
Now that I removed the `ReferentialLinesController#index` method and template (c7ceb38801b853154cdae31672ff2c105c8b191f), it no longer makes sense to keep these tests around. Refs #3479
2017-07-10Refs: #4021@1.5h; Added spec for incorrectly shown `Créer` button on ↵Robert
calenders#index view and made them pass
2017-07-06Refs:#3478@10h;Robert
Policy Refactoring and Policy Test Completion - All policies (and all permissions) under test. - Common patterns and potential problems identified... - ... and documented in DEVNOTES.md - some simply refactorings
2017-07-04Refs: #3478@1h removed boiv-read-offer and BoivPolicyRobert
2017-07-04Refs: #3478@1hRobert
newapplication helper default authorization, (no if) -> * DefaultPolicy (all true) * Add some policies (LinePolicy) * Use `boiv:read` pour show, index * Adapted `table_builder`
2017-07-04Refs #3961: updating wordingjpl
2017-07-04Fix workbench#show should keep filtering on sortXinhui
Refs #3871
2017-07-04Workbench#show filter by validity_period feature specXinhui