Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: tests covering image upload problems #1458

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

ivan-kocienski-gfsc
Copy link
Contributor

@ivan-kocienski-gfsc ivan-kocienski-gfsc commented Sep 14, 2022

Closes #1428

  • verify the error box is present when problems exist
  • verify the image field has feedback text

Pages covered:

  • site: new, edit
  • partner: new, edit
  • article: new, edit
  • user: new, edit, profile

@github-actions github-actions bot added chore patch Bump version 0.0.X labels Sep 14, 2022
Copy link
Contributor

@erbridge erbridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of changes in here that I'm not sure I understand why they're here (and therefore why they've changed). I suggest pulling them out into their own PRs instead.

The tests themselves look good to me.

Also. There is no such thing as a bad cat picture, how dare you?!

app/views/admin/users/_form.html.erb Show resolved Hide resolved
app/controllers/admin/sites_controller.rb Show resolved Hide resolved
Copy link
Contributor

@erbridge erbridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me now.

- verify the error box is present when problems exist
- verify the image field has feedback text

Pages covered:
- site: new, edit
- partner: new, edit
- article: new, edit
- user: new, edit, profile
@ivan-kocienski-gfsc ivan-kocienski-gfsc merged commit 55ff9b4 into main Sep 15, 2022
@ivan-kocienski-gfsc ivan-kocienski-gfsc deleted the ik-1428-image-upload-help branch September 15, 2022 09:34
@erbridge erbridge added bug Release Drafter category - bug impacting the normal functioning of existing features ruby and removed chore labels Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Release Drafter category - bug impacting the normal functioning of existing features patch Bump version 0.0.X
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Site admin not accepting new header image
4 participants