-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2216 from ministryofjustice/fix-build
use 2024 date so build fix lasts longer
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,10 +157,10 @@ Feature: Admin | |
# date fields for feedback range | ||
When I force fill out "#id-day-start-date" element with "28" | ||
And I force fill out "#id-month-start-date" element with "11" | ||
And I force fill out "#id-year-start-date" element with "2023" | ||
And I force fill out "#id-year-start-date" element with "2024" | ||
And I force fill out "#id-day-end-date" element with "28" | ||
And I force fill out "#id-month-end-date" element with "11" | ||
And I force fill out "#id-year-end-date" element with "2023" | ||
And I force fill out "#id-year-end-date" element with "2024" | ||
And I click "submit-button" | ||
|
||
Then very long feedback details from user "[email protected]" displays correctly in the page | ||
|
@@ -174,10 +174,10 @@ Feature: Admin | |
# date fields for feedback range | ||
When I force fill out "#id-day-start-date" element with "02" | ||
And I force fill out "#id-month-start-date" element with "12" | ||
And I force fill out "#id-year-start-date" element with "2023" | ||
And I force fill out "#id-year-start-date" element with "2024" | ||
And I force fill out "#id-day-end-date" element with "02" | ||
And I force fill out "#id-month-end-date" element with "12" | ||
And I force fill out "#id-year-end-date" element with "2023" | ||
And I force fill out "#id-year-end-date" element with "2024" | ||
And I click "submit-button" | ||
|
||
Then I see "<script>alert(\"hello email\");</script>[email protected]" in the page text | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,12 @@ INSERT INTO public.feedback (received, message) VALUES ('2023-05-12 12:43:56+00' | |
INSERT INTO public.feedback (received, message) VALUES ('2023-05-12 12:44:14+00', '{"agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", "email": "[email protected]", "phone": "", "rating": "neither-satisfied-or-dissatisfied", "details": "test-no-num", "fromPage": "/feedback-thanks"}'); | ||
INSERT INTO public.feedback (received, message) VALUES ('2023-05-12 12:44:36+00', '{"agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", "email": "[email protected]", "phone": "01234567891", "rating": "dissatisfied", "details": "test", "fromPage": "/feedback-thanks"}'); | ||
INSERT INTO public.feedback (received, message) VALUES ( | ||
'2023-11-28 17:23:23+00', | ||
'2024-11-28 17:23:23+00', | ||
'{"agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", | ||
"email": "[email protected]", | ||
"phone": "11234567899", | ||
"rating": "satisfied", | ||
"details": "IhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattimeIhadagreattime", | ||
"fromPage": "/about-you"}' | ||
); | ||
INSERT INTO public.feedback (received, message) VALUES ('2023-12-02 14:22:12+00', '{"agent": "<script>alert(\"hello agent\");</script>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", "email": "<script>alert(\"hello email\");</script>[email protected]", "phone": "<script>alert(\"hello phone\");</script>01234567891", "rating": "<script>alert(\"hello rating\");</script>dissatisfied", "details": "<script>alert(\"hello details\");</script>\"great service\" test", "fromPage": "<script>alert(\"hello fromPage\");</script>/feedback-thanks"}'); | ||
INSERT INTO public.feedback (received, message) VALUES ('2024-12-02 14:22:12+00', '{"agent": "<script>alert(\"hello agent\");</script>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", "email": "<script>alert(\"hello email\");</script>[email protected]", "phone": "<script>alert(\"hello phone\");</script>01234567891", "rating": "<script>alert(\"hello rating\");</script>dissatisfied", "details": "<script>alert(\"hello details\");</script>\"great service\" test", "fromPage": "<script>alert(\"hello fromPage\");</script>/feedback-thanks"}'); |