Commit graph

46 commits

Author SHA1 Message Date
Christophe Robillard
10706a2712
add dropdown component for traditional or with export_template export
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:41 +01:00
Christophe Robillard
f383e1c502
prepare export template to be used for tabular template
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:40 +01:00
Lisa Durand
507ea70398
improve color selection for Admin and improve generic label lists 2024-11-04 16:48:47 +01:00
Lisa Durand
e723c9e365
create generic label for procedure in controller instead of using a hook 2024-11-04 16:48:11 +01:00
Lisa Durand
d0b1292060
instructeur can add and delete labels on dossier show 2024-11-04 16:05:35 +01:00
Paul Chavard
7a39267473
refactor(spec): champs_* -> project_champs_* 2024-10-04 12:29:50 +02:00
Paul Chavard
a57d8f2df8
fix failing spec 2024-09-16 12:31:10 +02:00
Paul Chavard
7b1c882498
spec(js): cleanup js tags 2024-09-16 12:31:10 +02:00
Paul Chavard
701e71cbbf
spec(selenium): improve chromedriver config 2024-09-10 21:31:30 +02:00
simon lehericey
523e4fff41
spec: fix flaky 2024-09-02 16:52:25 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
Lisa Durand
5281ab966a
add deleted dossiers in menu for instructeurs 2024-08-20 15:26:15 +02:00
Paul Chavard
9f9243499c
refactor(combobox): fix specs 2024-07-05 09:36:33 +02:00
simon lehericey
6982b2d5e8
refactor: do not enqueue antivirus job for safe blob 2024-04-16 09:57:31 +02:00
Martin
2952987ad8 refactor(spec): stop using procedure type de champs traits as :with_datetime, :with_xxx in favor of :types_de_champ_public which keeps position in check 2024-01-23 17:30:22 +01:00
Colin Darie
adfeac02e7
style: replace new-folder icon with remix/dsfr icon 2023-12-04 14:07:17 +01:00
Colin Darie
560d291bcd test: retry system tests only on CI (get error fast in local) 2023-11-06 15:15:51 +01:00
Paul Chavard
d53a00137c feat(dossier): enable conditional annotations 2023-10-02 15:41:27 +02:00
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications 2023-09-28 12:35:26 +02:00
Colin Darie
307ba68970
feat(exports): humanize status name 2023-09-28 12:35:20 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page 2023-09-28 12:35:16 +02:00
Lisa Durand
79669dba37
fix spec 2023-09-28 12:35:05 +02:00
Christian Lautier
db278e83ed add a constant for the most used test password 2023-08-31 13:40:05 +02:00
simon lehericey
bd78a14f62 spec: add retry to all system spec 2023-08-31 09:59:18 +02:00
seb-by-ouidou
dcdf33e4fd fix spec (% 10000 and assert_performed_jobs) 2023-07-24 14:43:31 +02:00
Paul Chavard
207ce21327 fix(dossier): instructeur actions should be buttons and not links 2023-04-07 12:12:15 +02:00
Lisa Durand
4a2982dc37 fix tests and linter 2023-03-22 09:30:26 +01:00
Lisa Durand
72667cb49a fix tests 2023-03-02 16:37:05 +01:00
Lisa Durand
6487e2c27e implement turbostream back for state change in dossier view 2023-02-24 17:54:53 +01:00
Lisa Durand
90a7ecef52 rename state button to instruction button 2023-02-23 16:05:38 +01:00
Lisa Durand
fddcce8b7b fix specs 2023-02-22 18:17:06 +01:00
Martin
69aed18b46 correctif(instructeurs/dossier#telecharger_pjs): ne pas inclure les bills et horodatage quand on telecharge un dossier unitairement 2022-12-26 17:11:10 +01:00
Paul Chavard
e6288c39f2 refactor(dossier): champs -> champs_public 2022-11-10 22:44:39 +00:00
Martin
df3ef23f7e fix(spec): 1. visit new_user_session_path instead of navigating to it. 2. change way to submit search according to dsfr html. 3. avoid nav without aria label. 4. various lint fixes 2022-09-06 10:09:12 +02:00
Martin
e35da17ce8 bug(instructeurs/archives#create): month should not be nil 2022-08-23 15:31:17 +02:00
Martin
87af7f3261 feat(exports): implement admin export 2022-07-20 14:08:33 +02:00
Paul Chavard
564daeffe8 perf(dossier): improuve dossier preloading perf 2022-06-14 09:04:26 +01:00
Martin
ad5c659f88 bug(instructeurs/dossiers#destroy): redirect on destroyed dossier -> NotFound 2022-05-17 11:42:10 +02:00
Paul Chavard
142e6c032c cleanup(dossier): remove legacy menu 2022-05-11 11:01:25 +02:00
simon lehericey
579578cf0c fix system spec 2022-04-12 12:05:08 +02:00
Paul Chavard
e82dc9c8b5 feat(exports): add ability to create exports with filters 2022-04-06 17:08:38 +02:00
Paul Chavard
a50d07400e refactor(instructeur): cleanup destroy / restore routes 2022-03-11 14:06:34 +01:00
Paul Chavard
7e81b257b1 test(system): simplify select menu selector 2022-01-13 17:49:16 +01:00
Paul Chavard
cb66348916 a11y(select): cleanup select helpers in specs 2022-01-05 12:33:40 +01:00
simon lehericey
5a0fb6237f 😭 AASM does not support keyword arguments
https://github.com/aasm/aasm/issues/672
2021-11-30 09:42:45 +01:00
Pierre de La Morinerie
9fd38cae5e specs: migrate from features to system specs
System specs have been available since Rails 5.1, and are better
integrated with the Rails framework.

- Rename `spec/features` to `spec/system`
- Rename `feature do` to `describe do`
- Configure Capybara for system specs

Steps mostly taken from https://medium.com/table-xi/a-quick-guide-to-rails-system-tests-in-rspec-b6e9e8a8b5f6
2021-10-26 12:24:46 +02:00
Renamed from spec/features/instructeurs/instruction_spec.rb (Browse further)