136 Commits

Author SHA1 Message Date
Henriette Darge 6e228dc06a Fine-tune the shown forms of custom fields & fix tests 2026-02-23 09:08:21 +01:00
Ivan Kuchin 3473972dda remove explicit requires of support/pages/custom_fields/index_page 2026-01-08 17:27:35 +01:00
Ivan Kuchin fe31eda259 delete Page suffix for few feature spec page helpers that had it 2026-01-08 17:27:35 +01:00
Dombi Attila bc11699ddd Change custom_value_for to return values based on the multi_value? only 2025-11-12 20:25:17 +02:00
ulferts 0fc5905bcd attempt to fix flickering spec - no reload happening here 2025-09-09 15:39:56 +02:00
dombesz fe312f9f59 Merge pull request #19248 from opf/implementation/62713-add-feature-spec-for-adding-gates-to-phase-in-global-administration
Implementation/62713 add feature spec for adding gates to phase in global administration
2025-06-23 17:48:00 +02:00
ulferts f8fad16c77 move and adapt custom field feature specs 2025-06-23 12:00:33 +02:00
ulferts e07c2b95fc attempt to fix flickering spec 2025-06-19 15:55:37 +02:00
Christophe Bliard f1ca6765f0 On new CF page, show enterprise banner only for hierarchy type 2025-06-10 17:35:56 +02:00
Mir Bhatia c1573fca2c Update and add specs 2025-06-04 11:19:22 +02:00
ulferts 6b09de3384 Merge remote-tracking branch 'origin/dev' into merge-release/16.0-20250604034740 2025-06-04 09:00:25 +02:00
Marcello Rocha 01e835bb41 Handles empty Items when adding sub-items 2025-06-03 16:29:17 +02:00
Henriette Darge 36d390c8ae Show tree view next to hierachy CF 2025-05-28 15:32:35 +02:00
Henriette Darge 13851e435d Do not check for exact paths but allow parent and child routes to match 2025-05-28 09:16:40 +02:00
Henriette Darge 9423e3c236 Adapt tests to new SubHeader structure 2025-05-20 09:45:23 +02:00
Jan Sandbrink 0b87e7543f Freeze string literals in specs
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +02:00
Tobias Dillmann c56b5c1ceb [#36559] fix custom field feature spec 2025-03-13 13:11:26 +01:00
Dombi Attila 3020f45e20 Add multi version custom field spec 2025-03-05 12:45:08 +01:00
Alexander Brandon Coles 8c12e1dd91 Try to make Capy confirmation checking more robust
Since `Primer::Alpha::Checkbox` draws a custom checkbox element with a
`::before` pseudo-selector and disables the platform-native appearance.

This *may* cause issues with checking the confirmation check box.
2025-02-03 10:39:19 -03:00
Eric Schubert d5aa834b22 [#58637] replaced deletion confirmation with danger dialog
- https://community.openproject.org/work_packages/58637
- deleting a custom field hierarchy item now is guarded by a danger
  dialog
2025-01-24 14:08:01 +01:00
Oliver Günther b214c61315 Reset some specs 2025-01-14 13:23:57 +01:00
Oliver Günther f791d33b72 Replace specs 2025-01-14 10:20:35 +01:00
Jens Ulferts 4971c8a9ec Merge pull request #17200 from opf/feature/58163-project-specific-stage-administration
Feature/58163 project specific stage administration
2024-12-16 09:37:39 +01:00
Eric Schubert 9fc08851a6 [#59864] remove feature flag
- https://community.openproject.org/wp/59864
2024-12-06 15:25:12 +01:00
ulferts 866b739cff split project setting spec support pages 2024-11-28 11:38:00 +01:00
Eric Schubert 797e0ff7bd [#58865] fixed flaky custom fields specs 2024-11-13 14:47:50 +01:00
Marcello Rocha c60feee939 Fix the test-selectors disappearing from the forms. 2024-11-01 13:43:31 +01:00
Eric Schubert 485ea7f6e9 [#58426] add more structure to feature spec
- add regions to different steps of the feature spec
- removed expectations from page object
2024-10-25 12:57:35 +02:00
Eric Schubert a8a6d112da [#58426] add feature spec for custom fields of type hierarchy
- https://community.openproject.org/work_packages/58426
- add a couple of test selectors
- add page objects
2024-10-25 10:49:58 +02:00
Oliver Günther cd2d0f0e1a Remove primerized_flash prefix in methods 2024-09-30 21:39:36 +02:00
Oliver Günther 1cf49e2c9f Adapt specs 2024-09-30 20:37:00 +02:00
Henriette Darge 8788b34dbf Update the last page headers to use the new Primer::OpenProject::PageHeader component 2024-08-23 09:56:02 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
ulferts 3660031344 adapt spec setup 2024-06-21 13:34:02 +02:00
Ivan Kuchin 6678cab48d auto correct quotes 2024-03-28 18:22:34 +01:00
jjabari-op b4590b4f64 Merge branch 'dev' into epic/49688-custom-set-of-project-attributes-grouped-in-sections 2024-03-21 05:21:28 +01:00
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Jonas Jabari a63fb13574 remove project custom field specs from other custom field feature specs as they have been moved 2024-03-07 14:11:21 +07:00
Aaron Contreras 9b75ea6f90 Run rubocop -a on spec/features 2024-02-23 10:02:23 -05:00
Oliver Günther 82202e2f57 Fix rendering of multi-user cf 2024-02-07 11:28:53 +01:00
Christophe Bliard 8fa8584538 Run rubocop --autocorrect on all files
Only the safe cops have run. rubocop version is 1.59.0.
2024-01-05 15:27:09 +01:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Dominic Bräunlein f6f47009b1 chore[#51279] Add tests for breadcrumbs in new and edit custom fields 2023-11-29 23:44:48 +03:00
Richard Richter 389be7bce3 CustomField#allow_non_open_versions_possible? wider support...
- both allow_non_open_versions_possible? and multi_value_possible? now
also support TimeEntryCustomField, VersionCustomField
- when creating new CF of these types, GUI already offered the option
for Multi-select, but this was caused by the code in _form.html.erb
- user/list CFs can appear in more types than the four mentioned,
no reason to forbid multi-val there, but this is left for future
2023-10-25 15:42:28 +00:00
Richard "Virgo" Richter d646464fcf Feature 50526, support for non-open versions in version custom fields
- adds `allow_non_open_versions` boolean flag/column for CFs
- this option is available for CFs of type Version
- when enabled, edit offers also locked and closed versions as values
2023-10-19 12:37:24 +00:00
ulferts 5b2bc41f41 Merge remote-tracking branch 'origin/dev' into easier-factory-role-setup 2023-10-12 12:09:27 +02:00
ulferts 2b2abf864a introduce ProjectRole model 2023-10-09 14:34:20 +02:00
Klaus Zanders 78c1e4fadb Switch all uses of principal factories to use new interface 2023-10-09 10:39:44 +02:00
Oliver Günther 92259181ce Adapt specs to use introduced helpers 2023-09-13 09:02:42 +02:00
Christophe Bliard df827db627 Refactor CustomField factories using traits
Reduce duplication and harmonize the factory names:
- bool/boolean => boolean
- int/integer => integer

Co-authored-by: Aaron Contreras <aaronlcaq@gmail.com>
2023-08-29 08:57:39 +02:00