@workday/canvas-kit-docs 12.0.0-alpha.834-next.0 → 12.0.0-alpha.841-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/es6/lib/specs.js
CHANGED
|
@@ -5037,1576 +5037,6 @@ module.exports = {specifications: [
|
|
|
5037
5037
|
}
|
|
5038
5038
|
]
|
|
5039
5039
|
},
|
|
5040
|
-
{
|
|
5041
|
-
"type": "file",
|
|
5042
|
-
"name": "SelectPreview.spec.ts",
|
|
5043
|
-
"children": [
|
|
5044
|
-
{
|
|
5045
|
-
"type": "describe",
|
|
5046
|
-
"name": "Select",
|
|
5047
|
-
"children": [
|
|
5048
|
-
{
|
|
5049
|
-
"type": "describe",
|
|
5050
|
-
"name": "given the \"Default\" story is rendered",
|
|
5051
|
-
"children": [
|
|
5052
|
-
{
|
|
5053
|
-
"type": "it",
|
|
5054
|
-
"name": "should not have any axe errors"
|
|
5055
|
-
},
|
|
5056
|
-
{
|
|
5057
|
-
"type": "describe",
|
|
5058
|
-
"name": "when the select button is clicked",
|
|
5059
|
-
"children": [
|
|
5060
|
-
{
|
|
5061
|
-
"type": "it",
|
|
5062
|
-
"name": "should not have any axe errors"
|
|
5063
|
-
},
|
|
5064
|
-
{
|
|
5065
|
-
"type": "describe",
|
|
5066
|
-
"name": "the select button",
|
|
5067
|
-
"children": [
|
|
5068
|
-
{
|
|
5069
|
-
"type": "it",
|
|
5070
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5071
|
-
}
|
|
5072
|
-
]
|
|
5073
|
-
},
|
|
5074
|
-
{
|
|
5075
|
-
"type": "describe",
|
|
5076
|
-
"name": "the menu",
|
|
5077
|
-
"children": [
|
|
5078
|
-
{
|
|
5079
|
-
"type": "it",
|
|
5080
|
-
"name": "should be visible"
|
|
5081
|
-
},
|
|
5082
|
-
{
|
|
5083
|
-
"type": "it",
|
|
5084
|
-
"name": "should have focus"
|
|
5085
|
-
},
|
|
5086
|
-
{
|
|
5087
|
-
"type": "it",
|
|
5088
|
-
"name": "should have an aria-activedescendant attribute with the same value as the id of the first option (\"E-mail\")"
|
|
5089
|
-
},
|
|
5090
|
-
{
|
|
5091
|
-
"type": "it",
|
|
5092
|
-
"name": "should set assistive focus to the first option (\"E-mail\")"
|
|
5093
|
-
}
|
|
5094
|
-
]
|
|
5095
|
-
},
|
|
5096
|
-
{
|
|
5097
|
-
"type": "describe",
|
|
5098
|
-
"name": "the first option (\"Mail\")",
|
|
5099
|
-
"children": [
|
|
5100
|
-
{
|
|
5101
|
-
"type": "it",
|
|
5102
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5103
|
-
}
|
|
5104
|
-
]
|
|
5105
|
-
},
|
|
5106
|
-
{
|
|
5107
|
-
"type": "describe",
|
|
5108
|
-
"name": "when the \"Phone\" option (with the value \"phone\") is clicked",
|
|
5109
|
-
"children": [
|
|
5110
|
-
{
|
|
5111
|
-
"type": "describe",
|
|
5112
|
-
"name": "the select button",
|
|
5113
|
-
"children": [
|
|
5114
|
-
{
|
|
5115
|
-
"type": "it",
|
|
5116
|
-
"name": "should read \"Phone\""
|
|
5117
|
-
},
|
|
5118
|
-
{
|
|
5119
|
-
"type": "it",
|
|
5120
|
-
"name": "should have a value of \"phone\""
|
|
5121
|
-
},
|
|
5122
|
-
{
|
|
5123
|
-
"type": "it",
|
|
5124
|
-
"name": "should re-acquire focus"
|
|
5125
|
-
}
|
|
5126
|
-
]
|
|
5127
|
-
},
|
|
5128
|
-
{
|
|
5129
|
-
"type": "describe",
|
|
5130
|
-
"name": "the menu",
|
|
5131
|
-
"children": [
|
|
5132
|
-
{
|
|
5133
|
-
"type": "it",
|
|
5134
|
-
"name": "should not be visible"
|
|
5135
|
-
}
|
|
5136
|
-
]
|
|
5137
|
-
},
|
|
5138
|
-
{
|
|
5139
|
-
"type": "describe",
|
|
5140
|
-
"name": "when the menu is opened again",
|
|
5141
|
-
"children": [
|
|
5142
|
-
{
|
|
5143
|
-
"type": "describe",
|
|
5144
|
-
"name": "the menu",
|
|
5145
|
-
"children": [
|
|
5146
|
-
{
|
|
5147
|
-
"type": "it",
|
|
5148
|
-
"name": "should set assistive focus to the \"Phone\" option"
|
|
5149
|
-
}
|
|
5150
|
-
]
|
|
5151
|
-
},
|
|
5152
|
-
{
|
|
5153
|
-
"type": "describe",
|
|
5154
|
-
"name": "the \"Phone\" option",
|
|
5155
|
-
"children": [
|
|
5156
|
-
{
|
|
5157
|
-
"type": "it",
|
|
5158
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5159
|
-
}
|
|
5160
|
-
]
|
|
5161
|
-
}
|
|
5162
|
-
]
|
|
5163
|
-
}
|
|
5164
|
-
]
|
|
5165
|
-
}
|
|
5166
|
-
]
|
|
5167
|
-
},
|
|
5168
|
-
{
|
|
5169
|
-
"type": "describe",
|
|
5170
|
-
"name": "when the select button is focused",
|
|
5171
|
-
"children": [
|
|
5172
|
-
{
|
|
5173
|
-
"type": "describe",
|
|
5174
|
-
"name": "when the down arrow key is pressed",
|
|
5175
|
-
"children": [
|
|
5176
|
-
{
|
|
5177
|
-
"type": "describe",
|
|
5178
|
-
"name": "the select button",
|
|
5179
|
-
"children": [
|
|
5180
|
-
{
|
|
5181
|
-
"type": "it",
|
|
5182
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5183
|
-
}
|
|
5184
|
-
]
|
|
5185
|
-
},
|
|
5186
|
-
{
|
|
5187
|
-
"type": "describe",
|
|
5188
|
-
"name": "the menu",
|
|
5189
|
-
"children": [
|
|
5190
|
-
{
|
|
5191
|
-
"type": "it",
|
|
5192
|
-
"name": "should be visible"
|
|
5193
|
-
},
|
|
5194
|
-
{
|
|
5195
|
-
"type": "it",
|
|
5196
|
-
"name": "should have focus"
|
|
5197
|
-
}
|
|
5198
|
-
]
|
|
5199
|
-
},
|
|
5200
|
-
{
|
|
5201
|
-
"type": "describe",
|
|
5202
|
-
"name": "when the down arrow key is pressed for a second time",
|
|
5203
|
-
"children": [
|
|
5204
|
-
{
|
|
5205
|
-
"type": "describe",
|
|
5206
|
-
"name": "the menu",
|
|
5207
|
-
"children": [
|
|
5208
|
-
{
|
|
5209
|
-
"type": "it",
|
|
5210
|
-
"name": "should set assistive focus to the \"Phone\" option"
|
|
5211
|
-
}
|
|
5212
|
-
]
|
|
5213
|
-
},
|
|
5214
|
-
{
|
|
5215
|
-
"type": "describe",
|
|
5216
|
-
"name": "when the down arrow key is pressed for a third time",
|
|
5217
|
-
"children": [
|
|
5218
|
-
{
|
|
5219
|
-
"type": "describe",
|
|
5220
|
-
"name": "the menu",
|
|
5221
|
-
"children": [
|
|
5222
|
-
{
|
|
5223
|
-
"type": "it",
|
|
5224
|
-
"name": "should set assistive focus to the \"Mail\" option"
|
|
5225
|
-
}
|
|
5226
|
-
]
|
|
5227
|
-
},
|
|
5228
|
-
{
|
|
5229
|
-
"type": "describe",
|
|
5230
|
-
"name": "when the enter key is pressed",
|
|
5231
|
-
"children": [
|
|
5232
|
-
{
|
|
5233
|
-
"type": "describe",
|
|
5234
|
-
"name": "the select button",
|
|
5235
|
-
"children": [
|
|
5236
|
-
{
|
|
5237
|
-
"type": "it",
|
|
5238
|
-
"name": "should read \"Mail\""
|
|
5239
|
-
},
|
|
5240
|
-
{
|
|
5241
|
-
"type": "it",
|
|
5242
|
-
"name": "should have a value of \"mail\""
|
|
5243
|
-
},
|
|
5244
|
-
{
|
|
5245
|
-
"type": "it",
|
|
5246
|
-
"name": "should re-acquire focus"
|
|
5247
|
-
}
|
|
5248
|
-
]
|
|
5249
|
-
},
|
|
5250
|
-
{
|
|
5251
|
-
"type": "describe",
|
|
5252
|
-
"name": "the menu",
|
|
5253
|
-
"children": [
|
|
5254
|
-
{
|
|
5255
|
-
"type": "it",
|
|
5256
|
-
"name": "should not be visible"
|
|
5257
|
-
}
|
|
5258
|
-
]
|
|
5259
|
-
},
|
|
5260
|
-
{
|
|
5261
|
-
"type": "describe",
|
|
5262
|
-
"name": "when the menu is expanded again",
|
|
5263
|
-
"children": [
|
|
5264
|
-
{
|
|
5265
|
-
"type": "describe",
|
|
5266
|
-
"name": "the menu",
|
|
5267
|
-
"children": [
|
|
5268
|
-
{
|
|
5269
|
-
"type": "it",
|
|
5270
|
-
"name": "should set assistive focus to the \"Mail\" option"
|
|
5271
|
-
}
|
|
5272
|
-
]
|
|
5273
|
-
},
|
|
5274
|
-
{
|
|
5275
|
-
"type": "describe",
|
|
5276
|
-
"name": "the \"Mail\" option",
|
|
5277
|
-
"children": [
|
|
5278
|
-
{
|
|
5279
|
-
"type": "it",
|
|
5280
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5281
|
-
}
|
|
5282
|
-
]
|
|
5283
|
-
}
|
|
5284
|
-
]
|
|
5285
|
-
}
|
|
5286
|
-
]
|
|
5287
|
-
}
|
|
5288
|
-
]
|
|
5289
|
-
},
|
|
5290
|
-
{
|
|
5291
|
-
"type": "describe",
|
|
5292
|
-
"name": "when the up arrow key is pressed",
|
|
5293
|
-
"children": [
|
|
5294
|
-
{
|
|
5295
|
-
"type": "describe",
|
|
5296
|
-
"name": "the menu",
|
|
5297
|
-
"children": [
|
|
5298
|
-
{
|
|
5299
|
-
"type": "it",
|
|
5300
|
-
"name": "should set assistive focus to the \"E-mail\" option"
|
|
5301
|
-
}
|
|
5302
|
-
]
|
|
5303
|
-
}
|
|
5304
|
-
]
|
|
5305
|
-
}
|
|
5306
|
-
]
|
|
5307
|
-
}
|
|
5308
|
-
]
|
|
5309
|
-
},
|
|
5310
|
-
{
|
|
5311
|
-
"type": "describe",
|
|
5312
|
-
"name": "when the enter key is pressed",
|
|
5313
|
-
"children": [
|
|
5314
|
-
{
|
|
5315
|
-
"type": "describe",
|
|
5316
|
-
"name": "the select button",
|
|
5317
|
-
"children": [
|
|
5318
|
-
{
|
|
5319
|
-
"type": "it",
|
|
5320
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5321
|
-
}
|
|
5322
|
-
]
|
|
5323
|
-
}
|
|
5324
|
-
]
|
|
5325
|
-
},
|
|
5326
|
-
{
|
|
5327
|
-
"type": "describe",
|
|
5328
|
-
"name": "when the space key is pressed",
|
|
5329
|
-
"children": [
|
|
5330
|
-
{
|
|
5331
|
-
"type": "describe",
|
|
5332
|
-
"name": "the select button",
|
|
5333
|
-
"children": [
|
|
5334
|
-
{
|
|
5335
|
-
"type": "it",
|
|
5336
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5337
|
-
}
|
|
5338
|
-
]
|
|
5339
|
-
}
|
|
5340
|
-
]
|
|
5341
|
-
}
|
|
5342
|
-
]
|
|
5343
|
-
},
|
|
5344
|
-
{
|
|
5345
|
-
"type": "describe",
|
|
5346
|
-
"name": "when the \"select\" helper is used to select \"Mail\"",
|
|
5347
|
-
"children": [
|
|
5348
|
-
{
|
|
5349
|
-
"type": "it",
|
|
5350
|
-
"name": "should have a value of \"mail\""
|
|
5351
|
-
}
|
|
5352
|
-
]
|
|
5353
|
-
},
|
|
5354
|
-
{
|
|
5355
|
-
"type": "describe",
|
|
5356
|
-
"name": "when the \"select\" helper is used to select /^Mail$/",
|
|
5357
|
-
"children": [
|
|
5358
|
-
{
|
|
5359
|
-
"type": "it",
|
|
5360
|
-
"name": "should have a value of \"mail\""
|
|
5361
|
-
}
|
|
5362
|
-
]
|
|
5363
|
-
}
|
|
5364
|
-
]
|
|
5365
|
-
},
|
|
5366
|
-
{
|
|
5367
|
-
"type": "describe",
|
|
5368
|
-
"name": "given the \"Alert\" story is rendered",
|
|
5369
|
-
"children": [
|
|
5370
|
-
{
|
|
5371
|
-
"type": "it",
|
|
5372
|
-
"name": "should not have any axe errors"
|
|
5373
|
-
},
|
|
5374
|
-
{
|
|
5375
|
-
"type": "describe",
|
|
5376
|
-
"name": "when the select button is clicked",
|
|
5377
|
-
"children": [
|
|
5378
|
-
{
|
|
5379
|
-
"type": "it",
|
|
5380
|
-
"name": "should not have any axe errors"
|
|
5381
|
-
},
|
|
5382
|
-
{
|
|
5383
|
-
"type": "describe",
|
|
5384
|
-
"name": "the select button",
|
|
5385
|
-
"children": [
|
|
5386
|
-
{
|
|
5387
|
-
"type": "it",
|
|
5388
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5389
|
-
}
|
|
5390
|
-
]
|
|
5391
|
-
},
|
|
5392
|
-
{
|
|
5393
|
-
"type": "describe",
|
|
5394
|
-
"name": "the menu",
|
|
5395
|
-
"children": [
|
|
5396
|
-
{
|
|
5397
|
-
"type": "it",
|
|
5398
|
-
"name": "should be visible"
|
|
5399
|
-
},
|
|
5400
|
-
{
|
|
5401
|
-
"type": "it",
|
|
5402
|
-
"name": "should have focus"
|
|
5403
|
-
},
|
|
5404
|
-
{
|
|
5405
|
-
"type": "it",
|
|
5406
|
-
"name": "should have an aria-activedescendant attribute with the same value as the id of the first option (\"E-mail\")"
|
|
5407
|
-
},
|
|
5408
|
-
{
|
|
5409
|
-
"type": "it",
|
|
5410
|
-
"name": "should set assistive focus to the first option (\"E-mail\")"
|
|
5411
|
-
}
|
|
5412
|
-
]
|
|
5413
|
-
},
|
|
5414
|
-
{
|
|
5415
|
-
"type": "describe",
|
|
5416
|
-
"name": "the first option (\"Mail\")",
|
|
5417
|
-
"children": [
|
|
5418
|
-
{
|
|
5419
|
-
"type": "it",
|
|
5420
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5421
|
-
}
|
|
5422
|
-
]
|
|
5423
|
-
},
|
|
5424
|
-
{
|
|
5425
|
-
"type": "describe",
|
|
5426
|
-
"name": "when the \"Phone\" option (with the value \"phone\") is clicked",
|
|
5427
|
-
"children": [
|
|
5428
|
-
{
|
|
5429
|
-
"type": "describe",
|
|
5430
|
-
"name": "the select button",
|
|
5431
|
-
"children": [
|
|
5432
|
-
{
|
|
5433
|
-
"type": "it",
|
|
5434
|
-
"name": "should read \"Phone\""
|
|
5435
|
-
},
|
|
5436
|
-
{
|
|
5437
|
-
"type": "it",
|
|
5438
|
-
"name": "should have a value of \"phone\""
|
|
5439
|
-
},
|
|
5440
|
-
{
|
|
5441
|
-
"type": "it",
|
|
5442
|
-
"name": "should re-acquire focus"
|
|
5443
|
-
}
|
|
5444
|
-
]
|
|
5445
|
-
},
|
|
5446
|
-
{
|
|
5447
|
-
"type": "describe",
|
|
5448
|
-
"name": "the menu",
|
|
5449
|
-
"children": [
|
|
5450
|
-
{
|
|
5451
|
-
"type": "it",
|
|
5452
|
-
"name": "should not be visible"
|
|
5453
|
-
}
|
|
5454
|
-
]
|
|
5455
|
-
},
|
|
5456
|
-
{
|
|
5457
|
-
"type": "describe",
|
|
5458
|
-
"name": "when the menu is opened again",
|
|
5459
|
-
"children": [
|
|
5460
|
-
{
|
|
5461
|
-
"type": "describe",
|
|
5462
|
-
"name": "the menu",
|
|
5463
|
-
"children": [
|
|
5464
|
-
{
|
|
5465
|
-
"type": "it",
|
|
5466
|
-
"name": "should set assistive focus to the \"Phone\" option"
|
|
5467
|
-
}
|
|
5468
|
-
]
|
|
5469
|
-
},
|
|
5470
|
-
{
|
|
5471
|
-
"type": "describe",
|
|
5472
|
-
"name": "the \"Phone\" option",
|
|
5473
|
-
"children": [
|
|
5474
|
-
{
|
|
5475
|
-
"type": "it",
|
|
5476
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5477
|
-
}
|
|
5478
|
-
]
|
|
5479
|
-
}
|
|
5480
|
-
]
|
|
5481
|
-
}
|
|
5482
|
-
]
|
|
5483
|
-
}
|
|
5484
|
-
]
|
|
5485
|
-
},
|
|
5486
|
-
{
|
|
5487
|
-
"type": "describe",
|
|
5488
|
-
"name": "when the select button is focused",
|
|
5489
|
-
"children": [
|
|
5490
|
-
{
|
|
5491
|
-
"type": "describe",
|
|
5492
|
-
"name": "when the down arrow key is pressed",
|
|
5493
|
-
"children": [
|
|
5494
|
-
{
|
|
5495
|
-
"type": "describe",
|
|
5496
|
-
"name": "the select button",
|
|
5497
|
-
"children": [
|
|
5498
|
-
{
|
|
5499
|
-
"type": "it",
|
|
5500
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5501
|
-
}
|
|
5502
|
-
]
|
|
5503
|
-
},
|
|
5504
|
-
{
|
|
5505
|
-
"type": "describe",
|
|
5506
|
-
"name": "the menu",
|
|
5507
|
-
"children": [
|
|
5508
|
-
{
|
|
5509
|
-
"type": "it",
|
|
5510
|
-
"name": "should be visible"
|
|
5511
|
-
},
|
|
5512
|
-
{
|
|
5513
|
-
"type": "it",
|
|
5514
|
-
"name": "should have focus"
|
|
5515
|
-
}
|
|
5516
|
-
]
|
|
5517
|
-
},
|
|
5518
|
-
{
|
|
5519
|
-
"type": "describe",
|
|
5520
|
-
"name": "when the down arrow key is pressed for a second time",
|
|
5521
|
-
"children": [
|
|
5522
|
-
{
|
|
5523
|
-
"type": "describe",
|
|
5524
|
-
"name": "the menu",
|
|
5525
|
-
"children": [
|
|
5526
|
-
{
|
|
5527
|
-
"type": "it",
|
|
5528
|
-
"name": "should set assistive focus to the \"Phone\" option"
|
|
5529
|
-
}
|
|
5530
|
-
]
|
|
5531
|
-
},
|
|
5532
|
-
{
|
|
5533
|
-
"type": "describe",
|
|
5534
|
-
"name": "when the down arrow key is pressed for a third time",
|
|
5535
|
-
"children": [
|
|
5536
|
-
{
|
|
5537
|
-
"type": "describe",
|
|
5538
|
-
"name": "the menu",
|
|
5539
|
-
"children": [
|
|
5540
|
-
{
|
|
5541
|
-
"type": "it",
|
|
5542
|
-
"name": "should set assistive focus to the \"Mail\" option"
|
|
5543
|
-
}
|
|
5544
|
-
]
|
|
5545
|
-
},
|
|
5546
|
-
{
|
|
5547
|
-
"type": "describe",
|
|
5548
|
-
"name": "when the enter key is pressed",
|
|
5549
|
-
"children": [
|
|
5550
|
-
{
|
|
5551
|
-
"type": "describe",
|
|
5552
|
-
"name": "the select button",
|
|
5553
|
-
"children": [
|
|
5554
|
-
{
|
|
5555
|
-
"type": "it",
|
|
5556
|
-
"name": "should read \"Mail\""
|
|
5557
|
-
},
|
|
5558
|
-
{
|
|
5559
|
-
"type": "it",
|
|
5560
|
-
"name": "should have a value of \"mail\""
|
|
5561
|
-
},
|
|
5562
|
-
{
|
|
5563
|
-
"type": "it",
|
|
5564
|
-
"name": "should re-acquire focus"
|
|
5565
|
-
}
|
|
5566
|
-
]
|
|
5567
|
-
},
|
|
5568
|
-
{
|
|
5569
|
-
"type": "describe",
|
|
5570
|
-
"name": "the menu",
|
|
5571
|
-
"children": [
|
|
5572
|
-
{
|
|
5573
|
-
"type": "it",
|
|
5574
|
-
"name": "should not be visible"
|
|
5575
|
-
}
|
|
5576
|
-
]
|
|
5577
|
-
},
|
|
5578
|
-
{
|
|
5579
|
-
"type": "describe",
|
|
5580
|
-
"name": "when the menu is expanded again",
|
|
5581
|
-
"children": [
|
|
5582
|
-
{
|
|
5583
|
-
"type": "describe",
|
|
5584
|
-
"name": "the menu",
|
|
5585
|
-
"children": [
|
|
5586
|
-
{
|
|
5587
|
-
"type": "it",
|
|
5588
|
-
"name": "should set assistive focus to the \"Mail\" option"
|
|
5589
|
-
}
|
|
5590
|
-
]
|
|
5591
|
-
},
|
|
5592
|
-
{
|
|
5593
|
-
"type": "describe",
|
|
5594
|
-
"name": "the \"Mail\" option",
|
|
5595
|
-
"children": [
|
|
5596
|
-
{
|
|
5597
|
-
"type": "it",
|
|
5598
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5599
|
-
}
|
|
5600
|
-
]
|
|
5601
|
-
}
|
|
5602
|
-
]
|
|
5603
|
-
}
|
|
5604
|
-
]
|
|
5605
|
-
}
|
|
5606
|
-
]
|
|
5607
|
-
},
|
|
5608
|
-
{
|
|
5609
|
-
"type": "describe",
|
|
5610
|
-
"name": "when the up arrow key is pressed",
|
|
5611
|
-
"children": [
|
|
5612
|
-
{
|
|
5613
|
-
"type": "describe",
|
|
5614
|
-
"name": "the menu",
|
|
5615
|
-
"children": [
|
|
5616
|
-
{
|
|
5617
|
-
"type": "it",
|
|
5618
|
-
"name": "should set assistive focus to the \"E-mail\" option"
|
|
5619
|
-
}
|
|
5620
|
-
]
|
|
5621
|
-
}
|
|
5622
|
-
]
|
|
5623
|
-
}
|
|
5624
|
-
]
|
|
5625
|
-
}
|
|
5626
|
-
]
|
|
5627
|
-
},
|
|
5628
|
-
{
|
|
5629
|
-
"type": "describe",
|
|
5630
|
-
"name": "when the enter key is pressed",
|
|
5631
|
-
"children": [
|
|
5632
|
-
{
|
|
5633
|
-
"type": "describe",
|
|
5634
|
-
"name": "the select button",
|
|
5635
|
-
"children": [
|
|
5636
|
-
{
|
|
5637
|
-
"type": "it",
|
|
5638
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5639
|
-
}
|
|
5640
|
-
]
|
|
5641
|
-
}
|
|
5642
|
-
]
|
|
5643
|
-
},
|
|
5644
|
-
{
|
|
5645
|
-
"type": "describe",
|
|
5646
|
-
"name": "when the space key is pressed",
|
|
5647
|
-
"children": [
|
|
5648
|
-
{
|
|
5649
|
-
"type": "describe",
|
|
5650
|
-
"name": "the select button",
|
|
5651
|
-
"children": [
|
|
5652
|
-
{
|
|
5653
|
-
"type": "it",
|
|
5654
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5655
|
-
}
|
|
5656
|
-
]
|
|
5657
|
-
}
|
|
5658
|
-
]
|
|
5659
|
-
}
|
|
5660
|
-
]
|
|
5661
|
-
},
|
|
5662
|
-
{
|
|
5663
|
-
"type": "describe",
|
|
5664
|
-
"name": "when the \"select\" helper is used to select \"Mail\"",
|
|
5665
|
-
"children": [
|
|
5666
|
-
{
|
|
5667
|
-
"type": "it",
|
|
5668
|
-
"name": "should have a value of \"mail\""
|
|
5669
|
-
}
|
|
5670
|
-
]
|
|
5671
|
-
},
|
|
5672
|
-
{
|
|
5673
|
-
"type": "describe",
|
|
5674
|
-
"name": "when the \"select\" helper is used to select /^Mail$/",
|
|
5675
|
-
"children": [
|
|
5676
|
-
{
|
|
5677
|
-
"type": "it",
|
|
5678
|
-
"name": "should have a value of \"mail\""
|
|
5679
|
-
}
|
|
5680
|
-
]
|
|
5681
|
-
}
|
|
5682
|
-
]
|
|
5683
|
-
},
|
|
5684
|
-
{
|
|
5685
|
-
"type": "describe",
|
|
5686
|
-
"name": "given the \"Error\" story is rendered",
|
|
5687
|
-
"children": [
|
|
5688
|
-
{
|
|
5689
|
-
"type": "it",
|
|
5690
|
-
"name": "should not have any axe errors"
|
|
5691
|
-
},
|
|
5692
|
-
{
|
|
5693
|
-
"type": "describe",
|
|
5694
|
-
"name": "when the select button is clicked",
|
|
5695
|
-
"children": [
|
|
5696
|
-
{
|
|
5697
|
-
"type": "it",
|
|
5698
|
-
"name": "should not have any axe errors"
|
|
5699
|
-
},
|
|
5700
|
-
{
|
|
5701
|
-
"type": "describe",
|
|
5702
|
-
"name": "the select button",
|
|
5703
|
-
"children": [
|
|
5704
|
-
{
|
|
5705
|
-
"type": "it",
|
|
5706
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5707
|
-
}
|
|
5708
|
-
]
|
|
5709
|
-
},
|
|
5710
|
-
{
|
|
5711
|
-
"type": "describe",
|
|
5712
|
-
"name": "the menu",
|
|
5713
|
-
"children": [
|
|
5714
|
-
{
|
|
5715
|
-
"type": "it",
|
|
5716
|
-
"name": "should be visible"
|
|
5717
|
-
},
|
|
5718
|
-
{
|
|
5719
|
-
"type": "it",
|
|
5720
|
-
"name": "should have focus"
|
|
5721
|
-
},
|
|
5722
|
-
{
|
|
5723
|
-
"type": "it",
|
|
5724
|
-
"name": "should have an aria-activedescendant attribute with the same value as the id of the first option (\"E-mail\")"
|
|
5725
|
-
},
|
|
5726
|
-
{
|
|
5727
|
-
"type": "it",
|
|
5728
|
-
"name": "should set assistive focus to the first option (\"E-mail\")"
|
|
5729
|
-
}
|
|
5730
|
-
]
|
|
5731
|
-
},
|
|
5732
|
-
{
|
|
5733
|
-
"type": "describe",
|
|
5734
|
-
"name": "the first option (\"Mail\")",
|
|
5735
|
-
"children": [
|
|
5736
|
-
{
|
|
5737
|
-
"type": "it",
|
|
5738
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5739
|
-
}
|
|
5740
|
-
]
|
|
5741
|
-
},
|
|
5742
|
-
{
|
|
5743
|
-
"type": "describe",
|
|
5744
|
-
"name": "when the \"Phone\" option (with the value \"phone\") is clicked",
|
|
5745
|
-
"children": [
|
|
5746
|
-
{
|
|
5747
|
-
"type": "describe",
|
|
5748
|
-
"name": "the select button",
|
|
5749
|
-
"children": [
|
|
5750
|
-
{
|
|
5751
|
-
"type": "it",
|
|
5752
|
-
"name": "should read \"Phone\""
|
|
5753
|
-
},
|
|
5754
|
-
{
|
|
5755
|
-
"type": "it",
|
|
5756
|
-
"name": "should have a value of \"phone\""
|
|
5757
|
-
},
|
|
5758
|
-
{
|
|
5759
|
-
"type": "it",
|
|
5760
|
-
"name": "should re-acquire focus"
|
|
5761
|
-
}
|
|
5762
|
-
]
|
|
5763
|
-
},
|
|
5764
|
-
{
|
|
5765
|
-
"type": "describe",
|
|
5766
|
-
"name": "the menu",
|
|
5767
|
-
"children": [
|
|
5768
|
-
{
|
|
5769
|
-
"type": "it",
|
|
5770
|
-
"name": "should not be visible"
|
|
5771
|
-
}
|
|
5772
|
-
]
|
|
5773
|
-
},
|
|
5774
|
-
{
|
|
5775
|
-
"type": "describe",
|
|
5776
|
-
"name": "when the menu is opened again",
|
|
5777
|
-
"children": [
|
|
5778
|
-
{
|
|
5779
|
-
"type": "describe",
|
|
5780
|
-
"name": "the menu",
|
|
5781
|
-
"children": [
|
|
5782
|
-
{
|
|
5783
|
-
"type": "it",
|
|
5784
|
-
"name": "should set assistive focus to the \"Phone\" option"
|
|
5785
|
-
}
|
|
5786
|
-
]
|
|
5787
|
-
},
|
|
5788
|
-
{
|
|
5789
|
-
"type": "describe",
|
|
5790
|
-
"name": "the \"Phone\" option",
|
|
5791
|
-
"children": [
|
|
5792
|
-
{
|
|
5793
|
-
"type": "it",
|
|
5794
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5795
|
-
}
|
|
5796
|
-
]
|
|
5797
|
-
}
|
|
5798
|
-
]
|
|
5799
|
-
}
|
|
5800
|
-
]
|
|
5801
|
-
}
|
|
5802
|
-
]
|
|
5803
|
-
},
|
|
5804
|
-
{
|
|
5805
|
-
"type": "describe",
|
|
5806
|
-
"name": "when the select button is focused",
|
|
5807
|
-
"children": [
|
|
5808
|
-
{
|
|
5809
|
-
"type": "describe",
|
|
5810
|
-
"name": "when the down arrow key is pressed",
|
|
5811
|
-
"children": [
|
|
5812
|
-
{
|
|
5813
|
-
"type": "describe",
|
|
5814
|
-
"name": "the select button",
|
|
5815
|
-
"children": [
|
|
5816
|
-
{
|
|
5817
|
-
"type": "it",
|
|
5818
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5819
|
-
}
|
|
5820
|
-
]
|
|
5821
|
-
},
|
|
5822
|
-
{
|
|
5823
|
-
"type": "describe",
|
|
5824
|
-
"name": "the menu",
|
|
5825
|
-
"children": [
|
|
5826
|
-
{
|
|
5827
|
-
"type": "it",
|
|
5828
|
-
"name": "should be visible"
|
|
5829
|
-
},
|
|
5830
|
-
{
|
|
5831
|
-
"type": "it",
|
|
5832
|
-
"name": "should have focus"
|
|
5833
|
-
}
|
|
5834
|
-
]
|
|
5835
|
-
},
|
|
5836
|
-
{
|
|
5837
|
-
"type": "describe",
|
|
5838
|
-
"name": "when the down arrow key is pressed for a second time",
|
|
5839
|
-
"children": [
|
|
5840
|
-
{
|
|
5841
|
-
"type": "describe",
|
|
5842
|
-
"name": "the menu",
|
|
5843
|
-
"children": [
|
|
5844
|
-
{
|
|
5845
|
-
"type": "it",
|
|
5846
|
-
"name": "should set assistive focus to the \"Phone\" option"
|
|
5847
|
-
}
|
|
5848
|
-
]
|
|
5849
|
-
},
|
|
5850
|
-
{
|
|
5851
|
-
"type": "describe",
|
|
5852
|
-
"name": "when the down arrow key is pressed for a third time",
|
|
5853
|
-
"children": [
|
|
5854
|
-
{
|
|
5855
|
-
"type": "describe",
|
|
5856
|
-
"name": "the menu",
|
|
5857
|
-
"children": [
|
|
5858
|
-
{
|
|
5859
|
-
"type": "it",
|
|
5860
|
-
"name": "should set assistive focus to the \"Mail\" option"
|
|
5861
|
-
}
|
|
5862
|
-
]
|
|
5863
|
-
},
|
|
5864
|
-
{
|
|
5865
|
-
"type": "describe",
|
|
5866
|
-
"name": "when the enter key is pressed",
|
|
5867
|
-
"children": [
|
|
5868
|
-
{
|
|
5869
|
-
"type": "describe",
|
|
5870
|
-
"name": "the select button",
|
|
5871
|
-
"children": [
|
|
5872
|
-
{
|
|
5873
|
-
"type": "it",
|
|
5874
|
-
"name": "should read \"Mail\""
|
|
5875
|
-
},
|
|
5876
|
-
{
|
|
5877
|
-
"type": "it",
|
|
5878
|
-
"name": "should have a value of \"mail\""
|
|
5879
|
-
},
|
|
5880
|
-
{
|
|
5881
|
-
"type": "it",
|
|
5882
|
-
"name": "should re-acquire focus"
|
|
5883
|
-
}
|
|
5884
|
-
]
|
|
5885
|
-
},
|
|
5886
|
-
{
|
|
5887
|
-
"type": "describe",
|
|
5888
|
-
"name": "the menu",
|
|
5889
|
-
"children": [
|
|
5890
|
-
{
|
|
5891
|
-
"type": "it",
|
|
5892
|
-
"name": "should not be visible"
|
|
5893
|
-
}
|
|
5894
|
-
]
|
|
5895
|
-
},
|
|
5896
|
-
{
|
|
5897
|
-
"type": "describe",
|
|
5898
|
-
"name": "when the menu is expanded again",
|
|
5899
|
-
"children": [
|
|
5900
|
-
{
|
|
5901
|
-
"type": "describe",
|
|
5902
|
-
"name": "the menu",
|
|
5903
|
-
"children": [
|
|
5904
|
-
{
|
|
5905
|
-
"type": "it",
|
|
5906
|
-
"name": "should set assistive focus to the \"Mail\" option"
|
|
5907
|
-
}
|
|
5908
|
-
]
|
|
5909
|
-
},
|
|
5910
|
-
{
|
|
5911
|
-
"type": "describe",
|
|
5912
|
-
"name": "the \"Mail\" option",
|
|
5913
|
-
"children": [
|
|
5914
|
-
{
|
|
5915
|
-
"type": "it",
|
|
5916
|
-
"name": "should have an aria-selected attribute set to \"true\""
|
|
5917
|
-
}
|
|
5918
|
-
]
|
|
5919
|
-
}
|
|
5920
|
-
]
|
|
5921
|
-
}
|
|
5922
|
-
]
|
|
5923
|
-
}
|
|
5924
|
-
]
|
|
5925
|
-
},
|
|
5926
|
-
{
|
|
5927
|
-
"type": "describe",
|
|
5928
|
-
"name": "when the up arrow key is pressed",
|
|
5929
|
-
"children": [
|
|
5930
|
-
{
|
|
5931
|
-
"type": "describe",
|
|
5932
|
-
"name": "the menu",
|
|
5933
|
-
"children": [
|
|
5934
|
-
{
|
|
5935
|
-
"type": "it",
|
|
5936
|
-
"name": "should set assistive focus to the \"E-mail\" option"
|
|
5937
|
-
}
|
|
5938
|
-
]
|
|
5939
|
-
}
|
|
5940
|
-
]
|
|
5941
|
-
}
|
|
5942
|
-
]
|
|
5943
|
-
}
|
|
5944
|
-
]
|
|
5945
|
-
},
|
|
5946
|
-
{
|
|
5947
|
-
"type": "describe",
|
|
5948
|
-
"name": "when the enter key is pressed",
|
|
5949
|
-
"children": [
|
|
5950
|
-
{
|
|
5951
|
-
"type": "describe",
|
|
5952
|
-
"name": "the select button",
|
|
5953
|
-
"children": [
|
|
5954
|
-
{
|
|
5955
|
-
"type": "it",
|
|
5956
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5957
|
-
}
|
|
5958
|
-
]
|
|
5959
|
-
}
|
|
5960
|
-
]
|
|
5961
|
-
},
|
|
5962
|
-
{
|
|
5963
|
-
"type": "describe",
|
|
5964
|
-
"name": "when the space key is pressed",
|
|
5965
|
-
"children": [
|
|
5966
|
-
{
|
|
5967
|
-
"type": "describe",
|
|
5968
|
-
"name": "the select button",
|
|
5969
|
-
"children": [
|
|
5970
|
-
{
|
|
5971
|
-
"type": "it",
|
|
5972
|
-
"name": "should have an aria-expanded attribute set to \"true\""
|
|
5973
|
-
}
|
|
5974
|
-
]
|
|
5975
|
-
}
|
|
5976
|
-
]
|
|
5977
|
-
}
|
|
5978
|
-
]
|
|
5979
|
-
},
|
|
5980
|
-
{
|
|
5981
|
-
"type": "describe",
|
|
5982
|
-
"name": "when the \"select\" helper is used to select \"Mail\"",
|
|
5983
|
-
"children": [
|
|
5984
|
-
{
|
|
5985
|
-
"type": "it",
|
|
5986
|
-
"name": "should have a value of \"mail\""
|
|
5987
|
-
}
|
|
5988
|
-
]
|
|
5989
|
-
},
|
|
5990
|
-
{
|
|
5991
|
-
"type": "describe",
|
|
5992
|
-
"name": "when the \"select\" helper is used to select /^Mail$/",
|
|
5993
|
-
"children": [
|
|
5994
|
-
{
|
|
5995
|
-
"type": "it",
|
|
5996
|
-
"name": "should have a value of \"mail\""
|
|
5997
|
-
}
|
|
5998
|
-
]
|
|
5999
|
-
}
|
|
6000
|
-
]
|
|
6001
|
-
},
|
|
6002
|
-
{
|
|
6003
|
-
"type": "describe",
|
|
6004
|
-
"name": "given the \"Default\" story is rendered",
|
|
6005
|
-
"children": [
|
|
6006
|
-
{
|
|
6007
|
-
"type": "describe",
|
|
6008
|
-
"name": "when the menu is opened",
|
|
6009
|
-
"children": [
|
|
6010
|
-
{
|
|
6011
|
-
"type": "describe",
|
|
6012
|
-
"name": "the menu",
|
|
6013
|
-
"children": [
|
|
6014
|
-
{
|
|
6015
|
-
"type": "it",
|
|
6016
|
-
"name": "should set assistive focus to the first option (\"E-mail\")"
|
|
6017
|
-
}
|
|
6018
|
-
]
|
|
6019
|
-
},
|
|
6020
|
-
{
|
|
6021
|
-
"type": "describe",
|
|
6022
|
-
"name": "when focus is advanced to the second option (\"Phone\")",
|
|
6023
|
-
"children": [
|
|
6024
|
-
{
|
|
6025
|
-
"type": "describe",
|
|
6026
|
-
"name": "the menu",
|
|
6027
|
-
"children": [
|
|
6028
|
-
{
|
|
6029
|
-
"type": "it",
|
|
6030
|
-
"name": "should set assistive focus to the second option (\"Phone\")"
|
|
6031
|
-
}
|
|
6032
|
-
]
|
|
6033
|
-
},
|
|
6034
|
-
{
|
|
6035
|
-
"type": "describe",
|
|
6036
|
-
"name": "when the menu is closed WITHOUT selecting the newly focused option (\"Phone\")",
|
|
6037
|
-
"children": [
|
|
6038
|
-
{
|
|
6039
|
-
"type": "describe",
|
|
6040
|
-
"name": "when the menu is re-opened AFTER it has fully closed",
|
|
6041
|
-
"children": [
|
|
6042
|
-
{
|
|
6043
|
-
"type": "describe",
|
|
6044
|
-
"name": "the menu",
|
|
6045
|
-
"children": [
|
|
6046
|
-
{
|
|
6047
|
-
"type": "it",
|
|
6048
|
-
"name": "should have reset assistive focus to the first option (\"E-mail\")"
|
|
6049
|
-
}
|
|
6050
|
-
]
|
|
6051
|
-
}
|
|
6052
|
-
]
|
|
6053
|
-
},
|
|
6054
|
-
{
|
|
6055
|
-
"type": "describe",
|
|
6056
|
-
"name": "when the menu is re-opened BEFORE it has fully closed",
|
|
6057
|
-
"children": [
|
|
6058
|
-
{
|
|
6059
|
-
"type": "describe",
|
|
6060
|
-
"name": "the menu",
|
|
6061
|
-
"children": [
|
|
6062
|
-
{
|
|
6063
|
-
"type": "it",
|
|
6064
|
-
"name": "should still have assistive focus set to the second option (\"Phone\")"
|
|
6065
|
-
}
|
|
6066
|
-
]
|
|
6067
|
-
}
|
|
6068
|
-
]
|
|
6069
|
-
}
|
|
6070
|
-
]
|
|
6071
|
-
}
|
|
6072
|
-
]
|
|
6073
|
-
}
|
|
6074
|
-
]
|
|
6075
|
-
}
|
|
6076
|
-
]
|
|
6077
|
-
},
|
|
6078
|
-
{
|
|
6079
|
-
"type": "describe",
|
|
6080
|
-
"name": "given the \"Disabled\" story is rendered",
|
|
6081
|
-
"children": [
|
|
6082
|
-
{
|
|
6083
|
-
"type": "it",
|
|
6084
|
-
"name": "should not have any axe errors"
|
|
6085
|
-
},
|
|
6086
|
-
{
|
|
6087
|
-
"type": "describe",
|
|
6088
|
-
"name": "the select button",
|
|
6089
|
-
"children": [
|
|
6090
|
-
{
|
|
6091
|
-
"type": "it",
|
|
6092
|
-
"name": "should be disabled"
|
|
6093
|
-
}
|
|
6094
|
-
]
|
|
6095
|
-
}
|
|
6096
|
-
]
|
|
6097
|
-
},
|
|
6098
|
-
{
|
|
6099
|
-
"type": "describe",
|
|
6100
|
-
"name": "given the \"Disabled Options Test\" story is rendered",
|
|
6101
|
-
"children": [
|
|
6102
|
-
{
|
|
6103
|
-
"type": "describe",
|
|
6104
|
-
"name": "when the menu is opened",
|
|
6105
|
-
"children": [
|
|
6106
|
-
{
|
|
6107
|
-
"type": "describe",
|
|
6108
|
-
"name": "the \"Carrier Pigeon\" option",
|
|
6109
|
-
"children": [
|
|
6110
|
-
{
|
|
6111
|
-
"type": "it",
|
|
6112
|
-
"name": "should have an aria-disabled attribute set to \"true\""
|
|
6113
|
-
}
|
|
6114
|
-
]
|
|
6115
|
-
},
|
|
6116
|
-
{
|
|
6117
|
-
"type": "describe",
|
|
6118
|
-
"name": "when the down arrow key is pressed",
|
|
6119
|
-
"children": [
|
|
6120
|
-
{
|
|
6121
|
-
"type": "describe",
|
|
6122
|
-
"name": "the menu",
|
|
6123
|
-
"children": [
|
|
6124
|
-
{
|
|
6125
|
-
"type": "it",
|
|
6126
|
-
"name": "should set assistive focus to first enabled option (\"E-mail\")"
|
|
6127
|
-
}
|
|
6128
|
-
]
|
|
6129
|
-
},
|
|
6130
|
-
{
|
|
6131
|
-
"type": "describe",
|
|
6132
|
-
"name": "when the up arrow key is pressed",
|
|
6133
|
-
"children": [
|
|
6134
|
-
{
|
|
6135
|
-
"type": "describe",
|
|
6136
|
-
"name": "the menu",
|
|
6137
|
-
"children": [
|
|
6138
|
-
{
|
|
6139
|
-
"type": "it",
|
|
6140
|
-
"name": "should retain assistive focus on the \"E-mail\" option since the previous option (\"Carrier Pigeon\", which also happens to be the first option) is disabled"
|
|
6141
|
-
}
|
|
6142
|
-
]
|
|
6143
|
-
}
|
|
6144
|
-
]
|
|
6145
|
-
},
|
|
6146
|
-
{
|
|
6147
|
-
"type": "describe",
|
|
6148
|
-
"name": "when the down arrow key is pressed 2 more times",
|
|
6149
|
-
"children": [
|
|
6150
|
-
{
|
|
6151
|
-
"type": "describe",
|
|
6152
|
-
"name": "the menu",
|
|
6153
|
-
"children": [
|
|
6154
|
-
{
|
|
6155
|
-
"type": "it",
|
|
6156
|
-
"name": "should set assistive focus to the third option down (\"Mail\") since focus will have skipped one disabled option (\"Fax\")"
|
|
6157
|
-
}
|
|
6158
|
-
]
|
|
6159
|
-
},
|
|
6160
|
-
{
|
|
6161
|
-
"type": "describe",
|
|
6162
|
-
"name": "when the down arrow key is pressed 2 more times",
|
|
6163
|
-
"children": [
|
|
6164
|
-
{
|
|
6165
|
-
"type": "describe",
|
|
6166
|
-
"name": "the menu",
|
|
6167
|
-
"children": [
|
|
6168
|
-
{
|
|
6169
|
-
"type": "it",
|
|
6170
|
-
"name": "should set assistive focus to the first option down (\"Mobile Phone\") since the second option down (\"Telegram\", which also happens to be the last option) is disabled"
|
|
6171
|
-
}
|
|
6172
|
-
]
|
|
6173
|
-
}
|
|
6174
|
-
]
|
|
6175
|
-
}
|
|
6176
|
-
]
|
|
6177
|
-
}
|
|
6178
|
-
]
|
|
6179
|
-
},
|
|
6180
|
-
{
|
|
6181
|
-
"type": "describe",
|
|
6182
|
-
"name": "when the Home key is pressed",
|
|
6183
|
-
"children": [
|
|
6184
|
-
{
|
|
6185
|
-
"type": "describe",
|
|
6186
|
-
"name": "the menu",
|
|
6187
|
-
"children": [
|
|
6188
|
-
{
|
|
6189
|
-
"type": "it",
|
|
6190
|
-
"name": "should set assistive focus to the first enabled option (\"E-mail\")"
|
|
6191
|
-
}
|
|
6192
|
-
]
|
|
6193
|
-
}
|
|
6194
|
-
]
|
|
6195
|
-
},
|
|
6196
|
-
{
|
|
6197
|
-
"type": "describe",
|
|
6198
|
-
"name": "when the End key is pressed",
|
|
6199
|
-
"children": [
|
|
6200
|
-
{
|
|
6201
|
-
"type": "describe",
|
|
6202
|
-
"name": "the menu",
|
|
6203
|
-
"children": [
|
|
6204
|
-
{
|
|
6205
|
-
"type": "it",
|
|
6206
|
-
"name": "should set assistive focus to the last enabled option (\"Mobile Phone\")"
|
|
6207
|
-
}
|
|
6208
|
-
]
|
|
6209
|
-
}
|
|
6210
|
-
]
|
|
6211
|
-
}
|
|
6212
|
-
]
|
|
6213
|
-
}
|
|
6214
|
-
]
|
|
6215
|
-
},
|
|
6216
|
-
{
|
|
6217
|
-
"type": "describe",
|
|
6218
|
-
"name": "given the \"Scrollable\" story is rendered",
|
|
6219
|
-
"children": [
|
|
6220
|
-
{
|
|
6221
|
-
"type": "describe",
|
|
6222
|
-
"name": "when the select button is focused",
|
|
6223
|
-
"children": [
|
|
6224
|
-
{
|
|
6225
|
-
"type": "describe",
|
|
6226
|
-
"name": "when a character is typed (provided no other characters have been typed in the last 500ms), the select should select the first matching option beyond the currently selected option (cycling back to the beginning of the options if necessary)",
|
|
6227
|
-
"children": [
|
|
6228
|
-
{
|
|
6229
|
-
"type": "describe",
|
|
6230
|
-
"name": "when \"s\" is typed",
|
|
6231
|
-
"children": [
|
|
6232
|
-
{
|
|
6233
|
-
"type": "describe",
|
|
6234
|
-
"name": "the select button",
|
|
6235
|
-
"children": [
|
|
6236
|
-
{
|
|
6237
|
-
"type": "it",
|
|
6238
|
-
"name": "should read the first option beginning with \"s\" (\"San Francisco (United States)\")"
|
|
6239
|
-
},
|
|
6240
|
-
{
|
|
6241
|
-
"type": "it",
|
|
6242
|
-
"name": "should have a value of \"san-francisco\""
|
|
6243
|
-
}
|
|
6244
|
-
]
|
|
6245
|
-
}
|
|
6246
|
-
]
|
|
6247
|
-
},
|
|
6248
|
-
{
|
|
6249
|
-
"type": "describe",
|
|
6250
|
-
"name": "when \"s{500ms delay}s\" is typed",
|
|
6251
|
-
"children": [
|
|
6252
|
-
{
|
|
6253
|
-
"type": "describe",
|
|
6254
|
-
"name": "the select button",
|
|
6255
|
-
"children": [
|
|
6256
|
-
{
|
|
6257
|
-
"type": "it",
|
|
6258
|
-
"name": "should read the second option beginning with \"s\" (\"San Mateo (United States)\")"
|
|
6259
|
-
}
|
|
6260
|
-
]
|
|
6261
|
-
}
|
|
6262
|
-
]
|
|
6263
|
-
},
|
|
6264
|
-
{
|
|
6265
|
-
"type": "describe",
|
|
6266
|
-
"name": "when \"s{500ms delay}d\" is typed",
|
|
6267
|
-
"children": [
|
|
6268
|
-
{
|
|
6269
|
-
"type": "describe",
|
|
6270
|
-
"name": "the select button",
|
|
6271
|
-
"children": [
|
|
6272
|
-
{
|
|
6273
|
-
"type": "it",
|
|
6274
|
-
"name": "should read the first option beginning with \"d\" (\"Dallas (United States)\")"
|
|
6275
|
-
}
|
|
6276
|
-
]
|
|
6277
|
-
}
|
|
6278
|
-
]
|
|
6279
|
-
}
|
|
6280
|
-
]
|
|
6281
|
-
},
|
|
6282
|
-
{
|
|
6283
|
-
"type": "describe",
|
|
6284
|
-
"name": "when multiple characters are typed in rapid succession (<500ms between keystrokes), thus forming a string, and multiple options begin with that string, the select should retain the currently selected option for as long as possible (instead of cycling selection between matching options with each keystroke)",
|
|
6285
|
-
"children": [
|
|
6286
|
-
{
|
|
6287
|
-
"type": "describe",
|
|
6288
|
-
"name": "when \"sa\" is typed",
|
|
6289
|
-
"children": [
|
|
6290
|
-
{
|
|
6291
|
-
"type": "describe",
|
|
6292
|
-
"name": "the select button",
|
|
6293
|
-
"children": [
|
|
6294
|
-
{
|
|
6295
|
-
"type": "it",
|
|
6296
|
-
"name": "should read \"San Francisco (United States)\""
|
|
6297
|
-
}
|
|
6298
|
-
]
|
|
6299
|
-
}
|
|
6300
|
-
]
|
|
6301
|
-
},
|
|
6302
|
-
{
|
|
6303
|
-
"type": "describe",
|
|
6304
|
-
"name": "when \"san \" is typed",
|
|
6305
|
-
"children": [
|
|
6306
|
-
{
|
|
6307
|
-
"type": "describe",
|
|
6308
|
-
"name": "the select button",
|
|
6309
|
-
"children": [
|
|
6310
|
-
{
|
|
6311
|
-
"type": "it",
|
|
6312
|
-
"name": "should read \"San Francisco (United States)\""
|
|
6313
|
-
}
|
|
6314
|
-
]
|
|
6315
|
-
}
|
|
6316
|
-
]
|
|
6317
|
-
},
|
|
6318
|
-
{
|
|
6319
|
-
"type": "describe",
|
|
6320
|
-
"name": "when \"san m\" is typed",
|
|
6321
|
-
"children": [
|
|
6322
|
-
{
|
|
6323
|
-
"type": "describe",
|
|
6324
|
-
"name": "the select button",
|
|
6325
|
-
"children": [
|
|
6326
|
-
{
|
|
6327
|
-
"type": "it",
|
|
6328
|
-
"name": "should read \"San Mateo (United States)\""
|
|
6329
|
-
}
|
|
6330
|
-
]
|
|
6331
|
-
}
|
|
6332
|
-
]
|
|
6333
|
-
}
|
|
6334
|
-
]
|
|
6335
|
-
}
|
|
6336
|
-
]
|
|
6337
|
-
},
|
|
6338
|
-
{
|
|
6339
|
-
"type": "describe",
|
|
6340
|
-
"name": "when the menu is opened",
|
|
6341
|
-
"children": [
|
|
6342
|
-
{
|
|
6343
|
-
"type": "describe",
|
|
6344
|
-
"name": "when a character is typed (provided no other characters have been typed in the last 500ms), the select should advance assistive focus to the first matching option beyond the currently selected option (cycling back to the beginning of the options if necessary) and scroll that option into view",
|
|
6345
|
-
"children": [
|
|
6346
|
-
{
|
|
6347
|
-
"type": "describe",
|
|
6348
|
-
"name": "when \"s\" is typed",
|
|
6349
|
-
"children": [
|
|
6350
|
-
{
|
|
6351
|
-
"type": "describe",
|
|
6352
|
-
"name": "the menu",
|
|
6353
|
-
"children": [
|
|
6354
|
-
{
|
|
6355
|
-
"type": "it",
|
|
6356
|
-
"name": "should set assistive focus to the first option beginning with \"s\" (\"San Francisco (United States)\")"
|
|
6357
|
-
},
|
|
6358
|
-
{
|
|
6359
|
-
"type": "it",
|
|
6360
|
-
"name": "should scroll so that the \"San Francisco (United States)\" option is fully visible"
|
|
6361
|
-
}
|
|
6362
|
-
]
|
|
6363
|
-
}
|
|
6364
|
-
]
|
|
6365
|
-
},
|
|
6366
|
-
{
|
|
6367
|
-
"type": "describe",
|
|
6368
|
-
"name": "when \"s{500ms delay}s\" is typed",
|
|
6369
|
-
"children": [
|
|
6370
|
-
{
|
|
6371
|
-
"type": "describe",
|
|
6372
|
-
"name": "the menu",
|
|
6373
|
-
"children": [
|
|
6374
|
-
{
|
|
6375
|
-
"type": "it",
|
|
6376
|
-
"name": "should set assistive focus to the second option beginning with \"s\" (\"San Mateo (United States)\")"
|
|
6377
|
-
},
|
|
6378
|
-
{
|
|
6379
|
-
"type": "it",
|
|
6380
|
-
"name": "should scroll so that the \"San Mateo (United States)\" option is fully visible"
|
|
6381
|
-
}
|
|
6382
|
-
]
|
|
6383
|
-
}
|
|
6384
|
-
]
|
|
6385
|
-
},
|
|
6386
|
-
{
|
|
6387
|
-
"type": "describe",
|
|
6388
|
-
"name": "when \"s{500ms delay}d\" is typed",
|
|
6389
|
-
"children": [
|
|
6390
|
-
{
|
|
6391
|
-
"type": "describe",
|
|
6392
|
-
"name": "the menu",
|
|
6393
|
-
"children": [
|
|
6394
|
-
{
|
|
6395
|
-
"type": "it",
|
|
6396
|
-
"name": "should set assistive focus to the first option beginning with \"d\" (\"Dallas (United States)\")"
|
|
6397
|
-
},
|
|
6398
|
-
{
|
|
6399
|
-
"type": "it",
|
|
6400
|
-
"name": "should scroll so that the \"Dallas (United States)\" option is fully visible"
|
|
6401
|
-
}
|
|
6402
|
-
]
|
|
6403
|
-
}
|
|
6404
|
-
]
|
|
6405
|
-
},
|
|
6406
|
-
{
|
|
6407
|
-
"type": "describe",
|
|
6408
|
-
"name": "when \"the onto\" is typed",
|
|
6409
|
-
"children": [
|
|
6410
|
-
{
|
|
6411
|
-
"type": "describe",
|
|
6412
|
-
"name": "the menu",
|
|
6413
|
-
"children": [
|
|
6414
|
-
{
|
|
6415
|
-
"type": "it",
|
|
6416
|
-
"name": "should set assistive focus to \"The Ontologically...\""
|
|
6417
|
-
},
|
|
6418
|
-
{
|
|
6419
|
-
"type": "it",
|
|
6420
|
-
"name": "should scroll so that the \"The Ontologically...\" (text wrapped) option is fully visible"
|
|
6421
|
-
}
|
|
6422
|
-
]
|
|
6423
|
-
}
|
|
6424
|
-
]
|
|
6425
|
-
}
|
|
6426
|
-
]
|
|
6427
|
-
},
|
|
6428
|
-
{
|
|
6429
|
-
"type": "describe",
|
|
6430
|
-
"name": "when multiple characters are typed in rapid succession (<500ms between keystrokes), thus forming a string, and multiple options begin with that string, the select should retain assistive focus on the currently focused option for as long as possible (instead of cycling focus between matching options with each keystroke)",
|
|
6431
|
-
"children": [
|
|
6432
|
-
{
|
|
6433
|
-
"type": "describe",
|
|
6434
|
-
"name": "when \"sa\" is typed",
|
|
6435
|
-
"children": [
|
|
6436
|
-
{
|
|
6437
|
-
"type": "describe",
|
|
6438
|
-
"name": "the menu",
|
|
6439
|
-
"children": [
|
|
6440
|
-
{
|
|
6441
|
-
"type": "it",
|
|
6442
|
-
"name": "should set assistive focus to the \"San Francisco (United States)\" option"
|
|
6443
|
-
}
|
|
6444
|
-
]
|
|
6445
|
-
}
|
|
6446
|
-
]
|
|
6447
|
-
},
|
|
6448
|
-
{
|
|
6449
|
-
"type": "describe",
|
|
6450
|
-
"name": "when \"san \" is typed",
|
|
6451
|
-
"children": [
|
|
6452
|
-
{
|
|
6453
|
-
"type": "describe",
|
|
6454
|
-
"name": "the menu",
|
|
6455
|
-
"children": [
|
|
6456
|
-
{
|
|
6457
|
-
"type": "it",
|
|
6458
|
-
"name": "should set assistive focus to the \"San Francisco (United States)\" option"
|
|
6459
|
-
}
|
|
6460
|
-
]
|
|
6461
|
-
}
|
|
6462
|
-
]
|
|
6463
|
-
},
|
|
6464
|
-
{
|
|
6465
|
-
"type": "describe",
|
|
6466
|
-
"name": "when \"san m\" is typed",
|
|
6467
|
-
"children": [
|
|
6468
|
-
{
|
|
6469
|
-
"type": "describe",
|
|
6470
|
-
"name": "the menu",
|
|
6471
|
-
"children": [
|
|
6472
|
-
{
|
|
6473
|
-
"type": "it",
|
|
6474
|
-
"name": "should set assistive focus to the \"San Mateo (United States)\" option"
|
|
6475
|
-
}
|
|
6476
|
-
]
|
|
6477
|
-
}
|
|
6478
|
-
]
|
|
6479
|
-
}
|
|
6480
|
-
]
|
|
6481
|
-
}
|
|
6482
|
-
]
|
|
6483
|
-
},
|
|
6484
|
-
{
|
|
6485
|
-
"type": "describe",
|
|
6486
|
-
"name": "when the menu is opened and the selected option is initially out of view, the menu should scroll the selected option into view and center it if possible",
|
|
6487
|
-
"children": [
|
|
6488
|
-
{
|
|
6489
|
-
"type": "describe",
|
|
6490
|
-
"name": "when \"Dallas (United States)\" is selected and the menu is opened",
|
|
6491
|
-
"children": [
|
|
6492
|
-
{
|
|
6493
|
-
"type": "describe",
|
|
6494
|
-
"name": "the menu",
|
|
6495
|
-
"children": [
|
|
6496
|
-
{
|
|
6497
|
-
"type": "it",
|
|
6498
|
-
"name": "should scroll so that the \"Dallas (United States)\" option is centered in view"
|
|
6499
|
-
}
|
|
6500
|
-
]
|
|
6501
|
-
}
|
|
6502
|
-
]
|
|
6503
|
-
},
|
|
6504
|
-
{
|
|
6505
|
-
"type": "describe",
|
|
6506
|
-
"name": "when \"The Ontologically...\" (text wrapped) is selected and the menu is opened",
|
|
6507
|
-
"children": [
|
|
6508
|
-
{
|
|
6509
|
-
"type": "describe",
|
|
6510
|
-
"name": "the menu",
|
|
6511
|
-
"children": [
|
|
6512
|
-
{
|
|
6513
|
-
"type": "it",
|
|
6514
|
-
"name": "should scroll so that the \"The Ontologically...\" option is centered in view"
|
|
6515
|
-
}
|
|
6516
|
-
]
|
|
6517
|
-
}
|
|
6518
|
-
]
|
|
6519
|
-
}
|
|
6520
|
-
]
|
|
6521
|
-
}
|
|
6522
|
-
]
|
|
6523
|
-
},
|
|
6524
|
-
{
|
|
6525
|
-
"type": "describe",
|
|
6526
|
-
"name": "given the \"Portal Test\" story is rendered",
|
|
6527
|
-
"children": [
|
|
6528
|
-
{
|
|
6529
|
-
"type": "describe",
|
|
6530
|
-
"name": "when the page is scrolled to the bottom",
|
|
6531
|
-
"children": [
|
|
6532
|
-
{
|
|
6533
|
-
"type": "describe",
|
|
6534
|
-
"name": "when the bottommost select button is clicked",
|
|
6535
|
-
"children": [
|
|
6536
|
-
{
|
|
6537
|
-
"type": "describe",
|
|
6538
|
-
"name": "the page",
|
|
6539
|
-
"children": [
|
|
6540
|
-
{
|
|
6541
|
-
"type": "it",
|
|
6542
|
-
"name": "should not scroll"
|
|
6543
|
-
}
|
|
6544
|
-
]
|
|
6545
|
-
}
|
|
6546
|
-
]
|
|
6547
|
-
},
|
|
6548
|
-
{
|
|
6549
|
-
"type": "describe",
|
|
6550
|
-
"name": "when the blur test button is clicked and then the bottommost select button (which is re-rendered by the test button's blur handler) is clicked",
|
|
6551
|
-
"children": [
|
|
6552
|
-
{
|
|
6553
|
-
"type": "describe",
|
|
6554
|
-
"name": "the page",
|
|
6555
|
-
"children": [
|
|
6556
|
-
{
|
|
6557
|
-
"type": "it",
|
|
6558
|
-
"name": "should not scroll"
|
|
6559
|
-
}
|
|
6560
|
-
]
|
|
6561
|
-
}
|
|
6562
|
-
]
|
|
6563
|
-
}
|
|
6564
|
-
]
|
|
6565
|
-
}
|
|
6566
|
-
]
|
|
6567
|
-
},
|
|
6568
|
-
{
|
|
6569
|
-
"type": "describe",
|
|
6570
|
-
"name": "given the \"Accessibility Test\" story is rendered",
|
|
6571
|
-
"children": [
|
|
6572
|
-
{
|
|
6573
|
-
"type": "describe",
|
|
6574
|
-
"name": "when the select button with aria-required set to true is clicked",
|
|
6575
|
-
"children": [
|
|
6576
|
-
{
|
|
6577
|
-
"type": "describe",
|
|
6578
|
-
"name": "the menu",
|
|
6579
|
-
"children": [
|
|
6580
|
-
{
|
|
6581
|
-
"type": "it",
|
|
6582
|
-
"name": "should have an aria-required attribute set to \"true\""
|
|
6583
|
-
}
|
|
6584
|
-
]
|
|
6585
|
-
}
|
|
6586
|
-
]
|
|
6587
|
-
},
|
|
6588
|
-
{
|
|
6589
|
-
"type": "describe",
|
|
6590
|
-
"name": "when the select button with required set to true is clicked",
|
|
6591
|
-
"children": [
|
|
6592
|
-
{
|
|
6593
|
-
"type": "describe",
|
|
6594
|
-
"name": "the menu",
|
|
6595
|
-
"children": [
|
|
6596
|
-
{
|
|
6597
|
-
"type": "it",
|
|
6598
|
-
"name": "should have an aria-required attribute set to \"true\""
|
|
6599
|
-
}
|
|
6600
|
-
]
|
|
6601
|
-
}
|
|
6602
|
-
]
|
|
6603
|
-
}
|
|
6604
|
-
]
|
|
6605
|
-
}
|
|
6606
|
-
]
|
|
6607
|
-
}
|
|
6608
|
-
]
|
|
6609
|
-
},
|
|
6610
5040
|
{
|
|
6611
5041
|
"type": "file",
|
|
6612
5042
|
"name": "SidePanelPreview.spec.ts",
|