Skip to content

[Bristol] Include staff user in title attribute. #5477

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dracos
Copy link
Member

@dracos dracos commented Apr 24, 2025

@dracos dracos requested a review from MorayMySoc April 24, 2025 16:48
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.36%. Comparing base (b115619) to head (b54663c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5477      +/-   ##
==========================================
- Coverage   82.36%   82.36%   -0.01%     
==========================================
  Files         430      430              
  Lines       34156    34156              
  Branches     5521     5521              
==========================================
- Hits        28133    28132       -1     
  Misses       4380     4380              
- Partials     1643     1644       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@MorayMySoc MorayMySoc left a comment

Choose a reason for hiding this comment

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

Code looks good to me - but test just needs to be fixed for running in the suite

subtest 'staff user added to title attribute' => sub {
my $req = Open311->test_req_used;
my $cgi = CGI::Simple->new($req->content);
is $cgi->param('attribute[title]'), "Staff User - Role\r\n\r\nTitle Test 1 for 1";
Copy link
Contributor

Choose a reason for hiding this comment

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

Test failing here for test suite as no longer '1 for 1'

This means it will appear at the top of the full details attribute in
their backend.
@dracos dracos force-pushed the fd-5244-bristol-staff-reports branch from 10ecc3e to b54663c Compare April 25, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants