@@ -5,6 +5,7 @@ sidebar: auto
55title : GraphQL
66---
77
8+
89<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
910
1011## GraphQL
@@ -49,25 +50,6 @@ this.helpers['GraphQL']._executeQuery({
4950
5051* ` config `   ;
5152
52- ### _ executeQuery
53-
54- Executes query
55-
56- #### Parameters
57-
58- * ` request ` ** [ object] [ 1 ] **   ;
59-
60- ### _ prepareGraphQLRequest
61-
62- Prepares request for fetch call
63-
64- #### Parameters
65-
66- * ` operation ` ** [ object] [ 1 ] **   ;
67- * ` headers ` ** [ object] [ 1 ] **   ;
68-
69- Returns ** [ object] [ 1 ] ** graphQLRequest
70-
7153### amBearerAuthenticated
7254
7355Adds a header for Bearer authentication
@@ -79,15 +61,15 @@ I.amBearerAuthenticated(secret('heregoestoken'))
7961
8062#### Parameters
8163
82- * ` accessToken ` ** ([ string] [ 2 ] | CodeceptJS.Secret)** Bearer access token
64+ * ` accessToken ` ** ([ string] [ 1 ] | CodeceptJS.Secret)** Bearer access token
8365
8466### haveRequestHeaders
8567
8668Sets request headers for all requests of this test
8769
8870#### Parameters
8971
90- * ` headers ` ** [ object] [ 3 ] ** headers list
72+ * ` headers ` ** [ object] [ 2 ] ** headers list
9173
9274### sendMutation
9375
@@ -113,10 +95,10 @@ I.sendMutation(`
11395
11496#### Parameters
11597
116- * ` mutation ` ** [ String] [ 2 ] **   ;
117- * ` variables ` ** [ object] [ 1 ] ?** that may go along with the mutation
118- * ` options ` ** [ object] [ 1 ] ?** are additional query options
119- * ` headers ` ** [ object] [ 1 ] ?**
98+ * ` mutation ` ** [ String] [ 1 ] **   ;
99+ * ` variables ` ** [ object] [ 2 ] ?** that may go along with the mutation
100+ * ` options ` ** [ object] [ 2 ] ?** are additional query options
101+ * ` headers ` ** [ object] [ 2 ] ?**
120102
121103Returns ** any** Promise<any >
122104
@@ -138,40 +120,32 @@ const user = response.data.data;
138120
139121#### Parameters
140122
141- * ` query ` ** [ String] [ 2 ] **   ;
142- * ` variables ` ** [ object] [ 1 ] ?** that may go along with the query
143- * ` options ` ** [ object] [ 1 ] ?** are additional query options
144- * ` headers ` ** [ object] [ 1 ] ?**
145- * ` query ` ** [ String] [ 2 ] **   ;
146- * ` variables ` ** [ object] [ 3 ] ?** that may go along with the query
147- * ` options ` ** [ object] [ 3 ] ?** are additional query options
148- * ` headers ` ** [ object] [ 3 ] ?**
123+ * ` query ` ** [ String] [ 1 ] **   ;
124+ * ` variables ` ** [ object] [ 2 ] ?** that may go along with the query
125+ * ` options ` ** [ object] [ 2 ] ?** are additional query options
126+ * ` headers ` ** [ object] [ 2 ] ?**
149127
150128Returns ** any** Promise<any >
151129
152- [ 1 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
153130### _ executeQuery
154131
155- Executes query via axios call
132+ Executes query
156133
157134#### Parameters
158135
159- * ` request ` ** [ object] [ 3 ] **   ;
136+ * ` request ` ** [ object] [ 2 ] **   ;
160137
161138### _ prepareGraphQLRequest
162139
163- Prepares request for axios call
140+ Prepares request for fetch call
164141
165142#### Parameters
166143
167- * ` operation ` ** [ object] [ 3 ] **   ;
168- * ` headers ` ** [ object] [ 3 ] **   ;
169-
170- Returns ** [ object] [ 3 ] ** graphQLRequest
144+ * ` operation ` ** [ object] [ 2 ] **   ;
145+ * ` headers ` ** [ object] [ 2 ] **   ;
171146
172- [ 1 ] : https://github.com/axios/axios
147+ Returns ** [ object ] [ 2 ] ** graphQLRequest
173148
174- [ 2 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
175- [ 2 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
149+ [ 1 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
176150
177- [ 3 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
151+ [ 2 ] : https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
0 commit comments