Extracts the prepareStageErrors method to the utils and adds related specs
Attach a file by drag & drop or click to upload