{"id":19544741,"url":"https://github.com/flagpolejs/graphql-scenario","last_synced_at":"2025-02-26T05:42:15.905Z","repository":{"id":143757197,"uuid":"447813375","full_name":"flagpolejs/graphql-scenario","owner":"flagpolejs","description":"Flagpole Add-On for GraphQL Testing","archived":false,"fork":false,"pushed_at":"2022-01-15T17:05:59.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T01:22:33.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flagpolejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-14T02:06:03.000Z","updated_at":"2022-01-14T05:30:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"afd1184a-ebb3-42cd-8465-b4232d464761","html_url":"https://github.com/flagpolejs/graphql-scenario","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagpolejs%2Fgraphql-scenario","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagpolejs%2Fgraphql-scenario/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagpolejs%2Fgraphql-scenario/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagpolejs%2Fgraphql-scenario/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flagpolejs","download_url":"https://codeload.github.com/flagpolejs/graphql-scenario/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240801039,"owners_count":19859727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T03:31:20.312Z","updated_at":"2025-02-26T05:42:15.864Z","avatar_url":"https://github.com/flagpolejs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphql-scenario\n\nFlagpole Add-On for GraphQL Testing\n\n```typescript\nimport flagpole from \"flagpole\";\nimport GraphQLScenario, { gql } from \"@flagpolejs/graphql-scenario\";\n\nflagpole(\"SpaceX GraphQL API\", async (suite) =\u003e {\n  suite\n    .scenario(\"Get Last 10 Launches\", GraphQLScenario)\n    .open(\"https://api.spacex.land/graphql\")\n    .setQuery(\n      gql`\n        query {\n          launchesPast(limit: 10) {\n            mission_name\n            launch_date_local\n            launch_site {\n              site_name_long\n            }\n          }\n        }\n      `\n    )\n    .next(async (context) =\u003e {\n      context.comment(context.response.body);\n      const launches = await context.exists(\"data.launchesPast\");\n      launches.is.array();\n      launches.length.assert().equals(10);\n    });\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflagpolejs%2Fgraphql-scenario","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflagpolejs%2Fgraphql-scenario","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflagpolejs%2Fgraphql-scenario/lists"}