Reorganize contract test again to better accommodate existence of GraphQL queries.
With the introduction of GraphQL queries, the need to organize and distinguish between GraphQL and REST tests has come up to keep the suite maintainable. This issue will be used to track the work to address this.
The following updates are needed:
- Updates consumer tests to use
asynccalls and updating specs to useawaitfor theseasynccalls. - Moves
given/stateattribute value to thefixturesfor consistency between REST and GraphQL tests. - Renames
statefiles to useshow_state,index_state,new_state, etc. - Moves
merge_requestproviders to be nested undershowfolder. - Combines the 3
merge_requeststate files into onemerge_request/show_statefile. - Updates rake task file path variables to reduce duplication.
Edited by Richard Chong