Skip to content

Draft: introduce new factories for all integrations; consume them in spec.

Sean Gregory requested to merge qa/factory_integrations into master

What does this MR do and why?

This MR introduces new factories for every integration that populate with randomized data. It also iterates through the integrations and asserts that the available fields persist when saving them through the api.

related to: #348461 (closed)

Considerations:

  • Deduplicate new factories and existing ones
    • new factories have a subset of fields to represent the api request (traits might help here)
  • API and UI don't have feature parity. Need to understand what is editable and what isn't when creating an integration via the api.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. bundle exec rspec -r spec_helper -t sean spec

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports