diff --git a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can publish entry with image.json b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can publish entry with image.json index d121a0ff..cbf413bb 100644 --- a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can publish entry with image.json +++ b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can publish entry with image.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -454,7 +454,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -620,7 +620,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"f9f758a7b64c071ec190ed11880b910908f4de15\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNjMzMzg5NTM=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNjMzMzg5NTM=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"f9f758a7b64c071ec190ed11880b910908f4de15\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNjMzMzg5NTM=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNjMzMzg5NTM=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -674,7 +674,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -806,7 +806,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -860,7 +860,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -914,7 +914,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -968,7 +968,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1049,7 +1049,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1130,7 +1130,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can save entry with image.json b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can save entry with image.json index a6880219..0a7da734 100644 --- a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can save entry with image.json +++ b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__can save entry with image.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -620,7 +620,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"3ffa8ca326a9c28199d5bb703574ee508780b7a8\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"3ffa8ca326a9c28199d5bb703574ee508780b7a8\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -674,7 +674,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -861,7 +861,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should not show draft entry image in global media library.json b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should not show draft entry image in global media library.json index 2514ed29..bdb93bdb 100644 --- a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should not show draft entry image in global media library.json +++ b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should not show draft entry image in global media library.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -620,7 +620,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"88e3d3e82e0c7fe562d9d908c80aafc29236ef28\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"88e3d3e82e0c7fe562d9d908c80aafc29236ef28\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDIwNDY=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -674,7 +674,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -861,7 +861,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in global media library.json b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in global media library.json index eaefce10..bbf46504 100644 --- a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in global media library.json +++ b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in global media library.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -454,7 +454,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -620,7 +620,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"c488dd042829c3c8b6fa352e687704a5b8d2bc72\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDkyOTM=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDkyOTM=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"c488dd042829c3c8b6fa352e687704a5b8d2bc72\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDkyOTM=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMDkyOTM=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -674,7 +674,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -861,7 +861,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -915,7 +915,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -969,7 +969,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1077,7 +1077,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in grid view.json b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in grid view.json index 67e1582f..5dee2a3e 100644 --- a/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in grid view.json +++ b/cypress/fixtures/GitHub Backend Media Library - GraphQL API__should show published entry image in grid view.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -454,7 +454,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -620,7 +620,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"4b1f6da44e03e1877dc21ab7f0661f1c4ca43b1b\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMTQyOTQ=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMTQyOTQ=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"4b1f6da44e03e1877dc21ab7f0661f1c4ca43b1b\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMTQyOTQ=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUxMTQyOTQ=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -674,7 +674,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -861,7 +861,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -915,7 +915,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -969,7 +969,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1077,7 +1077,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can change entry status from fork.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can change entry status from fork.json index 367794df..1825802e 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can change entry status from fork.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can change entry status from fork.json @@ -501,7 +501,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -747,7 +747,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -879,7 +879,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -933,7 +933,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -986,7 +986,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1013,7 +1013,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1067,7 +1067,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry on fork.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry on fork.json index c42bb517..d5a8c522 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry on fork.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry on fork.json @@ -528,7 +528,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -747,7 +747,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -854,7 +854,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry.json index 71e7afe8..febf32a7 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry.json @@ -425,7 +425,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -452,7 +452,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -479,7 +479,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -644,7 +644,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"5242adbcd8a4a6ab8745d04f632ed8077f4900f7\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"5242adbcd8a4a6ab8745d04f632ed8077f4900f7\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -698,7 +698,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -805,7 +805,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -859,7 +859,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can delete review entry from fork.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can delete review entry from fork.json index 63cc0c0e..a306c015 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can delete review entry from fork.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can delete review entry from fork.json @@ -528,7 +528,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -747,7 +747,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -879,7 +879,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -933,7 +933,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -986,7 +986,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1013,7 +1013,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1067,7 +1067,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1120,7 +1120,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"closePullRequestAndDeleteBranch\",\"variables\":{\"deleteRefInput\":{\"refId\":\"MDM6UmVmMjU1MDcxMDMyOmNtcy9lcmV6cm9rYWgtdGVzdC9nYXRzYnktbmV0bGlmeS1jbXMtYXdzLXRlc3QtMTU4NjY5MTkyNjc3Mi0yOGQ4YmhubjgzOC9wb3N0cy8xOTcwLTAxLTAxLWZpcnN0LXRpdGxl\"},\"closePullRequestInput\":{\"pullRequestId\":\"MDExOlB1bGxSZXF1ZXN0NDAyMzI3MzI5\"}},\"query\":\"mutation closePullRequestAndDeleteBranch($closePullRequestInput: ClosePullRequestInput!, $deleteRefInput: DeleteRefInput!) {\\n closePullRequest(input: $closePullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n deleteRef(input: $deleteRefInput) {\\n clientMutationId\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"closePullRequestAndDeleteBranch\",\"variables\":{\"deleteRefInput\":{\"refId\":\"MDM6UmVmMjU1MDcxMDMyOmNtcy9lcmV6cm9rYWgtdGVzdC9nYXRzYnktbmV0bGlmeS1jbXMtYXdzLXRlc3QtMTU4NjY5MTkyNjc3Mi0yOGQ4YmhubjgzOC9wb3N0cy8xOTcwLTAxLTAxLWZpcnN0LXRpdGxl\"},\"closePullRequestInput\":{\"pullRequestId\":\"MDExOlB1bGxSZXF1ZXN0NDAyMzI3MzI5\"}},\"query\":\"mutation closePullRequestAndDeleteBranch($closePullRequestInput: ClosePullRequestInput!, $deleteRefInput: DeleteRefInput!) {\\n closePullRequest(input: $closePullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n deleteRef(input: $deleteRefInput) {\\n clientMutationId\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1147,7 +1147,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can publish an editorial workflow entry.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can publish an editorial workflow entry.json index d827f746..25f90cc4 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can publish an editorial workflow entry.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can publish an editorial workflow entry.json @@ -425,7 +425,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -452,7 +452,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -479,7 +479,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -644,7 +644,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"ac7b7233caece444d311e6c65a9fcd6612dcaee5\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"ac7b7233caece444d311e6c65a9fcd6612dcaee5\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -698,7 +698,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -805,7 +805,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -859,7 +859,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -913,7 +913,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -967,7 +967,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1075,7 +1075,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can return entry to draft and delete it.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can return entry to draft and delete it.json index 18aba26b..3479e880 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can return entry to draft and delete it.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can return entry to draft and delete it.json @@ -528,7 +528,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -747,7 +747,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -854,7 +854,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -908,7 +908,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -961,7 +961,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createPullRequest\",\"variables\":{\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"forkOwner:cms/forkOwner/repo/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createPullRequest($createPullRequestInput: CreatePullRequestInput!) {\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -988,7 +988,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1042,7 +1042,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1069,7 +1069,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1123,7 +1123,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1176,7 +1176,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"closePullRequestAndDeleteBranch\",\"variables\":{\"deleteRefInput\":{\"refId\":\"MDM6UmVmMjU1MDcxMDMyOmNtcy9lcmV6cm9rYWgtdGVzdC9nYXRzYnktbmV0bGlmeS1jbXMtYXdzLXRlc3QtMTU4NjY5MTkyNjc3Mi0yOGQ4YmhubjgzOC9wb3N0cy8xOTcwLTAxLTAxLWZpcnN0LXRpdGxl\"},\"closePullRequestInput\":{\"pullRequestId\":\"MDExOlB1bGxSZXF1ZXN0NDAyMzI3NDI1\"}},\"query\":\"mutation closePullRequestAndDeleteBranch($closePullRequestInput: ClosePullRequestInput!, $deleteRefInput: DeleteRefInput!) {\\n closePullRequest(input: $closePullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n deleteRef(input: $deleteRefInput) {\\n clientMutationId\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"closePullRequestAndDeleteBranch\",\"variables\":{\"deleteRefInput\":{\"refId\":\"MDM6UmVmMjU1MDcxMDMyOmNtcy9lcmV6cm9rYWgtdGVzdC9nYXRzYnktbmV0bGlmeS1jbXMtYXdzLXRlc3QtMTU4NjY5MTkyNjc3Mi0yOGQ4YmhubjgzOC9wb3N0cy8xOTcwLTAxLTAxLWZpcnN0LXRpdGxl\"},\"closePullRequestInput\":{\"pullRequestId\":\"MDExOlB1bGxSZXF1ZXN0NDAyMzI3NDI1\"}},\"query\":\"mutation closePullRequestAndDeleteBranch($closePullRequestInput: ClosePullRequestInput!, $deleteRefInput: DeleteRefInput!) {\\n closePullRequest(input: $closePullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n deleteRef(input: $deleteRefInput) {\\n clientMutationId\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update a draft entry on fork.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update a draft entry on fork.json index 91495420..c8bf6326 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update a draft entry on fork.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update a draft entry on fork.json @@ -501,7 +501,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -747,7 +747,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -854,7 +854,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -908,7 +908,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1015,7 +1015,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1069,7 +1069,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1123,7 +1123,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1257,7 +1257,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1394,7 +1394,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1448,7 +1448,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1502,7 +1502,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1556,7 +1556,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/forkOwner/repo/posts/1970-01-01-first-title\",\"states\":[\"OPEN\",\"CLOSED\",\"MERGED\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update an entry.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update an entry.json index d68bcae6..460941ea 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update an entry.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API - Open Authoring__can update an entry.json @@ -425,7 +425,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -452,7 +452,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -479,7 +479,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -644,7 +644,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"8ac793644b57607b35a15858b44ed7d90b794e73\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"8ac793644b57607b35a15858b44ed7d90b794e73\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzA1NTA=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -698,7 +698,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -805,7 +805,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -859,7 +859,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -966,7 +966,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1020,7 +1020,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1102,7 +1102,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1208,7 +1208,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1318,7 +1318,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1399,7 +1399,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1453,7 +1453,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1507,7 +1507,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1561,7 +1561,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1588,7 +1588,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json index c3e5e58b..0dfb0e6f 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -592,7 +592,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"571269df37e7bd0ef10aac9c761e90a69c17fd57\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"571269df37e7bd0ef10aac9c761e90a69c17fd57\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -646,7 +646,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -753,7 +753,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -834,7 +834,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1026,7 +1026,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-second-title\",\"oid\":\"aa6c40132d5f93181dcae30d8cf077aa24939bf3\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-second-title”\",\"headRefName\":\"cms/posts/1970-01-01-second-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-second-title\",\"oid\":\"aa6c40132d5f93181dcae30d8cf077aa24939bf3\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-second-title”\",\"headRefName\":\"cms/posts/1970-01-01-second-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1053,7 +1053,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1134,7 +1134,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1241,7 +1241,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1295,7 +1295,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1322,7 +1322,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1514,7 +1514,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-third-title\",\"oid\":\"1d7fdf834dec9af4a36f5bd3065a208841877dad\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-third-title”\",\"headRefName\":\"cms/posts/1970-01-01-third-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-third-title\",\"oid\":\"1d7fdf834dec9af4a36f5bd3065a208841877dad\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-third-title”\",\"headRefName\":\"cms/posts/1970-01-01-third-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1568,7 +1568,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1595,7 +1595,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1729,7 +1729,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1783,7 +1783,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1837,7 +1837,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1891,7 +1891,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1945,7 +1945,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1999,7 +1999,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -2053,7 +2053,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-third-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -2188,7 +2188,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-second-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -2323,7 +2323,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change workflow status.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change workflow status.json index 3634c15a..9d271f9e 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change workflow status.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change workflow status.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -592,7 +592,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"73880ce4abc0d7d45e5db855ca9bc31838b854ef\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"73880ce4abc0d7d45e5db855ca9bc31838b854ef\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -646,7 +646,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -753,7 +753,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -861,7 +861,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -915,7 +915,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -969,7 +969,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1023,7 +1023,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1077,7 +1077,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1131,7 +1131,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can create an entry.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can create an entry.json index b55cce5b..d621a0db 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can create an entry.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can create an entry.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -592,7 +592,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"a89131a394e181f5d708de4939bfd4b43f99f885\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"a89131a394e181f5d708de4939bfd4b43f99f885\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -646,7 +646,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -753,7 +753,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can delete an entry.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can delete an entry.json index d9f5ccdb..f34c6bf8 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can delete an entry.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can delete an entry.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -592,7 +592,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"4e8d4d1eb33817b761f1ceacaeb3db2ab2ef5337\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"4e8d4d1eb33817b761f1ceacaeb3db2ab2ef5337\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -646,7 +646,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -753,7 +753,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -860,7 +860,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"closePullRequestAndDeleteBranch\",\"variables\":{\"deleteRefInput\":{\"refId\":\"MDM6UmVmMjU1MDcxODg3OmNtcy9wb3N0cy8xOTcwLTAxLTAxLWZpcnN0LXRpdGxl\"},\"closePullRequestInput\":{\"pullRequestId\":\"MDExOlB1bGxSZXF1ZXN0NDAyMzI4NDA0\"}},\"query\":\"mutation closePullRequestAndDeleteBranch($closePullRequestInput: ClosePullRequestInput!, $deleteRefInput: DeleteRefInput!) {\\n closePullRequest(input: $closePullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n deleteRef(input: $deleteRefInput) {\\n clientMutationId\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"closePullRequestAndDeleteBranch\",\"variables\":{\"deleteRefInput\":{\"refId\":\"MDM6UmVmMjU1MDcxODg3OmNtcy9wb3N0cy8xOTcwLTAxLTAxLWZpcnN0LXRpdGxl\"},\"closePullRequestInput\":{\"pullRequestId\":\"MDExOlB1bGxSZXF1ZXN0NDAyMzI4NDA0\"}},\"query\":\"mutation closePullRequestAndDeleteBranch($closePullRequestInput: ClosePullRequestInput!, $deleteRefInput: DeleteRefInput!) {\\n closePullRequest(input: $closePullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n deleteRef(input: $deleteRefInput) {\\n clientMutationId\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -887,7 +887,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -914,7 +914,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can publish an editorial workflow entry.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can publish an editorial workflow entry.json index f23cc40b..cd355228 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can publish an editorial workflow entry.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can publish an editorial workflow entry.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -592,7 +592,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"f9e82b0fc1c4a4600eafea6f32692441169390cc\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"f9e82b0fc1c4a4600eafea6f32692441169390cc\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -646,7 +646,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -753,7 +753,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -861,7 +861,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -915,7 +915,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -996,7 +996,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update an entry.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update an entry.json index 7af3cb6c..7bd7bab8 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update an entry.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update an entry.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -427,7 +427,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -592,7 +592,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"c502fbb54c429d6b7fc056e86ad5739bb96283a0\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"c502fbb54c429d6b7fc056e86ad5739bb96283a0\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -646,7 +646,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -753,7 +753,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -914,7 +914,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -968,7 +968,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1022,7 +1022,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1156,7 +1156,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1293,7 +1293,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1347,7 +1347,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1401,7 +1401,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1455,7 +1455,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -1482,7 +1482,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update workflow status from within the editor.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update workflow status from within the editor.json index 935a025f..5bd8ae57 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update workflow status from within the editor.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can update workflow status from within the editor.json @@ -373,7 +373,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -400,7 +400,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -454,7 +454,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -592,7 +592,7 @@ "status": 201 }, { - "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"585270ed13aff33126aeecabc57869d63388ff11\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"createBranchAndPullRequest\",\"variables\":{\"createRefInput\":{\"name\":\"refs/heads/cms/posts/1970-01-01-first-title\",\"oid\":\"585270ed13aff33126aeecabc57869d63388ff11\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"},\"createPullRequestInput\":{\"baseRefName\":\"master\",\"body\":\"Automatically generated by Netlify CMS\",\"title\":\"Create Post “1970-01-01-first-title”\",\"headRefName\":\"cms/posts/1970-01-01-first-title\",\"repositoryId\":\"MDEwOlJlcG9zaXRvcnkyNTUwNzE4ODc=\"}},\"query\":\"mutation createBranchAndPullRequest($createRefInput: CreateRefInput!, $createPullRequestInput: CreatePullRequestInput!) {\\n createRef(input: $createRefInput) {\\n branch: ref {\\n ...BranchParts\\n __typename\\n }\\n __typename\\n }\\n createPullRequest(input: $createPullRequestInput) {\\n clientMutationId\\n pullRequest {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment BranchParts on Ref {\\n commit: target {\\n ...ObjectParts\\n __typename\\n }\\n id\\n name\\n prefix\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n __typename\\n}\\n\\nfragment ObjectParts on GitObject {\\n id\\n sha: oid\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -646,7 +646,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -753,7 +753,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -807,7 +807,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -861,7 +861,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -915,7 +915,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { @@ -969,7 +969,7 @@ "status": 200 }, { - "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", + "body": "{\"operationName\":\"pullRequests\",\"variables\":{\"owner\":\"owner\",\"name\":\"repo\",\"head\":\"cms/posts/1970-01-01-first-title\",\"states\":[\"OPEN\"]},\"query\":\"query pullRequests($owner: String!, $name: String!, $head: String, $states: [PullRequestState!]) {\\n repository(owner: $owner, name: $name) {\\n id\\n pullRequests(last: 100, headRefName: $head, states: $states) {\\n nodes {\\n ...PullRequestParts\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment PullRequestParts on PullRequest {\\n id\\n baseRefName\\n baseRefOid\\n body\\n headRefName\\n headRefOid\\n number\\n state\\n title\\n merged_at: mergedAt\\n updated_at: updatedAt\\n repository {\\n ...RepositoryParts\\n __typename\\n }\\n labels(last: 100) {\\n nodes {\\n name\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment RepositoryParts on Repository {\\n id\\n isFork\\n __typename\\n}\\n\"}", "method": "POST", "url": "/graphql", "headers": { diff --git a/packages/netlify-cms-backend-github/src/GraphQLAPI.ts b/packages/netlify-cms-backend-github/src/GraphQLAPI.ts index d5f14872..94dbf3e9 100644 --- a/packages/netlify-cms-backend-github/src/GraphQLAPI.ts +++ b/packages/netlify-cms-backend-github/src/GraphQLAPI.ts @@ -66,6 +66,7 @@ type GraphQLPullRequest = { state: string; title: string; mergedAt: string | null; + updatedAt: string | null; labels: { nodes: { name: string }[] }; repository: { id: string; diff --git a/packages/netlify-cms-backend-github/src/fragments.ts b/packages/netlify-cms-backend-github/src/fragments.ts index 4131cc53..55038854 100644 --- a/packages/netlify-cms-backend-github/src/fragments.ts +++ b/packages/netlify-cms-backend-github/src/fragments.ts @@ -50,6 +50,7 @@ export const pullRequest = gql` state title merged_at: mergedAt + updated_at: updatedAt repository { ...RepositoryParts }