Skip to content

Commit e518224

Browse files
Gengar-iNattfarinntomaszszopinski
authored
IBX-7409: Changed Content Type to content type (#1087)
* IBX-7409: Changed Content Type to Content type * Changed Content type to content type, behats * Fixed typo in Sections.feature * adjusted validation in contentType.feature * Translations extracted * More adjustments in sections & contentType * Changed Deleted Content type to Deleted content type * More sections.feature adjustments * More Label changes, translations extractec * Extracted translations again --------- Co-authored-by: Nattfarinn <[email protected]> Co-authored-by: tomaszszopinski <[email protected]>
1 parent a929453 commit e518224

File tree

100 files changed

+343
-343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+343
-343
lines changed

features/personas/AddLocation.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@javascript @addLocation
2-
Feature: Verify that an Editor with Content Type limitation on content/create policy can add location
2+
Feature: Verify that an Editor with content type limitation on content/create policy can add location
33

44
@IbexaOSS @IbexaHeadless @IbexaExperience @IbexaCommerce
55
Scenario: I can add location

features/standard/ContentType.feature

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,95 +2,95 @@
22
Feature: Content types management
33
As an administrator
44
In order to customize my Ibexa installation
5-
I want to manage my Content types.
5+
I want to manage my content types.
66

77
Background:
88
Given I am logged as admin
99

1010
@javascript
11-
Scenario: Changes can be discarded while creating Content Type
12-
Given I'm on Content Type Page for "Content" group
13-
When I create a new Content Type
11+
Scenario: Changes can be discarded while creating content type
12+
Given I'm on content type Page for "Content" group
13+
When I create a new content type
1414
And I set fields
1515
| label | value |
16-
| Name | Test Content Type |
16+
| Name | Test content type |
1717
| Identifier | TestContentTypeIdentifier |
1818
And I perform the "Discard" action
19-
Then I should be on Content Type group page for "Content" group
20-
And there's no "Test Content Type" on Content Types list
19+
Then I should be on content type group page for "Content" group
20+
And there's no "Test content type" on content types list
2121

2222
@javascript
23-
Scenario: New Content Type can be added to Content Type group
24-
Given I'm on Content Type Page for "Content" group
25-
When I create a new Content Type
23+
Scenario: New content type can be added to content type group
24+
Given I'm on content type Page for "Content" group
25+
When I create a new content type
2626
And I set fields
2727
| label | value |
28-
| Name | Test Content Type |
28+
| Name | Test content type |
2929
| Identifier | TestContentTypeIdentifier |
3030
| Content name pattern | <name> |
31-
And I select "Content" category to Content Type definition
32-
And I add field "Country" to Content Type definition
31+
And I select "Content" category to content type definition
32+
And I add field "Country" to content type definition
3333
And I set "Name" to "Country field" for "Country" field
3434
And I perform the "Save and close" action
35-
Then notification that "Content Type" "New Content Type" is updated appears
36-
Then I should be on Content Type page for "Test Content Type"
37-
And Content Type has proper Global properties
35+
Then notification that "Content type" "New content type" is updated appears
36+
Then I should be on content type page for "Test content type"
37+
And content type has proper Global properties
3838
| label | value |
39-
| Name | Test Content Type |
39+
| Name | Test content type |
4040
| Identifier | TestContentTypeIdentifier |
4141
| Content name pattern | <name> |
42-
And Content Type "Test Content Type" has proper fields
42+
And content type "Test content type" has proper fields
4343
| fieldName | fieldType |
4444
| Country field | ezcountry |
4545

4646
@javascript @APIUser:admin
47-
Scenario: Changes can be discarded while editing Content type
48-
Given I create a "TestDiscard CT" Content Type in "Content" with "testdiscard" identifier
47+
Scenario: Changes can be discarded while editing content type
48+
Given I create a "TestDiscard CT" content type in "Content" with "testdiscard" identifier
4949
| Field Type | Name | Identifier | Required | Searchable | Translatable | Settings |
5050
| Text line | Name | name | no | yes | yes | |
51-
And I'm on Content Type Page for "Content" group
52-
And there's a "TestDiscard CT" on Content Types list
53-
When I start editing Content Type "TestDiscard CT"
51+
And I'm on content type Page for "Content" group
52+
And there's a "TestDiscard CT" on content types list
53+
When I start editing content type "TestDiscard CT"
5454
And I set fields
5555
| label | value |
56-
| Name | Test Content Type edited |
56+
| Name | Test content type edited |
5757
And I perform the "Discard" action
58-
Then I should be on Content Type group page for "Content" group
59-
And there's a "TestDiscard CT" on Content Types list
60-
And there's no "Test Content Type edited" on Content Types list
58+
Then I should be on content type group page for "Content" group
59+
And there's a "TestDiscard CT" on content types list
60+
And there's no "Test content type edited" on content types list
6161

6262
@javascript @APIUser:admin
63-
Scenario: New Field can be added while editing Content Type
64-
Given I create a "TestEdit CT" Content Type in "Content" with "testedit" identifier
63+
Scenario: New Field can be added while editing content type
64+
Given I create a "TestEdit CT" content type in "Content" with "testedit" identifier
6565
| Field Type | Name | Identifier | Required | Searchable | Translatable | Settings |
6666
| Text line | Name | name | no | yes | yes | |
67-
And I'm on Content Type Page for "Content" group
68-
When I start editing Content Type "TestEdit CT"
67+
And I'm on content type Page for "Content" group
68+
When I start editing content type "TestEdit CT"
6969
And I set fields
7070
| label | value |
71-
| Name | Test Content Type edited |
72-
And I add field "Date" to Content Type definition
71+
| Name | Test content type edited |
72+
And I add field "Date" to content type definition
7373
And I set "Name" to "DateField" for "Date" field
7474
And I perform the "Save and close" action
75-
Then success notification that "Content Type 'TestEdit CT' updated." appears
76-
Then I should be on Content Type page for "Test Content Type edited"
77-
And Content Type has proper Global properties
75+
Then success notification that "Content type 'TestEdit CT' updated." appears
76+
Then I should be on content type page for "Test content type edited"
77+
And content type has proper Global properties
7878
| label | value |
79-
| Name | Test Content Type edited |
79+
| Name | Test content type edited |
8080
| Identifier | testedit |
8181
| Content name pattern | <name> |
82-
And Content Type "Test Content Type" has proper fields
82+
And content type "Test content type" has proper fields
8383
| fieldName | fieldType |
8484
| Name | ezstring |
8585
| DateField | ezdate |
8686

8787
@javascript @APIUser:admin
88-
Scenario: Content type can be deleted from Content Type group
89-
Given I create a "TestDelete CT" Content Type in "Content" with "testdelete" identifier
88+
Scenario: Content type can be deleted from content type group
89+
Given I create a "TestDelete CT" content type in "Content" with "testdelete" identifier
9090
| Field Type | Name | Identifier | Required | Searchable | Translatable | Settings |
9191
| Text line | Name | name | no | yes | yes | |
92-
And I'm on Content Type Page for "Content" group
93-
And there's a "TestDelete CT" on Content Types list
94-
When I delete "TestDelete CT" Content Type
95-
Then success notification that "Content Type 'TestDelete CT' deleted." appears
96-
And there's no "TestDelete CT" on Content Types list
92+
And I'm on content type Page for "Content" group
93+
And there's a "TestDelete CT" on content types list
94+
When I delete "TestDelete CT" content type
95+
Then success notification that "Content type 'TestDelete CT' deleted." appears
96+
And there's no "TestDelete CT" on content types list

features/standard/ContentTypeGroup.feature

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,68 +2,68 @@
22
Feature: Content type groups management
33
As an administrator
44
In order to customize my project
5-
I want to manage my Content Type groups
5+
I want to manage my content type groups
66

77
Background:
88
Given I am logged as admin
99

1010
@javascript
11-
Scenario: Changes can be discarded while creating new Content Type group
12-
Given I open "Content Type groups" page in admin SiteAccess
13-
When I create a new Content Type group
11+
Scenario: Changes can be discarded while creating new content type group
12+
Given I open "Content type groups" page in admin SiteAccess
13+
When I create a new content type group
1414
And I set fields
1515
| label | value |
16-
| Name | Test Content Type Group |
16+
| Name | Test content type Group |
1717
And I perform the "Discard" action
18-
Then I should be on "Content Type groups" page
19-
And there's no "Test Content Type Group" Content Type group on Content Type groups list
18+
Then I should be on "Content type groups" page
19+
And there's no "Test content type Group" content type group on content type groups list
2020

2121
@javascript
22-
Scenario: New Content Type group can be added
23-
Given I open "Content Type groups" page in admin SiteAccess
24-
When I create a new Content Type group
22+
Scenario: New content type group can be added
23+
Given I open "Content type groups" page in admin SiteAccess
24+
When I create a new content type group
2525
And I set fields
2626
| label | value |
27-
| Name | Test Content Type Group |
27+
| Name | Test content type Group |
2828
And I perform the "Save and close" action
29-
Then I should be on Content Type group page for "Test Content Type Group" group
30-
And there're no Content Types for that group
29+
Then I should be on content type group page for "Test content type Group" group
30+
And there're no content types for that group
3131

3232
@javascript
33-
Scenario: Changes can be discarded while editing Content Type group
34-
Given I open "Content Type groups" page in admin SiteAccess
35-
And there's a "Test Content Type Group" Content Type group on Content Type groups list
36-
When I start editing Content Type group "Test Content Type Group"
33+
Scenario: Changes can be discarded while editing content type group
34+
Given I open "Content type groups" page in admin SiteAccess
35+
And there's a "Test content type Group" content type group on content type groups list
36+
When I start editing content type group "Test content type Group"
3737
And I set fields
3838
| label | value |
39-
| Name | Test Content Type Group edited |
39+
| Name | Test content type Group edited |
4040
And I perform the "Discard changes" action
41-
Then I should be on "Content Type groups" page
42-
And there's a "Test Content Type Group" Content Type group on Content Type groups list
43-
And there's no "Test Content Type Group edited" Content Type group on Content Type groups list
41+
Then I should be on "Content type groups" page
42+
And there's a "Test content type Group" content type group on content type groups list
43+
And there's no "Test content type Group edited" content type group on content type groups list
4444

4545
@javascript
46-
Scenario: Content Type group can be edited
47-
Given I open "Content Type groups" page in admin SiteAccess
48-
And there's a "Test Content Type Group" Content Type group on Content Type groups list
49-
When I start editing Content Type group "Test Content Type Group"
46+
Scenario: Content type group can be edited
47+
Given I open "Content type groups" page in admin SiteAccess
48+
And there's a "Test content type Group" content type group on content type groups list
49+
When I start editing content type group "Test content type Group"
5050
And I set fields
5151
| label | value |
52-
| Name | Test Content Type Group edited |
52+
| Name | Test content type Group edited |
5353
And I perform the "Save and close" action
54-
Then I should be on Content Type group page for "Test Content Type Group edited" group
55-
And success notification that "Updated Content Type group 'Test Content Type Group'." appears
54+
Then I should be on content type group page for "Test content type Group edited" group
55+
And success notification that "Updated content type group 'Test content type Group'." appears
5656

5757
@javascript
5858
Scenario: Content type group can be deleted
59-
Given I open "Content Type groups" page in admin SiteAccess
60-
And there's an empty "Test Content Type Group edited" Content Type group on Content Type groups list
61-
When I delete "Test Content Type Group edited" from Content Type groups
62-
Then success notification that "Deleted Content Type group 'Test Content Type Group edited'." appears
63-
And there's no "Test Content Type Group edited" Content Type group on Content Type groups list
59+
Given I open "Content type groups" page in admin SiteAccess
60+
And there's an empty "Test content type Group edited" content type group on content type groups list
61+
When I delete "Test content type Group edited" from content type groups
62+
Then success notification that "Deleted content type group 'Test content type Group edited'." appears
63+
And there's no "Test content type Group edited" content type group on content type groups list
6464

6565
@javascript
66-
Scenario: Non-empty Content type group cannot be deleted
67-
Given I open "Content Type groups" page in admin SiteAccess
68-
When there's non-empty "Content" Content Type group on Content Type groups list
69-
Then Content Type group "Content" cannot be selected
66+
Scenario: Non-empty content type group cannot be deleted
67+
Given I open "Content type groups" page in admin SiteAccess
68+
When there's non-empty "Content" content type group on content type groups list
69+
Then content type group "Content" cannot be selected

features/standard/Roles.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Feature: Roles management
137137
Given I am logged as admin
138138
And I open "Test Role edited" Role page in admin SiteAccess
139139
When I start creating a new Policy
140-
And I select policy "Content Type / All functions"
140+
And I select policy "Content type / All functions"
141141
And I perform the "Discard" action
142142
Then I should be on "Test Role edited" Role page
143143
And Policies list is empty
@@ -153,12 +153,12 @@ Feature: Roles management
153153
And I select policy "Content / Read"
154154
And I perform the "Save and close" action
155155
And success notification that "Now you can set Limitations for the Policy." appears
156-
And I select limitation for "Content Type"
156+
And I select limitation for "Content type"
157157
| option |
158158
| File |
159159
And I perform the "Save and close" action
160160
Then I should be on "Test Role edited" Role page
161-
And there is a policy "Content/Read" with "Content Type: File" limitation on the "Test Role edited" policies list
161+
And there is a policy "Content/Read" with "Content type: File" limitation on the "Test Role edited" policies list
162162
And there are assignments on the "Test Role edited" assignments list
163163
| User/Group | Limitation |
164164
| Anonymous User | Subtree: /Media/Images |
@@ -181,7 +181,7 @@ Feature: Roles management
181181
Given I am logged as admin
182182
And I open "Test Role edited" Role page in admin SiteAccess
183183
When I start editing the policy "Content" "Read"
184-
And I select limitation for "Content Type"
184+
And I select limitation for "Content type"
185185
| option |
186186
| Article |
187187
| Folder |
@@ -193,7 +193,7 @@ Feature: Roles management
193193
Then I should be on "Test Role edited" Role page
194194
And there are policies on the "Test Role edited" policies list
195195
| policy | limitation |
196-
| Content/Read | Content Type: Article, Folder |
196+
| Content/Read | Content type: Article, Folder |
197197
| Content/Read | Subtree: /Users/Anonymous users |
198198
| Content/Read | State: Lock:Locked |
199199
And there are assignments on the "Test Role edited" assignments list
@@ -208,7 +208,7 @@ Feature: Roles management
208208
| item |
209209
| Content |
210210
Then success notification that "Removed Policies from Role 'Test Role edited'." appears
211-
And there is no policy "Content/Read" with "Content Type: File" limitation on the "Test Role edited" policies list
211+
And there is no policy "Content/Read" with "Content type: File" limitation on the "Test Role edited" policies list
212212
And there are assignments on the "Test Role edited" assignments list
213213
| User/Group | Limitation |
214214
| Anonymous User | Subtree: /Media/Images |

features/standard/Sections.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Feature: Sections management
6060
Then success notification that "1 Content items assigned to 'Test Section'" appears
6161
Then I should be on "Test Section" Section page
6262
And content items list in section "Test Section" contains items
63-
| Name | Content Type | Path |
63+
| Name | content type | Path |
6464
| TestSection | Folder | Media |
6565

6666
@javascript
@@ -126,7 +126,7 @@ Feature: Sections management
126126
Then success notification that "1 Content items assigned to 'Media'" appears
127127
Then I should be on "Media" Section page
128128
And content items list in section "Media" contains items
129-
| Name | Content Type | Path |
129+
| Name | content type | Path |
130130
| TestSection | Folder | Media |
131131
And I open "Test Section edited2" Section page in admin SiteAccess
132132
And the "Test Section edited2" has no assigned Content Items

features/standard/fields/contentQuery.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feature: Content fields setting and editing
66

77
@javascript @APIUser:admin @contentQuery
88
Scenario Outline: Create content item with Content Query field
9-
Given I create a "<fieldName> CT" Content Type in "Content" with "<fieldInternalName>" identifier
9+
Given I create a "<fieldName> CT" content type in "Content" with "<fieldInternalName>" identifier
1010
| Field Type | Name | Identifier | Required | Searchable | Translatable | Settings |
1111
| <fieldName> | Field | <fieldInternalName> | no | no | yes | <fieldSettings> |
1212
| Text line | Name | name | no | yes | yes | |

features/standard/fields/date.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feature: Content fields setting and editing
66

77
@javascript @APIUser:admin
88
Scenario Outline: Create content item with given field
9-
Given I create a "<fieldName> CT" Content Type in "Content" with "<fieldInternalName>" identifier
9+
Given I create a "<fieldName> CT" content type in "Content" with "<fieldInternalName>" identifier
1010
| Field Type | Name | Identifier | Required | Searchable | Translatable | Settings |
1111
| <fieldName> | Field | <fieldInternalName> | no | no | yes | <fieldSettings> |
1212
| Text line | Name | name | no | yes | yes | |

features/standard/fields/map.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feature: Content fields setting and editing
66

77
@javascript @APIUser:admin
88
Scenario Outline: Create content item with given field
9-
Given I create a "<fieldName> CT" Content Type in "Content" with "<fieldInternalName>" identifier
9+
Given I create a "<fieldName> CT" content type in "Content" with "<fieldInternalName>" identifier
1010
| Field Type | Name | Identifier | Required | Searchable | Translatable | Settings |
1111
| <fieldName> | Field | <fieldInternalName> | no | no | yes | <fieldSettings> |
1212
| Text line | Name | name | no | yes | yes | |

0 commit comments

Comments
 (0)