aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features
AgeCommit message (Collapse)Author
2018-03-09Refs #5934 clean spec filecedricnjanga
2018-03-09Refs #5934 Remove destructive action links for route stop points in Routes#showcedricnjanga
2018-03-09Refs #5934 Add specs to routes spec featurecedricnjanga
2018-02-28Refs #6044 Add spec to check that CCSet#index only dislays objets from user orga6044_add_ccset_spec_affectationcedricnjanga
- Small change in ComplianceControlSetsHelper#organisations_filters_values to avoid errors - Add spec
2018-02-20Refs #5863 @6h; Remove workbench id from the querystringZog
Infer it when possible, and use a nested otherwise
2018-02-09Refs #5824; Fix specsZog
2018-01-30Make some changes to avoid unnacessaty lines of codecedricnjanga
2018-01-19Merge pull request #247 from ↵Luc Donnet
af83/5592-workbenches-show--filter-by-workgroup-on-initial-load 5592 workbenches show filter by workgroup on initial load
2018-01-19Fix compliance check sets breadcrumb, locales and datas displayLuc Donnet
2018-01-16workbenches/show: Filter referentials by workgroupTeddy Wing
Previously, all `Referential`s would be listed on this page if they had matching line metadata. Now, we exclude those referentials that are in other workgroups to ensure users don't see referentials they're not supposed to see. Refs #5592
2018-01-15workbenches_show_spec: Test organisations in filtration listTeddy Wing
Check that only `Organisation`s associated with the current `Workgroup` appear in the list of filters on `Workbenches#show`. Also rewrite the `other_referential` object to put it in a different workbench from the first referential, enabling us to have multiple organisations in the same `Workgroup`. Refs #5140
2018-01-10Refs #5525 @1h; Add a `diable-with` attr on all submit buttonsZog
2018-01-03Merge branch 'master' into ↵Luc Donnet
5024-prevent-duplicate-referentials-from-being-created-during-parallel-db-transactions--rb201711271659
2018-01-02Merge pull request #186 from af83/5102-begin_of_association_chainLuc Donnet
5102 Use current_organisation as begin_of_association_chain
2017-12-28Associate current organisation with tested LineReferential in features ↵5102-begin_of_association_chainAlban Peignier
specs. Refs #5102
2017-12-28Associate current organisation with tested StopAreaReferential in StopArea ↵5111-begin_of_association_chainAlban Peignier
features specs. Refs #5111
2017-12-26Add feature purchase_windows to organisation in PurchaseWindows specs. Refs ↵Alban Peignier
#5366
2017-12-23Merge pull request #175 from ↵Luc Donnet
af83/5366-add-feature-specs-for-the-CRUD-actions-on-PurchaseWindo 5366 add feature specs for the crud actions on purchase windo
2017-12-21Refs #5301 Add ransackable scope to PurchaseWindow for date_rangescedricnjanga
2017-12-21purchase_windows_spec: Add feature spec for destroyTeddy Wing
Check that `PurchaseWindow`s can be destroyed, starting from the `#index` page. Update the i18n key used in the decorator to get the text that appears in the alert when destroying a `PurchaseWindow` so that it correctly corresponds to the one used in the locale file. Refs #5366
2017-12-21purchase_windows_spec: Add feature test for PurchaseWindow updateTeddy Wing
Test that `PurchaseWindow`s can be updated starting from the `#index` page. Refs #5366
2017-12-21purchase_windows_spec: Add #index new/create testTeddy Wing
Add a feature spec that creates a new `PurchaseWindow` from the #index page. Fix i18n keys for `simple_form` to correctly show labels inside the form and be able to identify the correct elements inside the test. Refs #5366
2017-12-21Fix edit, i18n and add feature spec for purchase window Refs #5301 @3Luc Donnet
2017-12-19Fix compliance check set feature to use the correct titleLuc Donnet
2017-12-11Refs: #5197@0.25h; Minor ApprovementsRobert
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