Adds custom blank errors for admin user forms #3638
Annotations
5 errors and 8 warnings
spec/features/account/collaborators_spec.rb#L94
Collaborators
As a Account Admin
I want to be able to add / remove collaborators to Account
So that they can collaborate form answers
Permissions Access to Collaborators section Add new Collaborator Invalid Attempts can't add person without email
Failure/Error: expect(page).to have_content content
expected to find text "This field cannot be blank" in "EmailEmail is empty - it is a required field and must be filled in"
|
spec/features/assessor/bulk_assessors_assignment_spec.rb#L57
Assessor assigns assessors
As Assessor
I want to be able to assign assessors..
Form submission assigns both assessors
Failure/Error: expect(first("tr").text).to include(assessor1.full_name)
expected "ABC Company Draft id: 1 Assessment in progress 0111 Not Assigned Not Assigned" to include "first-name76 Doe"
|
spec/features/users/support_letters_spec.rb#L57
Submission of SupportLetter
As a Supporter
I want to be able to fill and submit support letter
So that I can support my nominator
Submission validations should not allow to submit empty letter
Failure/Error: expect(page).to have_content content
expected to find text "This field cannot be blank" in "Skip to main content\nGOV.UK\nKing's Awards for Enterprise Menu\nYour changes might not be saved as there is an problem with your internet connection.\nBETA This is a new service – your feedback will help us to improve it.\nSupport letter for: 1 1\nYour Personal Details\nFirst nameFirst name is empty - it is a required field and must be filled in\nSurnameLast name is empty - it is a required field and must be filled in\nOrganisation Name (if applicable)\nAddress\nBuilding and street\nTown or city\nCountry United Kingdom United States --------------- Afghanistan Åland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia, Plurinational State of Bonaire, Sint Eustatius and Saba Bosnia and Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Cocos (Keeling) Islands Colombia Comoros Congo Congo, The Democratic Republic of the Cook Islands Costa Rica Côte d'Ivoire Croatia Cuba Curaçao Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Heard Island and McDonald Islands Holy See (Vatican City State) Honduras Hong Kong Hungary Iceland India Indonesia Iran, Islamic Republic of Iraq Ireland Isle of Man Israel Italy Jamaica Japan Jersey Jordan Kazakhstan Kenya Kiribati Korea, Democratic People's Republic of Korea, Republic of Kuwait Kyrgyzstan Lao People's Democratic Republic Latvia Lebanon Lesotho Liberia Libya Liechtenstein Lithuania Luxembourg Macao Macedonia, Republic of Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Micronesia, Federated States of Moldova, Republic of Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Palestine, State of Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Réunion Romania Russian Federation Rwanda Saint Barthélemy Saint Helena, Ascension and Tristan da Cunha Saint Kitts and Nevis Saint Lucia Saint Martin (French part) Saint Pierre and Miquelon Saint Vincent and the Grenadines Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Serbia Seychelles Sierra Leone Singapore Sint Maarten (Dutch part) Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Islands South Sudan Spain Sri Lanka Sudan Suriname Svalbard and Jan Mayen Swaziland Sweden Switzerland Syrian Arab Republic Taiwan Tajikistan Tanzania, United Republic of Thailand Timor-Leste Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United States Minor Outlying Islands United States Uruguay Uzbekistan Vanuatu Venezuela, Bolivarian Republic of Viet Nam Virgin Islands, British Virgin Islands, U.S. Wallis and Futuna Western Sahara Yemen Zambia Zimbabwe\nPostcode\nPhone number\nRelationship to nominee\nRelationship to nominee is empty - it is a required field and must be filled in\nWhat should be included in a letter of support?\nLetters of support
|
spec/models/assessor_assignment_spec.rb#L211
AssessorAssignment#as_json should return error
Failure/Error: expect(assessor_assignment.as_json).to eq({ :error => ["Position This field cannot be blank"] })
expected: {:error=>["Position This field cannot be blank"]}
got: {:error=>["Position Position is empty - it is a required field and must be filled in"]}
(compared using ==)
Diff:
@@ -1 +1 @@
-:error => ["Position This field cannot be blank"],
+:error => ["Position Position is empty - it is a required field and must be filled in"],
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2-beta. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
spec/features/users/form_answers/audit_certificate_request_spec.rb#L48
Verification of Commercial Figures
As a User
I want to be able to download an Verification of Commercial Figures
So that I can check, complete it and then upload it to application
Download Verification of Commercial Figures prefilled with my financial data should generate pdf file
Skipped: Temporarily skipped with xit
|
spec/models/audit_log_spec.rb#L4
AuditLog add some examples to (or delete) /home/runner/work/qae/qae/spec/models/audit_log_spec.rb
Skipped: Not yet implemented
|
spec/validators/advanced_email_validator_spec.rb#L49
AdvancedEmailValidator allows correct e-mail addresses
|
spec/validators/advanced_email_validator_spec.rb#L61
AdvancedEmailValidator DNS checks for domain checks for the existence of an MX record for the domain
|
spec/validators/advanced_email_validator_spec.rb#L70
AdvancedEmailValidator DNS checks for domain doesn't return an error when the MX lookup timed out
|
spec/validators/advanced_email_validator_spec.rb#L95
AdvancedEmailValidator bounced addresses prevents validation on an e-mail address marked as bounced in sendgrid
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading