Commit fc3da2f 1 parent fad2c26 commit fc3da2f Copy full SHA for fc3da2f
File tree 7 files changed +22
-22
lines changed
7 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ Feature: As an site administrator I want my pages to be cached using Symfony Htt
14
14
| title | <itemName > |
15
15
And response headers contain
16
16
| Header | Value |
17
- | Cache - Control | public , s -maxage =86400 |
18
- | X - Symfony - Cache | <headerValue > |
17
+ | cache - control | public , s -maxage =86400 |
18
+ | x - symfony - cache | <headerValue > |
19
19
20
20
21
21
Examples :
@@ -43,8 +43,8 @@ Feature: As an site administrator I want my pages to be cached using Symfony Htt
43
43
| title | <itemNameAfterEdit > |
44
44
And response headers contain
45
45
| Header | Value |
46
- | Cache - Control | public , s -maxage =86400 |
47
- | X - Symfony - Cache | <headerValue > |
46
+ | cache - control | public , s -maxage =86400 |
47
+ | x - symfony - cache | <headerValue > |
48
48
49
49
Examples :
50
50
| user | password | itemName | itemNameAfterEdit | headerValue |
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ Feature: Caching of embedded items
23
23
And I should see "<embeddedItemName>"
24
24
And response headers contain
25
25
| Header | Value |
26
- | Cache - Control | public , s -maxage =86400 |
27
- | X - Symfony - Cache | <headerValue > |
26
+ | cache - control | public , s -maxage =86400 |
27
+ | x - symfony - cache | <headerValue > |
28
28
When I edit "<embeddedItemName>" Content item in "eng-GB"
29
29
| name |
30
30
| <editedEmbeddedItemName > |
@@ -52,10 +52,10 @@ Feature: Caching of embedded items
52
52
And I should see "<embeddedItemName>"
53
53
And response headers contain
54
54
| Header | Value |
55
- | Cache - Control | public , s -maxage =86400 |
55
+ | cache - control | public , s -maxage =86400 |
56
56
And response headers match pattern
57
57
| Header | Pattern |
58
- | X - Symfony - Cache | <expectedPattern > |
58
+ | x - symfony - cache | <expectedPattern > |
59
59
60
60
Examples :
61
61
| embeddingItemName | embeddedItemName | expectedPattern |
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ Feature: Cached response is different for users with different permissions
9
9
And I should see "Administrator User"
10
10
And response headers contain
11
11
| Header | Value |
12
- | Cache - Control | public , s -maxage =86400 |
13
- | X - Symfony - Cache | GET /site /Users /Administrator -users /Administrator -User : fresh |
12
+ | cache - control | public , s -maxage =86400 |
13
+ | x - symfony - cache | GET /site /Users /Administrator -users /Administrator -User : fresh |
14
14
When I am viewing the pages on siteaccess "site" as "Anonymous"
15
15
And I visit "Users/Administrator-users/Administrator-User" on siteaccess "site"
16
16
Then I should not see "Administrator User"
@@ -32,8 +32,8 @@ Feature: Cached response is different for users with different permissions
32
32
And I should see "Administrator User"
33
33
And response headers contain
34
34
| Header | Value |
35
- | Cache - Control | public , s -maxage =86400 |
36
- | X - Symfony - Cache | GET /site /testcontentitem : fresh |
35
+ | cache - control | public , s -maxage =86400 |
36
+ | x - symfony - cache | GET /site /testcontentitem : fresh |
37
37
When I am viewing the pages on siteaccess "site" as "Anonymous"
38
38
And I visit "TestContentItem" on siteaccess "site"
39
39
Then I should see "TestContentItem"
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ Feature: As an site administrator I want my pages to be cached using Varnish
10
10
When I visit <itemName> on siteaccess "site"
11
11
And response headers contain
12
12
| Header | Value |
13
- | X - Cache | MISS |
13
+ | x - cache | MISS |
14
14
And I reload the page
15
15
Then I see correct preview data for "Folder" content type
16
16
| field | value |
17
17
| title | <itemName > |
18
18
And response headers contain
19
19
| Header | Value |
20
- | X - Cache | HIT |
20
+ | x - cache | HIT |
21
21
22
22
Examples :
23
23
| user | password | itemName |
@@ -37,7 +37,7 @@ Feature: As an site administrator I want my pages to be cached using Varnish
37
37
| title | <itemName > |
38
38
And response headers contain
39
39
| Header | Value |
40
- | X - Cache | HIT |
40
+ | x - cache | HIT |
41
41
When I edit "<itemName>" Content item in "eng-GB"
42
42
| short_name |
43
43
| <itemNameAfterEdit > |
@@ -52,7 +52,7 @@ Feature: As an site administrator I want my pages to be cached using Varnish
52
52
| title | <itemNameAfterEdit > |
53
53
And response headers contain
54
54
| Header | Value |
55
- | X - Cache | HIT |
55
+ | x - cache | HIT |
56
56
57
57
Examples :
58
58
| user | password | itemName | itemNameAfterEdit |
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Feature: Caching of embedded items
23
23
And I should see "<embeddedItemName>"
24
24
And response headers contain
25
25
| Header | Value |
26
- | X - Cache | HIT |
26
+ | x - cache | HIT |
27
27
When I edit "<embeddedItemName>" Content item in "eng-GB"
28
28
| name |
29
29
| <editedEmbeddedItemName > |
@@ -54,7 +54,7 @@ Feature: Caching of embedded items
54
54
And I should see "<embeddedItemName>"
55
55
And response headers contain
56
56
| Header | Value |
57
- | X - Cache | HIT |
57
+ | x - cache | HIT |
58
58
59
59
Examples :
60
60
| embeddingItemName | embeddedItemName |
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Feature: Cached response is different for users with different permissions
8
8
And I should see "Administrator User"
9
9
And response headers contain
10
10
| Header | Value |
11
- | X - Cache | HIT |
11
+ | x - cache | HIT |
12
12
When I am viewing the pages on siteaccess "site" as "Anonymous"
13
13
And I visit "Users/Administrator-users/Administrator-User" on siteaccess "site"
14
14
Then I should not see "Administrator User"
@@ -30,7 +30,7 @@ Feature: Cached response is different for users with different permissions
30
30
And I should see "Administrator User"
31
31
And response headers contain
32
32
| Header | Value |
33
- | X - Cache | HIT |
33
+ | x - cache | HIT |
34
34
When I am viewing the pages on siteaccess "site" as "Anonymous"
35
35
And I visit "TestContentItem" on siteaccess "site"
36
36
Then I should see "TestContentItem"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Feature: As an site administrator I want my pages to be cached using Varnish
13
13
| title | <itemName > |
14
14
And response headers contain
15
15
| Header | Value |
16
- | X - Cache | HIT |
16
+ | x - cache | HIT |
17
17
When I edit "<itemName>" Content item in "eng-GB"
18
18
| short_name |
19
19
| <itemNameAfterEdit > |
@@ -28,7 +28,7 @@ Feature: As an site administrator I want my pages to be cached using Varnish
28
28
| title | <itemNameAfterEdit > |
29
29
And response headers contain
30
30
| Header | Value |
31
- | X - Cache | HIT |
31
+ | x - cache | HIT |
32
32
33
33
Examples :
34
34
| user | password | itemName | itemNameAfterEdit |
You can’t perform that action at this time.
0 commit comments