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

Automated QA #518

Open
code-geek opened this issue Nov 17, 2023 · 0 comments
Open

Automated QA #518

code-geek opened this issue Nov 17, 2023 · 0 comments

Comments

@code-geek
Copy link
Contributor

Description

need scripts that can do QA for us and generate a report
because doing QA manually is too slow
and error prone

to make all this happen, we need a crucial piece of code

  • using the API get the result for a particular URL (not a whole collection)
  • this should take into consideration possible variations in the URL (http/https, slash at the end or not, any query parameters on the URL etc)
  • ...or the API should be able to execute a LIKE query instead of an EXACT MATCH query.
  • the other way is when we run the code to get a list of URLs for a collection, we keep track of the original URL that is returned by the API.
  • ...or this code also received information about the title etc and shows us how the titles were updated

what would these scripts look like?

  • take the exclude rules

workflow looks like this:

  • user is able to click on the number under affected URLs

  • this loads up a table with the following columns for each URL

    • collection?
    • title rule
    • final title on test
    • exclude rule
    • URL exists on test
    • doc type rule
    • final doc type rendered on test
    • preview image (how to get this), some kind of API? /preview/

action items:

  • investigate what the current API response is
  • if some fields from the response are being ignored, store them in the database
  • figure out the preview endpoint and store that in the database or S3 bucket (is it not already on the S3 bucket? maybe just put a link to the S3 object on the sheet)

Implementation Considerations

  • type your first consideration here

Deliverable

No response

Dependencies

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant