Skip to content

[web-server] Add graphql tests #2130

Closed
@helfi92

Description

@helfi92
Contributor

Describe the bug
Whenever we get new updates from the renovate-bot to bump package versions related to the web-server service, we are not confident 100% that things will still work. We should look into adding some tests to tests graphql queries, mutations, and subscriptions.

Activity

self-assigned this
on Dec 6, 2019
MooseJ

MooseJ commented on Dec 15, 2019

@MooseJ
Collaborator

@helfi92 So I started working on this, but then realized that I'm not 100% what you wanted. Are you looking for tests to be created for every GraphQL query, mutation, and subscription?

helfi92

helfi92 commented on Dec 16, 2019

@helfi92
ContributorAuthor

@helfi92 So I started working on this, but then realized that I'm not 100% what you wanted. Are you looking for tests to be created for every GraphQL query, mutation, and subscription?

You have the right idea :) We can start with "Roles" first.

assigned and unassigned on Dec 23, 2019
helfi92

helfi92 commented on Dec 23, 2019

@helfi92
ContributorAuthor

@MooseJ How do you feel about giving the following a try

extend type Subscription {
# Subscribe to multiple task group subscriptions.
tasksSubscriptions(taskGroupId: ID!, subscriptions: [TaskSubscriptions]!): TaskStatus
}

It would be our first subscription test. Once we have a subscription tested, we would be able to merge #2067

MooseJ

MooseJ commented on Dec 24, 2019

@MooseJ
Collaborator

@helfi92 Yeah I can give that shot!

helfi92

helfi92 commented on Dec 24, 2019

@helfi92
ContributorAuthor

Thank you so much!

helfi92

helfi92 commented on Jan 10, 2020

@helfi92
ContributorAuthor

@MooseJ Happy new year! How is it going? :-)

6 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @djmitche@helfi92@MooseJ

    Issue actions

      [web-server] Add graphql tests · Issue #2130 · taskcluster/taskcluster