https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41520

Jan Kissig <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off

--- Comment #7 from Jan Kissig <[email protected]> ---
(In reply to David Nind from comment #6)
> PS: I would add my sign off, so you could do the QA, but I don't know how to
> do steps 2 and 3 of the test plan.

Hi David,

thanks for the status reminder, I set it to signed off now but please add yours
too:

2. Access the agreement via the API with extended_attributes embedded
3. Verify the response includes extended_attributes but not record_table

For 2 and 3 you could either use an API testing tool and set 
- the URL to: /api/v1/erm/agreements
- the header to: x-koha-embed: extended_attributes

or just open the browser development tools -> network tab and reload that page:
/cgi-bin/koha/erm/agreements. 
Then take a look to for the API request to /api/v1/erm/agreements (it includes
some more query params here but we can ignore them) and by double clicking that
request you can check for the request headers (they include x-koha-embed with
the value extended_attributes) and the response payload will include an
extended_attributes object. This is how its done in firefox but I guess the
other browsers work alike
Hope this was understandable :)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to