/
schema.graphql
1943 lines (1522 loc) · 49.7 KB
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
### This file was generated by Nexus Schema
### Do not make changes to this file directly
"""Represents state of auth based on most recent message from login flow"""
type AuthState {
"""Whether the browser was successfully opened for login"""
browserOpened: Boolean!
"""Message for the auth state"""
message: String
"""Name of auth state, e.g. AUTH_BROWSER_LAUNCHED"""
name: AuthStateNameEnum
}
enum AuthStateNameEnum {
AUTH_BROWSER_LAUNCHED
AUTH_COULD_NOT_LAUNCH_BROWSER
AUTH_ERROR_DURING_LOGIN
}
"""Container representing a browser"""
type Browser implements Node {
channel: String!
disabled: Boolean
displayName: String!
family: BrowserFamily!
"""Relay style Node ID field for the Browser field"""
id: ID!
isFocusSupported: Boolean!
isSelected: Boolean!
isVersionSupported: Boolean!
majorVersion: String
name: String!
path: String!
version: String!
warning: String
}
enum BrowserFamily {
chromium
firefox
webkit
}
enum BrowserStatus {
closed
open
opening
}
"""
When we don't have an immediate response for the cloudViewer request, we'll use this as a fallback to
render the avatar in the header bar / signal authenticated state immediately
"""
type CachedUser implements Node {
"""Email address of the cached user"""
email: String
"""Name of the cached user"""
fullName: String
"""Relay style Node ID field for the CachedUser field"""
id: ID!
}
"""Feature not available for subscription"""
type CloudFeatureNotEnabled {
"""an error message"""
message: String!
}
"""
Represents a pollable status for clients to know when refetching data is required.
"""
type CloudLatestRunUpdateSpecData {
"""DateTime of the latest update in a project."""
mostRecentUpdate: DateTime
"""Recommended seconds to wait before next poll."""
pollingInterval: Int
}
"""
A CloudOrganization represents an Organization stored in the Cypress Cloud
"""
type CloudOrganization implements Node {
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
"""Name of the organization"""
name: String
"""A connection for cloud projects associated with this organization"""
projects(
"""Returns the elements in the list that come after the specified cursor"""
after: String
"""Returns the elements in the list that come before the specified cursor"""
before: String
"""Returns the first n elements from the list."""
first: Int
"""Returns the last n elements from the list."""
last: Int
): CloudProjectConnection
}
type CloudOrganizationConnection {
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-Edge-Types
"""
edges: [CloudOrganizationEdge!]!
"""Flattened list of CloudOrganization type"""
nodes: [CloudOrganization!]!
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-undefined.PageInfo
"""
pageInfo: PageInfo!
}
type CloudOrganizationEdge {
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Cursor"""
cursor: String!
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Node"""
node: CloudOrganization!
}
"""A CloudProject represents a Project stored in the Cypress Cloud"""
type CloudProject implements Node {
"""A link to the settings page of the project in the dashboard"""
cloudProjectSettingsUrl: String!
"""A link to the project in the dashboard"""
cloudProjectUrl: String!
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
"""The latest run for a given spec"""
latestRun: CloudRun
"""Given name of the project"""
name: String!
"""The organization the project is a member of"""
organization: CloudOrganization
"""Record keys for the service"""
recordKeys: [CloudRecordKey!]
"""A connection field type"""
runs(
"""Returns the elements in the list that come after the specified cursor"""
after: String
"""Returns the elements in the list that come before the specified cursor"""
before: String
cypressVersion: String
"""Returns the first n elements from the list."""
first: Int
"""Returns the last n elements from the list."""
last: Int
status: CloudRunStatus
): CloudRunConnection
"""Unique identifier for a Project"""
slug: String!
}
type CloudProjectConnection {
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-Edge-Types
"""
edges: [CloudProjectEdge!]!
"""Flattened list of CloudProject type"""
nodes: [CloudProject!]!
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-undefined.PageInfo
"""
pageInfo: PageInfo!
}
type CloudProjectEdge {
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Cursor"""
cursor: String!
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Node"""
node: CloudProject!
}
"""Unable to find cloud project"""
type CloudProjectNotFound {
"""an error message"""
message: String!
}
union CloudProjectResult = CloudProject | CloudProjectNotFound | CloudProjectUnauthorized
type CloudProjectSpec implements Node {
"""Average duration the spec takes to run"""
averageDuration(
"""
The branch to measure average duration against. This will fallback to the closest branch with data.
"""
fromBranch: String!
): Float
flakyStatus(
"""The number of runs to consider when counting flaky runs."""
flakyRunsWindow: Int!
"""
The branch to measure average duration against. This will fallback to the closest branch with data.
"""
fromBranch: String!
): CloudProjectSpecFlakyResult
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
isConsideredFlaky(
"""The branch to measure flakiness against"""
fromBranch: String!
): Boolean
"""
Current DateTime on the server. Used in connection with CloudLatestRunUpdateSpecData.
"""
retrievedAt: DateTime
"""Shortened spec path"""
specPath: String
"""Runs this spec has been involved with."""
specRuns(
"""Returns the elements in the list that come after the specified cursor"""
after: String
"""Returns the elements in the list that come before the specified cursor"""
before: String
"""Returns the first n elements from the list."""
first: Int
"""
The branch to filter on for the specs. This will fallback to the closest branch with data.
"""
fromBranch: String!
"""Returns the last n elements from the list."""
last: Int
): CloudSpecRunConnection
}
union CloudProjectSpecFlakyResult = CloudFeatureNotEnabled | CloudProjectSpecFlakyStatus
type CloudProjectSpecFlakyStatus {
"""URL linking to the flaky data in the Cypress dashboard for this spec"""
dashboardUrl: String
"""Number of flaky runs from the considered runs"""
flakyRuns: Int
flakyRunsWindow: Int
"""
The last flaky run occurrence, interpreted as "n runs ago" - ex: a value of 5 means a flaky run last occurred 5 runs ago
"""
lastFlaky: Int
severity: String
}
"""Unable to find cloud spec in project"""
type CloudProjectSpecNotFound {
"""an error message"""
message: String!
retrievedAt: DateTime
}
union CloudProjectSpecResult = CloudProjectSpec | CloudProjectSpecNotFound | CloudProjectUnauthorized
"""Unauthorized access"""
type CloudProjectUnauthorized {
"""does the user have a requested access pending"""
hasRequestedAccess: Boolean
"""an error message"""
message: String!
}
type CloudRecordKey implements Node {
createdAt: DateTime
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
"""The Record Key"""
key: String
lastUsedAt: DateTime
}
"""A Recorded run of the Test Runner, typically to the cloud"""
type CloudRun implements Node {
commitInfo: CloudRunCommitInfo
completedAt: DateTime
createdAt: DateTime
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
runNumber: Int
status: CloudRunStatus
tags: [CloudRunTag]
"""
Total duration of the run in milliseconds, accounting for any parallelization
"""
totalDuration: Int
"""This is the number of failed tests across all groups in the run"""
totalFailed: Int
"""Number of flaky tests, null if flake detection is not enabled"""
totalFlakyTests: Int
"""This is the number of passed tests across all groups in the run"""
totalPassed: Int
"""This is the number of pending tests across all groups in the run"""
totalPending: Int
"""This is the number of running tests across all groups in the run"""
totalRunning: Int
"""This is the number of skipped tests across all groups in the run"""
totalSkipped: Int
"""This is the number of tests across all groups in the run"""
totalTests: Int
"""A link to the run page"""
url: String
}
type CloudRunCommitInfo {
authorAvatar: String
authorEmail: String
authorName: String
branch: String
branchUrl: String
message(
"""Number of characters to truncate the commit message to"""
truncate: Int
): String
sha: String
summary: String
url: String
}
type CloudRunConnection {
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-Edge-Types
"""
edges: [CloudRunEdge!]!
"""Flattened list of CloudRun type"""
nodes: [CloudRun!]!
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-undefined.PageInfo
"""
pageInfo: PageInfo!
}
type CloudRunEdge {
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Cursor"""
cursor: String!
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Node"""
node: CloudRun!
}
"""Possible check status of the test run"""
enum CloudRunStatus {
CANCELLED
ERRORED
FAILED
NOTESTS
OVERLIMIT
PASSED
RUNNING
TIMEDOUT
}
type CloudRunTag implements Node {
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
name: String
}
"""
A Recorded run of a given spec from the Test Runner, typically to the cloud
"""
type CloudSpecRun implements Node {
"""When the run was completed"""
completedAt: DateTime
"""When the run was created"""
createdAt: DateTime
"""Amount of groups this spec was run in"""
groupCount: Int
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
"""Incremental run number assigned"""
runNumber: Int
"""
Aggregate information about how long the spec took to run in the groups
"""
specDuration: SpecDataAggregate
"""Most important status for the spec shared between all groups"""
status: CloudSpecStatus
"""Aggregate information about how many tests failed in the groups"""
testsFailed: SpecDataAggregate
"""Aggregate information about how many tests passed in the groups"""
testsPassed: SpecDataAggregate
"""Aggregate information about how many tests are pending in the groups"""
testsPending: SpecDataAggregate
"""Aggregate information about how many tests were skipped in the groups"""
testsSkipped: SpecDataAggregate
"""A link to the run overview page filtered by spec"""
url: String
}
type CloudSpecRunConnection {
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-Edge-Types
"""
edges: [CloudSpecRunEdge!]!
"""Flattened list of CloudSpecRun type"""
nodes: [CloudSpecRun!]!
"""
https://facebook.github.io/relay/graphql/connections.htm#sec-undefined.PageInfo
"""
pageInfo: PageInfo!
}
type CloudSpecRunEdge {
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Cursor"""
cursor: String!
"""https://facebook.github.io/relay/graphql/connections.htm#sec-Node"""
node: CloudSpecRun!
}
"""Possible check status of the spec within a run"""
enum CloudSpecStatus {
CANCELLED
ERRORED
FAILED
NOTESTS
PASSED
RUNNING
TIMEDOUT
UNCLAIMED
}
"""A CloudUser represents an User stored in the Cypress Cloud"""
type CloudUser implements Node {
"""Url to manage cloud organizations for this user"""
cloudOrganizationsUrl: String
"""Url to the profile of the current user on the dashboard"""
cloudProfileUrl: String
"""Url to create a cloud organization for this user"""
createCloudOrganizationUrl: String
email: String
"""The display name of the user, if we have one"""
fullName: String
"""Globally unique identifier representing a concrete GraphQL ObjectType"""
id: ID!
"""A connection field type"""
organizations(
"""Returns the elements in the list that come after the specified cursor"""
after: String
"""Returns the elements in the list that come before the specified cursor"""
before: String
"""Returns the first n elements from the list."""
first: Int
"""Returns the last n elements from the list."""
last: Int
): CloudOrganizationConnection
"""Whether this user is the currently authenticated user"""
userIsViewer: Boolean!
}
"""
A code frame to display for a file, used when displaying code related to errors
"""
type CodeFrame {
"""Source of the code frame to display"""
codeBlock: String
"""The column of the error to display"""
column: Int
file: FileParts!
"""The line number of the code snippet to display"""
line: Int
}
"""Glob patterns for detecting files for code gen."""
type CodeGenGlobs implements Node {
component: String!
"""Relay style Node ID field for the CodeGenGlobs field"""
id: ID!
}
enum CodeGenType {
component
componentEmpty
e2e
scaffoldIntegration
}
enum CodeLanguageEnum {
js
ts
}
"""used to distinguish one group of users from another"""
type Cohort {
"""value used to indicate the cohort (e.g. "A" or "B")"""
cohort: String!
"""name used to identify the cohort topic (e.g. "LoginBanner" ) """
name: String!
}
input CohortInput {
"""Array of cohort options to choose from. Ex: A or B """
cohorts: [String!]!
"""Name of the cohort"""
name: String!
"""
Optional array of integer weights to use for determining cohort. Defaults to even weighting
"""
weights: [Int!]
}
"""
The currently opened Cypress project, represented by a cypress.config.{js,ts,mjs,cjs} file
"""
type CurrentProject implements Node & ProjectLike {
"""The currently selected browser for the project"""
activeBrowser: Browser
"""The current branch of the project"""
branch: String
"""If the browser is open or not"""
browserStatus: BrowserStatus!
"""Browsers found that are compatible with Cypress"""
browsers: [Browser!]
"""The remote associated project from Cypress Cloud"""
cloudProject: CloudProjectResult
"""
A refetchable remote field implementation to fetch the cloudProject,
this can safely be used when rendering a list of projects
"""
cloudProjectRemote(
"""A globally unique name for this field"""
name: String!
): RemoteFetchableCloudProjectResult
"""List of all code generation candidates stories"""
codeGenCandidates(glob: String!): [FileParts]
codeGenGlobs: CodeGenGlobs!
"""Project configuration"""
config: JSON!
"""Config File, specified by the CLI or """
configFile: String
"""Config File Absolute Path"""
configFileAbsolutePath: String
"""The mode the interactive runner was launched in"""
currentTestingType: TestingTypeEnum
"""
Default spec file name for spec creation, nullable so we can throw if it can't be decided
"""
defaultSpecFileName: String
"""File extension to use based on if the project has typescript or not"""
fileExtensionToUse: FileExtensionEnum
"""
Whether the project has any specs found that do not match an example spec
"""
hasNonExampleSpec: Boolean
"""Whether the project has a valid config file"""
hasValidConfigFile: Boolean
"""Relay style Node ID field for the CurrentProject field"""
id: ID!
"""Whether the user configured this project to use Component Testing"""
isCTConfigured: Boolean
"""True if the project is using the default spec pattern"""
isDefaultSpecPattern: Boolean!
"""Whether the user configured this project to use e2e Testing"""
isE2EConfigured: Boolean
"""Whether or not the full config is ready"""
isFullConfigReady: Boolean
"""Whether we are currently loading the configFile"""
isLoadingConfigFile: Boolean
"""Whether we are currently loading the setupNodeEvents"""
isLoadingNodeEvents: Boolean
"""Whether the project has Typescript"""
isUsingTypeScript: Boolean
"""Whether the project needs to be migrated before proceeding"""
needsLegacyConfigMigration: Boolean
packageManager: PackageManagerEnum!
"""Cached preferences for this project"""
preferences: ProjectPreferences
"""Used to associate project with Cypress Cloud"""
projectId: String
"""Absolute path to the project on the filesystem"""
projectRoot: String!
"""Project saved state"""
savedState: JSON
"""base64 encoded config used on the runner page"""
serveConfig: JSON!
"""A list of specs for the currently open testing type of a project"""
specs: [Spec!]!
title: String!
}
"""
A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar Date
"""
A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar DateTime
enum DevRelaunchAction {
dismiss
trigger
}
"""State associated/helpful for local development of Cypress"""
type DevState {
"""
When we have edited server related files, we may want to relaunch the client.
"""
needsRelaunch: Boolean
"""For debugging, the current application state"""
state: JSON
}
"""Represents an editor on the local machine"""
type Editor {
"""Binary that opens the editor"""
binary: String
id: String!
"""name of editor"""
name: String!
}
enum ErrorTypeEnum {
AUTOMATION_SERVER_DISCONNECTED
BAD_POLICY_WARNING
BAD_POLICY_WARNING_TOOLTIP
BROWSER_CRASHED
BROWSER_NOT_FOUND_BY_NAME
BROWSER_NOT_FOUND_BY_PATH
BROWSER_UNSUPPORTED_LAUNCH_OPTION
BUNDLE_ERROR
CANNOT_CONNECT_BASE_URL
CANNOT_CONNECT_BASE_URL_RETRYING
CANNOT_CONNECT_BASE_URL_WARNING
CANNOT_CREATE_PROJECT_TOKEN
CANNOT_FETCH_PROJECT_TOKEN
CANNOT_RECORD_NO_PROJECT_ID
CANNOT_REMOVE_OLD_BROWSER_PROFILES
CANNOT_TRASH_ASSETS
CDP_COULD_NOT_CONNECT
CDP_COULD_NOT_RECONNECT
CDP_RETRYING_CONNECTION
CDP_VERSION_TOO_OLD
CHROME_WEB_SECURITY_NOT_SUPPORTED
CLOUD_ALREADY_COMPLETE
CLOUD_API_RESPONSE_FAILED_RETRYING
CLOUD_CANCEL_SKIPPED_SPEC
CLOUD_CANNOT_CREATE_RUN_OR_INSTANCE
CLOUD_CANNOT_PROCEED_IN_PARALLEL
CLOUD_CANNOT_PROCEED_IN_SERIAL
CLOUD_CANNOT_UPLOAD_RESULTS
CLOUD_GRAPHQL_ERROR
CLOUD_INVALID_RUN_REQUEST
CLOUD_PARALLEL_DISALLOWED
CLOUD_PARALLEL_GROUP_PARAMS_MISMATCH
CLOUD_PARALLEL_REQUIRED
CLOUD_PROJECT_NOT_FOUND
CLOUD_RECORD_KEY_NOT_VALID
CLOUD_RUN_GROUP_NAME_NOT_UNIQUE
CLOUD_STALE_RUN
CLOUD_UNKNOWN_CREATE_RUN_WARNING
CLOUD_UNKNOWN_INVALID_REQUEST
COMPONENT_FOLDER_REMOVED
COMPONENT_TESTING_MISMATCHED_DEPENDENCIES
CONFIG_FILES_LANGUAGE_CONFLICT
CONFIG_FILE_DEV_SERVER_INVALID_RETURN
CONFIG_FILE_DEV_SERVER_IS_NOT_VALID
CONFIG_FILE_INVALID_DEV_START_EVENT
CONFIG_FILE_INVALID_ROOT_CONFIG
CONFIG_FILE_INVALID_ROOT_CONFIG_COMPONENT
CONFIG_FILE_INVALID_ROOT_CONFIG_E2E
CONFIG_FILE_INVALID_TESTING_TYPE_CONFIG_COMPONENT
CONFIG_FILE_INVALID_TESTING_TYPE_CONFIG_E2E
CONFIG_FILE_MIGRATION_NEEDED
CONFIG_FILE_NOT_FOUND
CONFIG_FILE_REQUIRE_ERROR
CONFIG_FILE_SETUP_NODE_EVENTS_ERROR
CONFIG_FILE_UNEXPECTED_ERROR
CONFIG_VALIDATION_ERROR
CONFIG_VALIDATION_MSG_ERROR
COULD_NOT_FIND_SYSTEM_NODE
COULD_NOT_PARSE_ARGUMENTS
DEFAULT_SUPPORT_FILE_NOT_FOUND
DEPRECATED_BEFORE_BROWSER_LAUNCH_ARGS
DEV_SERVER_CONFIG_FILE_NOT_FOUND
DUPLICATE_TASK_KEY
ERROR_READING_FILE
ERROR_WRITING_FILE
EXPERIMENTAL_COMPONENT_TESTING_REMOVED
EXPERIMENTAL_NETWORK_STUBBING_REMOVED
EXPERIMENTAL_ORIGIN_DEPENDENCIES_E2E_ONLY
EXPERIMENTAL_RUN_ALL_SPECS_E2E_ONLY
EXPERIMENTAL_RUN_EVENTS_REMOVED
EXPERIMENTAL_SAMESITE_REMOVED
EXPERIMENTAL_SESSION_AND_ORIGIN_REMOVED
EXPERIMENTAL_SESSION_SUPPORT_REMOVED
EXPERIMENTAL_SHADOW_DOM_REMOVED
EXPERIMENTAL_SINGLE_TAB_RUN_MODE
EXPERIMENTAL_STUDIO_E2E_ONLY
EXPERIMENTAL_STUDIO_REMOVED
EXTENSION_NOT_LOADED
FIREFOX_COULD_NOT_CONNECT
FIREFOX_GC_INTERVAL_REMOVED
FIREFOX_MARIONETTE_FAILURE
FIXTURE_NOT_FOUND
FOLDER_NOT_WRITABLE
FREE_PLAN_EXCEEDS_MONTHLY_PRIVATE_TESTS
FREE_PLAN_EXCEEDS_MONTHLY_TESTS
FREE_PLAN_IN_GRACE_PERIOD_EXCEEDS_MONTHLY_PRIVATE_TESTS
FREE_PLAN_IN_GRACE_PERIOD_EXCEEDS_MONTHLY_TESTS
FREE_PLAN_IN_GRACE_PERIOD_PARALLEL_FEATURE
INCOMPATIBLE_PLUGIN_RETRIES
INCORRECT_CI_BUILD_ID_USAGE
INDETERMINATE_CI_BUILD_ID
INTEGRATION_FOLDER_REMOVED
INVALID_CONFIG_OPTION
INVALID_CYPRESS_INTERNAL_ENV
INVALID_REPORTER_NAME
INVOKED_BINARY_OUTSIDE_NPM_MODULE
LEGACY_CONFIG_ERROR_DURING_MIGRATION
LEGACY_CONFIG_FILE
MIGRATION_ALREADY_OCURRED
MIGRATION_CYPRESS_NOT_FOUND
MIGRATION_MISMATCHED_CYPRESS_VERSIONS
MULTIPLE_SUPPORT_FILES_FOUND
NODE_VERSION_DEPRECATION_BUNDLED
NODE_VERSION_DEPRECATION_SYSTEM
NOT_LOGGED_IN
NO_DEFAULT_CONFIG_FILE_FOUND
NO_PROJECT_FOUND_AT_PROJECT_ROOT
NO_PROJECT_ID
NO_SPECS_FOUND
PAID_PLAN_EXCEEDS_MONTHLY_PRIVATE_TESTS
PARALLEL_FEATURE_NOT_AVAILABLE_IN_PLAN
PLAN_EXCEEDS_MONTHLY_TESTS
PLAN_IN_GRACE_PERIOD_RUN_GROUPING_FEATURE_USED
PLUGINS_FILE_CONFIG_OPTION_REMOVED
PLUGINS_RUN_EVENT_ERROR
PORT_IN_USE_LONG
PORT_IN_USE_SHORT
PROJECT_ID_AND_KEY_BUT_MISSING_RECORD_OPTION
RECORDING_FROM_FORK_PR
RECORD_KEY_MISSING
RECORD_PARAMS_WITHOUT_RECORDING
RENAMED_CONFIG_OPTION
RENDERER_CRASHED
RUN_GROUPING_FEATURE_NOT_AVAILABLE_IN_PLAN
SETUP_NODE_EVENTS_DO_NOT_SUPPORT_DEV_SERVER
SETUP_NODE_EVENTS_INVALID_EVENT_NAME_ERROR
SETUP_NODE_EVENTS_IS_NOT_FUNCTION
SUPPORT_FILE_NOT_FOUND
TESTING_TYPE_NOT_CONFIGURED
TESTS_DID_NOT_START_FAILED
TESTS_DID_NOT_START_RETRYING
TEST_FILES_RENAMED
UNEXPECTED_BEFORE_BROWSER_LAUNCH_PROPERTIES
UNEXPECTED_INTERNAL_ERROR
UNEXPECTED_MUTATION_ERROR
UNSUPPORTED_BROWSER_VERSION
VIDEO_POST_PROCESSING_FAILED
VIDEO_RECORDING_FAILED
}
"""Base error"""
type ErrorWrapper {
"""The code frame to display in relation to the error"""
codeFrame: CodeFrame
"""The markdown formatted content associated with the ErrorTypeEnum"""
errorMessage: String!
"""Name of the error class"""
errorName: String!
"""
The error stack of either the original error from the user or from where the internal Cypress error was created
"""
errorStack: String!
errorType: ErrorTypeEnum!
"""The ID for the error, used to clear the error"""
id: ID!
"""
Whether the error came from user code, can be used to determine whether to open a stack trace by default
"""
isUserCodeError: Boolean!
"""
Optional title of the error. Used to optionally display a title above the error
"""
title: String
}
input FileDetailsInput {
column: Int
"""
When we open a file we take a filePath, either relative to the project root, or absolute on disk
"""
filePath: String!
line: Int
}
enum FileExtensionEnum {
js
ts
}
"""Represents a file on the file system"""
type FileParts implements Node {
"""
Absolute path to file (e.g. /Users/jess/my-project/src/component/MySpec.test.tsx)
"""
absolute: String!
"""Full name of the file (e.g. MySpec.test.tsx)"""
baseName: String!
"""
If provided, used to specify the column of the file to open in openFileInIDE
"""
column: Int
"""The contents of the file"""
contents: String!
"""The file's extension"""
fileExtension: String!
"""The first part of the file, without extensions (e.g. MySpec)"""
fileName: String!
"""Relay style Node ID field for the FileParts field"""
id: ID!
"""
If provided, used to specify the line of the file to open in openFileInIDE
"""
line: Int
"""Full name of spec file (e.g. MySpec.test.tsx)"""
name: String!
"""Relative path to file (e.g. src/component/MySpec.test.tsx)"""
relative: String!
}
enum FrontendFrameworkEnum {
angular
nextjs
nuxtjs
react
reactscripts
svelte
vue2
vue3
vueclivue2
vueclivue3
}
"""Error from generated spec"""
type GenerateSpecResponse {
"""The currently opened project"""
currentProject: CurrentProject
"""The file that have just been scaffolded or the fileName that errored"""
generatedSpecResult: GeneratedSpecResult
}
"""Error from generated spec"""
type GeneratedSpecError {
erroredCodegenCandidate: String!
fileName: String!
}
union GeneratedSpecResult = GeneratedSpecError | ScaffoldedFile
"""Git information about a spec file"""
type GitInfo {
"""Last person to change the file in git"""
author: String
"""last modified as a pretty string, eg 2 days ago"""
lastModifiedHumanReadable: String
"""last modified timestamp, eg 2021-09-14 13:43:19 +1000"""
lastModifiedTimestamp: String
"""short hash for latest commit"""
shortHash: String
"""status type - created or modified"""
statusType: GitInfoStatusType
"""subject for latest commit"""
subject: String
}