@fkui/vue 5.36.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/LICENSE.md +7 -0
- package/README.md +3 -0
- package/dist/cjs/index.cjs.js +896 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/pageobject.js +1692 -0
- package/dist/cjs/pageobject.js.map +7 -0
- package/dist/esm/index.esm.js +896 -0
- package/dist/esm/index.esm.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/types/index.d.ts +9441 -0
- package/dist/types/pageobject.d.ts +1028 -0
- package/dist/types/tsdoc-metadata.json +11 -0
- package/htmlvalidate/configs/index.js +5 -0
- package/htmlvalidate/configs/recommended.js +17 -0
- package/htmlvalidate/cypress.d.ts +2 -0
- package/htmlvalidate/cypress.js +18 -0
- package/htmlvalidate/elements/components.js +1476 -0
- package/htmlvalidate/elements/internal-components.js +240 -0
- package/htmlvalidate/elements/overrides.js +9 -0
- package/htmlvalidate/index.d.ts +4 -0
- package/htmlvalidate/index.js +10 -0
- package/htmlvalidate/rules/buttongroup.rule.js +42 -0
- package/htmlvalidate/rules/classdeprecated.rule.js +32 -0
- package/htmlvalidate/rules/common.js +15 -0
- package/htmlvalidate/rules/deprecated-validator.js +63 -0
- package/htmlvalidate/rules/ftextfieldFormatterValidation.rule.js +102 -0
- package/htmlvalidate/rules/index.js +15 -0
- package/htmlvalidate/rules/prefer-ficon.rule.js +36 -0
- package/htmlvalidate/rules/requiredmaxlength.rule.js +96 -0
- package/package.json +113 -0
- package/pageobject.d.ts +1 -0
- package/pageobject.js +1 -0
- package/tsconfig-consumer.json +12 -0
|
@@ -0,0 +1,1028 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PageObject for element created by alertScreenReader.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class AlertScreenReaderPageObject implements BasePageObject {
|
|
7
|
+
selector: string;
|
|
8
|
+
/**
|
|
9
|
+
* Returns the alertScreenReader element with text.
|
|
10
|
+
*/
|
|
11
|
+
el(): DefaultCypressChainable;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare interface BasePageObject {
|
|
18
|
+
/**
|
|
19
|
+
* The selector that is used.
|
|
20
|
+
*/
|
|
21
|
+
selector: string;
|
|
22
|
+
/**
|
|
23
|
+
* The element.
|
|
24
|
+
*/
|
|
25
|
+
el: () => DefaultCypressChainable;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Calendar pageobject and functions for accessing days, and navigation in the calendar day view
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class CalendarPageObject implements BasePageObject {
|
|
34
|
+
selector: string;
|
|
35
|
+
navigationBar: ICalendarNavbarPageObject;
|
|
36
|
+
constructor(selector: string);
|
|
37
|
+
el(): DefaultCypressChainable;
|
|
38
|
+
/**
|
|
39
|
+
* return the weeknumbers surrounding the days in the calendar
|
|
40
|
+
*/
|
|
41
|
+
weekNumbers(): DefaultCypressChainable;
|
|
42
|
+
/**
|
|
43
|
+
* return the weekday names surrounding the days in the calendar
|
|
44
|
+
*/
|
|
45
|
+
headerCells(): DefaultCypressChainable;
|
|
46
|
+
/**
|
|
47
|
+
* Day to select in the calendar day-view via day number
|
|
48
|
+
*/
|
|
49
|
+
dayButton(day?: number): DefaultCypressChainable;
|
|
50
|
+
day(day?: number): FCalenderDayPageobject;
|
|
51
|
+
/**
|
|
52
|
+
* Uses the calendar navigation bar navigate to selected year and month
|
|
53
|
+
* jan = 0, dec = 11
|
|
54
|
+
* @param targetYear - Selected year
|
|
55
|
+
* @param targetMonth - Selected month 0-11, 0 = Jan 11 = dec
|
|
56
|
+
*/
|
|
57
|
+
navigateTo(targetYear: number, targetMonth: number): void;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare enum dayType {
|
|
64
|
+
day = "calendar-day",
|
|
65
|
+
highlight = "calendar-day--highlight",
|
|
66
|
+
selected = "calendar-day--selected",
|
|
67
|
+
disabled = "calendar-day--disabled"
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare type DefaultCypressChainable = Cypress.Chainable<JQuery<HTMLElement>>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class FBadgePageObject implements BasePageObject {
|
|
79
|
+
selector: string;
|
|
80
|
+
/**
|
|
81
|
+
* @param selector - the root of the badge.
|
|
82
|
+
*/
|
|
83
|
+
constructor(selector: string);
|
|
84
|
+
el(): DefaultCypressChainable;
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated Use assertion `label().should('trimmedText', '...')` instead.
|
|
87
|
+
*/
|
|
88
|
+
trimmedText(): Cypress.Chainable<string>;
|
|
89
|
+
status(): Cypress.Chainable<string>;
|
|
90
|
+
isInverted(): Cypress.Chainable<boolean>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class FCalenderDayPageobject implements BasePageObject {
|
|
97
|
+
selector: string;
|
|
98
|
+
constructor(selector: string);
|
|
99
|
+
el(): DefaultCypressChainable;
|
|
100
|
+
number(): DefaultCypressChainable;
|
|
101
|
+
srOnly(): DefaultCypressChainable;
|
|
102
|
+
button(): Cypress.Chainable<JQuery<HTMLButtonElement>>;
|
|
103
|
+
click(): Cypress.Chainable<JQuery<HTMLButtonElement>>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
declare class FCheckboxFieldPageObject implements BasePageObject {
|
|
110
|
+
selector: string;
|
|
111
|
+
el: () => DefaultCypressChainable;
|
|
112
|
+
/**
|
|
113
|
+
* @param selector - the root of the checkbox, usually `<div class="checkbox">...</div>`.
|
|
114
|
+
* @param index - the index of matched radiobuttons
|
|
115
|
+
*/
|
|
116
|
+
constructor(selector: string, index?: number);
|
|
117
|
+
checkbox(): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
118
|
+
label(): DefaultCypressChainable;
|
|
119
|
+
/**
|
|
120
|
+
* @deprecated Use assertion `label().should('trimmedText', '...')` instead.
|
|
121
|
+
*/
|
|
122
|
+
trimmedText(): Cypress.Chainable<string>;
|
|
123
|
+
select(): DefaultCypressChainable;
|
|
124
|
+
isSelected(): Cypress.Chainable<boolean>;
|
|
125
|
+
value(): Cypress.Chainable<string>;
|
|
126
|
+
details(): DefaultCypressChainable;
|
|
127
|
+
}
|
|
128
|
+
export { FCheckboxFieldPageObject }
|
|
129
|
+
export { FCheckboxFieldPageObject as FCheckboxGroupFieldPageObject }
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class FCheckboxGroupPageObject implements BasePageObject {
|
|
135
|
+
selector: string;
|
|
136
|
+
el: () => DefaultCypressChainable;
|
|
137
|
+
label: FLabelPageObject;
|
|
138
|
+
tooltip: FTooltipPageObject;
|
|
139
|
+
/**
|
|
140
|
+
* @param selector - the root of the checkbox group, usually `<div class="checkbox-group">...</div>`.
|
|
141
|
+
*/
|
|
142
|
+
constructor(selector: string);
|
|
143
|
+
content(): DefaultCypressChainable;
|
|
144
|
+
checkBox(checkboxSelector: string): FCheckboxFieldPageObject;
|
|
145
|
+
numberOfCheckboxes(): Cypress.Chainable<number>;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export declare class FContextMenuPageObject implements BasePageObject {
|
|
152
|
+
selector: string;
|
|
153
|
+
el(): DefaultCypressChainable;
|
|
154
|
+
/**
|
|
155
|
+
* @param selector - the root of the page header, usually `<nav class="contextmenu">...</nav>`.
|
|
156
|
+
*/
|
|
157
|
+
constructor(selector: string);
|
|
158
|
+
/**
|
|
159
|
+
* Get all items in the FContextMenu
|
|
160
|
+
* @returns all items
|
|
161
|
+
*/
|
|
162
|
+
items(): DefaultCypressChainable;
|
|
163
|
+
/**
|
|
164
|
+
* Get the item at position index in the FContextMenu
|
|
165
|
+
*
|
|
166
|
+
* @param index - the position index in the item array
|
|
167
|
+
* @returns Menu item with given index
|
|
168
|
+
*/
|
|
169
|
+
item(index: number): DefaultCypressChainable;
|
|
170
|
+
/**
|
|
171
|
+
* Get link for item at index
|
|
172
|
+
*
|
|
173
|
+
* @param index - the position index in the item array
|
|
174
|
+
* @returns link with given index
|
|
175
|
+
*/
|
|
176
|
+
getItemLink(index: number): DefaultCypressChainable;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export declare class FCrudDatasetPageObject implements BasePageObject {
|
|
183
|
+
selector: string;
|
|
184
|
+
el: () => DefaultCypressChainable;
|
|
185
|
+
form: FValidationFormPageObject;
|
|
186
|
+
constructor(selector: string);
|
|
187
|
+
addButton(): DefaultCypressChainable;
|
|
188
|
+
cancelButton(): DefaultCypressChainable;
|
|
189
|
+
confirmButton(): DefaultCypressChainable;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export declare class FDatepickerFieldPageobject implements BasePageObject {
|
|
196
|
+
selector: string;
|
|
197
|
+
private textField;
|
|
198
|
+
private calendarNavbar;
|
|
199
|
+
constructor(selector: string);
|
|
200
|
+
el(): DefaultCypressChainable;
|
|
201
|
+
input(): DefaultCypressChainable;
|
|
202
|
+
textFieldErrorMessage(): DefaultCypressChainable;
|
|
203
|
+
toggleCalendarButton(): DefaultCypressChainable;
|
|
204
|
+
closeCalendarButton(): DefaultCypressChainable;
|
|
205
|
+
popup(): DefaultCypressChainable;
|
|
206
|
+
calendar(): DefaultCypressChainable;
|
|
207
|
+
calendarCaption(): DefaultCypressChainable;
|
|
208
|
+
navPrevButton(): DefaultCypressChainable;
|
|
209
|
+
navNextButton(): DefaultCypressChainable;
|
|
210
|
+
dayButton(date: string): DefaultCypressChainable;
|
|
211
|
+
disabledDay(date: string): DefaultCypressChainable;
|
|
212
|
+
selectedDay(): DefaultCypressChainable;
|
|
213
|
+
highlightedDay(): DefaultCypressChainable;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export declare class FDialogueTreeItemPageObject implements BasePageObject {
|
|
220
|
+
selector: string;
|
|
221
|
+
el: () => DefaultCypressChainable;
|
|
222
|
+
constructor(selector: string);
|
|
223
|
+
title(): DefaultCypressChainable;
|
|
224
|
+
button(): DefaultCypressChainable;
|
|
225
|
+
select(): DefaultCypressChainable;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export declare class FDialogueTreePageObject implements BasePageObject {
|
|
232
|
+
selector: string;
|
|
233
|
+
el: () => DefaultCypressChainable;
|
|
234
|
+
constructor(selector: string);
|
|
235
|
+
options(): DefaultCypressChainable;
|
|
236
|
+
option(index: number): FDialogueTreeItemPageObject;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* pageobject for the FErrorList component
|
|
241
|
+
*
|
|
242
|
+
* @public
|
|
243
|
+
* @param selector - CSS selector for the FErrorList object
|
|
244
|
+
*/
|
|
245
|
+
export declare class FErrorListPageObject {
|
|
246
|
+
selector: string;
|
|
247
|
+
el: () => DefaultCypressChainable;
|
|
248
|
+
/**
|
|
249
|
+
* @param selector - the root of the errorlist.
|
|
250
|
+
*/
|
|
251
|
+
constructor(selector: string);
|
|
252
|
+
/**
|
|
253
|
+
* Get `li` elements. Verify count using `.should("have.length", N)`.
|
|
254
|
+
*/
|
|
255
|
+
listItems(): DefaultCypressChainable;
|
|
256
|
+
/**
|
|
257
|
+
* Get `a` elements. Verify count using `.should("have.length", N)`.
|
|
258
|
+
*/
|
|
259
|
+
links(): DefaultCypressChainable;
|
|
260
|
+
getLink(index: number): DefaultCypressChainable;
|
|
261
|
+
getLinkByName(error: string): Cypress.Chainable<Cypress.Chainable<JQuery<HTMLElement>> | HTMLElement>;
|
|
262
|
+
hasError(error: string): Cypress.Chainable<boolean>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
export declare class FExpandablePanelPageObject implements BasePageObject {
|
|
269
|
+
selector: string;
|
|
270
|
+
el: () => DefaultCypressChainable;
|
|
271
|
+
expandCollapseIcon: () => DefaultCypressChainable;
|
|
272
|
+
header: () => DefaultCypressChainable;
|
|
273
|
+
body: () => DefaultCypressChainable;
|
|
274
|
+
notificationIcon: () => DefaultCypressChainable;
|
|
275
|
+
relatedInfo: () => DefaultCypressChainable;
|
|
276
|
+
/**
|
|
277
|
+
* @param selector - the root of the expandablepanel, usually `<div class="expandable-panel">...</div>`.
|
|
278
|
+
*/
|
|
279
|
+
constructor(selector: string);
|
|
280
|
+
/**
|
|
281
|
+
* Returns the number of notifications
|
|
282
|
+
*/
|
|
283
|
+
numberOfNotifications(): Cypress.Chainable<number>;
|
|
284
|
+
isOpen(): Cypress.Chainable<boolean>;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
export declare class FFieldsetPageObject implements BasePageObject {
|
|
291
|
+
selector: string;
|
|
292
|
+
el: () => DefaultCypressChainable;
|
|
293
|
+
label: FLabelPageObject;
|
|
294
|
+
tooltip: FTooltipPageObject;
|
|
295
|
+
/**
|
|
296
|
+
* @param selector - the root of the fieldset, usually `<div class="radio-button-group">...</div>` or `<div class="checkbox-group">...</div>`.
|
|
297
|
+
*/
|
|
298
|
+
constructor(selector: string);
|
|
299
|
+
content(): DefaultCypressChainable;
|
|
300
|
+
radioButton(buttonSelector: string): FRadioFieldPageObject;
|
|
301
|
+
numberOfRadio(): Cypress.Chainable<number>;
|
|
302
|
+
checkBox(checkboxSelector: string): FCheckboxFieldPageObject;
|
|
303
|
+
numberOfCheckboxes(): Cypress.Chainable<number>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
export declare class FFileItemPageObject implements BasePageObject {
|
|
310
|
+
selector: string;
|
|
311
|
+
el: () => DefaultCypressChainable;
|
|
312
|
+
fileName: () => DefaultCypressChainable;
|
|
313
|
+
cancelDeleteButton: () => DefaultCypressChainable;
|
|
314
|
+
cancelDeleteButtonIcon: () => DefaultCypressChainable;
|
|
315
|
+
progressMeter: FProgressbarPageObject;
|
|
316
|
+
fileIcon: () => DefaultCypressChainable;
|
|
317
|
+
/**
|
|
318
|
+
* @param selector - the root of the file item, usually `<div class="file-item">...</div>`.
|
|
319
|
+
*/
|
|
320
|
+
constructor(selector: string);
|
|
321
|
+
typeOfFileIcon(): Cypress.Chainable<string>;
|
|
322
|
+
typeOfButtonIcon(): Cypress.Chainable<string>;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
export declare class FFileSelectorPageObject implements BasePageObject {
|
|
329
|
+
selector: string;
|
|
330
|
+
el: () => DefaultCypressChainable;
|
|
331
|
+
addFile: () => DefaultCypressChainable;
|
|
332
|
+
icon: () => DefaultCypressChainable;
|
|
333
|
+
/**
|
|
334
|
+
* @param selector - the root of the file file selector, usually `<div class="file-selector">...</div>`.
|
|
335
|
+
*/
|
|
336
|
+
constructor(selector: string);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
export declare class FFormModalPageObject extends FModalPageObject implements BasePageObject {
|
|
343
|
+
selector: string;
|
|
344
|
+
el: () => DefaultCypressChainable;
|
|
345
|
+
/**
|
|
346
|
+
* @param selector - the root of the Modal, usually `<div class="modal">...</div>`.
|
|
347
|
+
*/
|
|
348
|
+
constructor(selector: string);
|
|
349
|
+
submitButton(): DefaultCypressChainable;
|
|
350
|
+
cancelButton(): DefaultCypressChainable;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
export declare class FFormPageObject implements BasePageObject {
|
|
357
|
+
selector: string;
|
|
358
|
+
el: () => DefaultCypressChainable;
|
|
359
|
+
components: Record<string, BasePageObject>;
|
|
360
|
+
/**
|
|
361
|
+
* @param selector - the root of the form, usually `<form class="form">...</form>`.
|
|
362
|
+
*/
|
|
363
|
+
constructor(selector: string);
|
|
364
|
+
errorMessageBox(): FMessageBoxPageObject;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
export declare class FFormStepPageObject implements BasePageObject {
|
|
371
|
+
selector: string;
|
|
372
|
+
el: () => DefaultCypressChainable;
|
|
373
|
+
errors: FErrorListPageObject;
|
|
374
|
+
private headerSelector;
|
|
375
|
+
/**
|
|
376
|
+
* @param selector - the root of the form step, usually `<div class="form-step">...</div>`.
|
|
377
|
+
*/
|
|
378
|
+
constructor(selector: string);
|
|
379
|
+
/**
|
|
380
|
+
* The header contains the title and the valid icon.
|
|
381
|
+
*/
|
|
382
|
+
header(): DefaultCypressChainable;
|
|
383
|
+
title(): DefaultCypressChainable;
|
|
384
|
+
body(): DefaultCypressChainable;
|
|
385
|
+
validIcon(): DefaultCypressChainable;
|
|
386
|
+
isOpen(): Cypress.Chainable<boolean>;
|
|
387
|
+
editConfirmButton(): DefaultCypressChainable;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
export declare class FInteractiveTablePageObject implements BasePageObject {
|
|
394
|
+
selector: string;
|
|
395
|
+
el: () => DefaultCypressChainable;
|
|
396
|
+
/**
|
|
397
|
+
* @param selector - table selector.
|
|
398
|
+
*/
|
|
399
|
+
constructor(selector: string);
|
|
400
|
+
caption(): DefaultCypressChainable;
|
|
401
|
+
bodyRow(): DefaultCypressChainable;
|
|
402
|
+
headersRow(): DefaultCypressChainable;
|
|
403
|
+
/**
|
|
404
|
+
* Hämta page object för specifikt Table row item.
|
|
405
|
+
*/
|
|
406
|
+
columnItem(index: number): FTableColumnPageObject;
|
|
407
|
+
/**
|
|
408
|
+
* Hämta page object för specifikt Header row item.
|
|
409
|
+
*/
|
|
410
|
+
headerRowItem(): FTableColumnPageObject;
|
|
411
|
+
getColumnSortedByIcon(index: number, order: "ascending" | "descending" | "unsorted"): DefaultCypressChainable;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
export declare class FLabelPageObject implements BasePageObject {
|
|
418
|
+
selector: string;
|
|
419
|
+
el: () => DefaultCypressChainable;
|
|
420
|
+
/**
|
|
421
|
+
* @param selector - the root of the label, usually `<label class="label">...</label>`.
|
|
422
|
+
*/
|
|
423
|
+
constructor(selector: string);
|
|
424
|
+
/**
|
|
425
|
+
* Label heading
|
|
426
|
+
*/
|
|
427
|
+
trimmedText(): Cypress.Chainable<string>;
|
|
428
|
+
/**
|
|
429
|
+
* Hjälptext
|
|
430
|
+
*/
|
|
431
|
+
description(): DefaultCypressChainable;
|
|
432
|
+
/**
|
|
433
|
+
* ErrorIcon
|
|
434
|
+
*/
|
|
435
|
+
errorIcon(): DefaultCypressChainable;
|
|
436
|
+
/**
|
|
437
|
+
* Formatbeskrivning
|
|
438
|
+
*/
|
|
439
|
+
discreteDescription(): DefaultCypressChainable;
|
|
440
|
+
/**
|
|
441
|
+
* Felmeddelande
|
|
442
|
+
*/
|
|
443
|
+
errorMessage(): DefaultCypressChainable;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
export declare class FListItemPageObject implements BasePageObject {
|
|
450
|
+
selector: string;
|
|
451
|
+
el: () => DefaultCypressChainable;
|
|
452
|
+
index: number;
|
|
453
|
+
/**
|
|
454
|
+
* @param selector - the root of the li, usually `<li class="list__item">...</li>`.
|
|
455
|
+
* @param index - the index of matched li:s.
|
|
456
|
+
*/
|
|
457
|
+
constructor(selector: string, index: number);
|
|
458
|
+
/**
|
|
459
|
+
* Select checkbox page object
|
|
460
|
+
*/
|
|
461
|
+
selectCheckbox(): FCheckboxFieldPageObject;
|
|
462
|
+
/**
|
|
463
|
+
* Content / Clickable link if checkbox:false
|
|
464
|
+
*/
|
|
465
|
+
content(): DefaultCypressChainable;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
export declare class FListPageObject implements BasePageObject {
|
|
472
|
+
selector: string;
|
|
473
|
+
el: () => DefaultCypressChainable;
|
|
474
|
+
/**
|
|
475
|
+
* @param selector - the root of the label, usually `<li class="list">...</label>`.
|
|
476
|
+
*/
|
|
477
|
+
constructor(selector: string);
|
|
478
|
+
/**
|
|
479
|
+
* Hämta page object för specifikt list item.
|
|
480
|
+
*/
|
|
481
|
+
listItem(index: number): FListItemPageObject;
|
|
482
|
+
/**
|
|
483
|
+
* Hämta alla list items.
|
|
484
|
+
*/
|
|
485
|
+
listItems(): DefaultCypressChainable;
|
|
486
|
+
/**
|
|
487
|
+
* Felmeddelande
|
|
488
|
+
*/
|
|
489
|
+
emptyMessage(): DefaultCypressChainable;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @public
|
|
494
|
+
*/
|
|
495
|
+
export declare class FLoaderPageObject implements BasePageObject {
|
|
496
|
+
selector: string;
|
|
497
|
+
/**
|
|
498
|
+
* @param selector - the root of the loader, usually `<div class="loader">...</div>`.
|
|
499
|
+
*/
|
|
500
|
+
constructor(selector?: string);
|
|
501
|
+
el(): DefaultCypressChainable;
|
|
502
|
+
/**
|
|
503
|
+
* Get loader root.
|
|
504
|
+
* Only applicable if selector is a parent of loader.
|
|
505
|
+
*
|
|
506
|
+
* @deprecated Use a direct selector and `el()` instead.
|
|
507
|
+
*/
|
|
508
|
+
loader(): DefaultCypressChainable;
|
|
509
|
+
wrapper(): DefaultCypressChainable;
|
|
510
|
+
waitText(): DefaultCypressChainable;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
export declare class FMessageBoxPageObject implements BasePageObject {
|
|
517
|
+
selector: string;
|
|
518
|
+
el: () => DefaultCypressChainable;
|
|
519
|
+
errors: FErrorListPageObject;
|
|
520
|
+
/**
|
|
521
|
+
* @param selector - the root of the message box, usually `<div class="message-box">...</div>`.
|
|
522
|
+
*/
|
|
523
|
+
constructor(selector: string);
|
|
524
|
+
/**
|
|
525
|
+
* @deprecated Access using `content()` instead. It is not guaranteed that provided heading class is used.
|
|
526
|
+
*/
|
|
527
|
+
title(): DefaultCypressChainable;
|
|
528
|
+
icon(): DefaultCypressChainable;
|
|
529
|
+
/**
|
|
530
|
+
* @deprecated Access using `content()` instead. It is not guaranteed that `p`-tag is used.
|
|
531
|
+
*/
|
|
532
|
+
body(): DefaultCypressChainable;
|
|
533
|
+
content(): DefaultCypressChainable;
|
|
534
|
+
typeOfMessage(): Cypress.Chainable<string>;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @public
|
|
539
|
+
*/
|
|
540
|
+
export declare class FModalPageObject implements BasePageObject {
|
|
541
|
+
selector: string;
|
|
542
|
+
el: () => DefaultCypressChainable;
|
|
543
|
+
/**
|
|
544
|
+
* @param selector - the root of the Modal, usually `<div class="modal">...</div>`.
|
|
545
|
+
*/
|
|
546
|
+
constructor(selector: string);
|
|
547
|
+
title(): DefaultCypressChainable;
|
|
548
|
+
body(): DefaultCypressChainable;
|
|
549
|
+
primaryButton(): DefaultCypressChainable;
|
|
550
|
+
secondaryButton(): DefaultCypressChainable;
|
|
551
|
+
closeCross(): DefaultCypressChainable;
|
|
552
|
+
typeOfModal(): Cypress.Chainable<string>;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Represents f-navigation-menu with access to its i-menu and its i-popup-menu element
|
|
557
|
+
*
|
|
558
|
+
' @public
|
|
559
|
+
*/
|
|
560
|
+
export declare class FNavigationMenuPageobject implements BasePageObject {
|
|
561
|
+
selector: string;
|
|
562
|
+
el(): DefaultCypressChainable;
|
|
563
|
+
/**
|
|
564
|
+
* @param selector - the root of the navigation menu, usually `div > nav.imenu`.
|
|
565
|
+
*/
|
|
566
|
+
constructor(selector: string);
|
|
567
|
+
menu(): IMenuPageObject;
|
|
568
|
+
popupMenu(): IPopupMenuPageObject;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
export declare class FOfflinePageObject implements BasePageObject {
|
|
575
|
+
selector: string;
|
|
576
|
+
el: () => DefaultCypressChainable;
|
|
577
|
+
banner: () => DefaultCypressChainable;
|
|
578
|
+
/**
|
|
579
|
+
* @param selector - optional custom selector to offline component.
|
|
580
|
+
*/
|
|
581
|
+
constructor(selector?: string);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* @public
|
|
586
|
+
* @param selector - the root of the output field, usually `<div class="output-field">...</div>`.
|
|
587
|
+
*/
|
|
588
|
+
export declare class FOutputFieldPageobject implements BasePageObject {
|
|
589
|
+
selector: string;
|
|
590
|
+
el: () => DefaultCypressChainable;
|
|
591
|
+
label: FLabelPageObject;
|
|
592
|
+
tooltip: FTooltipPageObject;
|
|
593
|
+
body: () => DefaultCypressChainable;
|
|
594
|
+
constructor(selector: string);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
export declare class FPageHeaderPageobject implements BasePageObject {
|
|
601
|
+
selector: string;
|
|
602
|
+
el: () => DefaultCypressChainable;
|
|
603
|
+
/**
|
|
604
|
+
* @param selector - the root of the page header, usually `div.page-header__root`.
|
|
605
|
+
*/
|
|
606
|
+
constructor(selector: string);
|
|
607
|
+
skipLink(): DefaultCypressChainable;
|
|
608
|
+
applicationName(): DefaultCypressChainable;
|
|
609
|
+
rightSlot(): DefaultCypressChainable;
|
|
610
|
+
logoSlot(): DefaultCypressChainable;
|
|
611
|
+
logoRouterLink(): DefaultCypressChainable;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
export declare class FProgressbarPageObject implements BasePageObject {
|
|
618
|
+
selector: string;
|
|
619
|
+
el: () => DefaultCypressChainable;
|
|
620
|
+
progressMeter: () => DefaultCypressChainable;
|
|
621
|
+
/**
|
|
622
|
+
* @param selector - the root of the static field, usually `<div class="progress">...</div>`.
|
|
623
|
+
*/
|
|
624
|
+
constructor(selector: string);
|
|
625
|
+
progressStatus(): Cypress.Chainable<string>;
|
|
626
|
+
ariaValueNow(): Cypress.Chainable<string | undefined>;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
declare class FRadioFieldPageObject implements BasePageObject {
|
|
633
|
+
selector: string;
|
|
634
|
+
el: () => DefaultCypressChainable;
|
|
635
|
+
/**
|
|
636
|
+
* @param selector - the root of the radio button, usually `<div class="radio-button">...</div>`.
|
|
637
|
+
* @param index - the index of matched radiobuttons
|
|
638
|
+
*/
|
|
639
|
+
constructor(selector: string, index?: number);
|
|
640
|
+
radioButton(): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
641
|
+
label(): DefaultCypressChainable;
|
|
642
|
+
/**
|
|
643
|
+
* @deprecated Use assertion `label().should('trimmedText', '...')` instead.
|
|
644
|
+
*/
|
|
645
|
+
trimmedText(): Cypress.Chainable<string>;
|
|
646
|
+
select(): DefaultCypressChainable;
|
|
647
|
+
details(): DefaultCypressChainable;
|
|
648
|
+
isSelected(): Cypress.Chainable<boolean>;
|
|
649
|
+
value(): Cypress.Chainable<string>;
|
|
650
|
+
}
|
|
651
|
+
export { FRadioFieldPageObject }
|
|
652
|
+
export { FRadioFieldPageObject as FRadioGroupFieldPageObject }
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
export declare class FRadioGroupPageObject implements BasePageObject {
|
|
658
|
+
selector: string;
|
|
659
|
+
el: () => DefaultCypressChainable;
|
|
660
|
+
label: FLabelPageObject;
|
|
661
|
+
tooltip: FTooltipPageObject;
|
|
662
|
+
/**
|
|
663
|
+
* @param selector - the root of the radio group, usually `<div class="radio-button-group">...</div>`.
|
|
664
|
+
*/
|
|
665
|
+
constructor(selector: string);
|
|
666
|
+
content(): DefaultCypressChainable;
|
|
667
|
+
radioButton(buttonSelector: string): FRadioFieldPageObject;
|
|
668
|
+
numberOfOptions(): Cypress.Chainable<number>;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
674
|
+
export declare class FSelectFieldPageObject implements BasePageObject {
|
|
675
|
+
selector: string;
|
|
676
|
+
el: () => DefaultCypressChainable;
|
|
677
|
+
label: FLabelPageObject;
|
|
678
|
+
tooltip: FTooltipPageObject;
|
|
679
|
+
/**
|
|
680
|
+
* @param selector - the root of the select field, usually `<div class="select-field">...</div>`.
|
|
681
|
+
*/
|
|
682
|
+
constructor(selector: string);
|
|
683
|
+
dropdown(): Cypress.Chainable<JQuery<HTMLSelectElement>>;
|
|
684
|
+
arrowIcon(): DefaultCypressChainable;
|
|
685
|
+
numberOfOptions(): Cypress.Chainable<number>;
|
|
686
|
+
listOfOptions(): Cypress.Chainable<string[]>;
|
|
687
|
+
selectedValue(): Cypress.Chainable<string>;
|
|
688
|
+
trimmedText(): Cypress.Chainable<string>;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @public
|
|
693
|
+
*/
|
|
694
|
+
export declare class FSortFilterDatasetPageObject implements BasePageObject {
|
|
695
|
+
selector: string;
|
|
696
|
+
el: () => DefaultCypressChainable;
|
|
697
|
+
textField: FTextFieldPageObject;
|
|
698
|
+
selectField: FSelectFieldPageObject;
|
|
699
|
+
constructor(selector: string);
|
|
700
|
+
header(): DefaultCypressChainable;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
export declare class FStaticFieldPageObject implements BasePageObject {
|
|
707
|
+
selector: string;
|
|
708
|
+
el: () => DefaultCypressChainable;
|
|
709
|
+
label: FLabelPageObject;
|
|
710
|
+
tooltip: FTooltipPageObject;
|
|
711
|
+
/**
|
|
712
|
+
* @param selector - the root of the static field, usually `<div class="output-field">...</div>`.
|
|
713
|
+
*/
|
|
714
|
+
constructor(selector: string);
|
|
715
|
+
body(): DefaultCypressChainable;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @public
|
|
720
|
+
*/
|
|
721
|
+
export declare class FTableColumnPageObject implements BasePageObject {
|
|
722
|
+
selector: string;
|
|
723
|
+
el: () => DefaultCypressChainable;
|
|
724
|
+
index: number;
|
|
725
|
+
constructor(selector: string, index: number);
|
|
726
|
+
tableRowBodyContent(position: number): DefaultCypressChainable;
|
|
727
|
+
tableRowHeaderContent(): DefaultCypressChainable;
|
|
728
|
+
checkbox(): FCheckboxFieldPageObject;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
export declare class FTextareaFieldPageObject extends Input implements BasePageObject {
|
|
735
|
+
selector: string;
|
|
736
|
+
el: () => DefaultCypressChainable;
|
|
737
|
+
label: FLabelPageObject;
|
|
738
|
+
tooltip: FTooltipPageObject;
|
|
739
|
+
/**
|
|
740
|
+
* @param selector - the root of the textarea field, usually `<div class="textarea-field">...</div>`.
|
|
741
|
+
*/
|
|
742
|
+
constructor(selector: string);
|
|
743
|
+
input(): DefaultCypressChainable;
|
|
744
|
+
errorIcon(): DefaultCypressChainable;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
export declare class FTextFieldPageObject extends Input implements BasePageObject {
|
|
751
|
+
selector: string;
|
|
752
|
+
el: () => DefaultCypressChainable;
|
|
753
|
+
label: FLabelPageObject;
|
|
754
|
+
tooltip: FTooltipPageObject;
|
|
755
|
+
/**
|
|
756
|
+
* @param selector - the root of the text field, usually `<div class="text-field">...</div>`.
|
|
757
|
+
*/
|
|
758
|
+
constructor(selector: string);
|
|
759
|
+
input(): DefaultCypressChainable;
|
|
760
|
+
errorIcon(): DefaultCypressChainable;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
export declare class FTooltipPageObject implements BasePageObject {
|
|
767
|
+
selector: string;
|
|
768
|
+
/**
|
|
769
|
+
* @param selector - the root of the tooltip
|
|
770
|
+
*/
|
|
771
|
+
constructor(selector: string);
|
|
772
|
+
el(): DefaultCypressChainable;
|
|
773
|
+
iButton(): DefaultCypressChainable;
|
|
774
|
+
header(): DefaultCypressChainable;
|
|
775
|
+
body(): DefaultCypressChainable;
|
|
776
|
+
closeButton(): DefaultCypressChainable;
|
|
777
|
+
/**
|
|
778
|
+
* @deprecated Use `closeButton()`, `header()`, or `body()` instead.
|
|
779
|
+
*/
|
|
780
|
+
content(): {
|
|
781
|
+
closeButtonTop: () => DefaultCypressChainable;
|
|
782
|
+
heading: () => DefaultCypressChainable;
|
|
783
|
+
brodtext: () => DefaultCypressChainable;
|
|
784
|
+
closeButtonBottom: () => DefaultCypressChainable;
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
export declare class FValidationFormPageObject implements BasePageObject {
|
|
792
|
+
selector: string;
|
|
793
|
+
errorlist: FErrorListPageObject;
|
|
794
|
+
/**
|
|
795
|
+
* @param selector - the root of the validation form.
|
|
796
|
+
*/
|
|
797
|
+
constructor(selector: string);
|
|
798
|
+
el(): DefaultCypressChainable;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* pageobject for the FWizard component
|
|
803
|
+
*
|
|
804
|
+
* @public
|
|
805
|
+
* @param selector - CSS seletor to the FWizard object
|
|
806
|
+
*/
|
|
807
|
+
export declare class FWizardPageobject implements BasePageObject {
|
|
808
|
+
selector: string;
|
|
809
|
+
el(): DefaultCypressChainable;
|
|
810
|
+
/**
|
|
811
|
+
* Get all FWizardSteps in the FWizard
|
|
812
|
+
*
|
|
813
|
+
* @returns all steps
|
|
814
|
+
*/
|
|
815
|
+
steps(): DefaultCypressChainable;
|
|
816
|
+
/**
|
|
817
|
+
* Get specfic step in wizard.
|
|
818
|
+
*
|
|
819
|
+
* @param index - step to retrieve (0-indexed)
|
|
820
|
+
* @returns FWizardStepPageObject
|
|
821
|
+
*/
|
|
822
|
+
getStep(index: number): FWizardStepPageobject;
|
|
823
|
+
/**
|
|
824
|
+
* Turns off the animation att css class level.
|
|
825
|
+
*/
|
|
826
|
+
turnOffAnimation(): void;
|
|
827
|
+
constructor(selector: string);
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* pageobject for the header part of the FWizardStep component
|
|
832
|
+
*
|
|
833
|
+
* @public
|
|
834
|
+
* @param selector - CSS seletor to the FWizardStepHeader object
|
|
835
|
+
*/
|
|
836
|
+
export declare class FWizardStepHeaderPageobject implements BasePageObject {
|
|
837
|
+
selector: string;
|
|
838
|
+
el: () => DefaultCypressChainable;
|
|
839
|
+
successIcon: () => DefaultCypressChainable;
|
|
840
|
+
stepNumber: () => Cypress.Chainable<string>;
|
|
841
|
+
stepOf: () => DefaultCypressChainable;
|
|
842
|
+
title: () => DefaultCypressChainable;
|
|
843
|
+
constructor(selector: string);
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* pageobject for the FWizardStep component
|
|
848
|
+
*
|
|
849
|
+
* @public
|
|
850
|
+
* @param selector - CSS selector for the FWizardStep object
|
|
851
|
+
*/
|
|
852
|
+
export declare class FWizardStepPageobject implements BasePageObject {
|
|
853
|
+
selector: string;
|
|
854
|
+
el(): DefaultCypressChainable;
|
|
855
|
+
/**
|
|
856
|
+
* Get the header pagobject in the FWizardStep
|
|
857
|
+
*/
|
|
858
|
+
header: FWizardStepHeaderPageobject;
|
|
859
|
+
/**
|
|
860
|
+
* get the errorlist pageobject in the FWizardStep
|
|
861
|
+
*/
|
|
862
|
+
errors: FErrorListPageObject;
|
|
863
|
+
/**
|
|
864
|
+
* Get the primary button element of the FWizardStep
|
|
865
|
+
*/
|
|
866
|
+
continue(): DefaultCypressChainable;
|
|
867
|
+
/**
|
|
868
|
+
* Get the secondary button element of the FWizardStep
|
|
869
|
+
*/
|
|
870
|
+
cancel(): DefaultCypressChainable;
|
|
871
|
+
/**
|
|
872
|
+
* Get the body element of the FWizardStep
|
|
873
|
+
*/
|
|
874
|
+
body(): DefaultCypressChainable;
|
|
875
|
+
/**
|
|
876
|
+
* Wait for open animation to finish.
|
|
877
|
+
*/
|
|
878
|
+
waitOnOpen(): void;
|
|
879
|
+
/**
|
|
880
|
+
* Wait for close animation to finish.
|
|
881
|
+
*/
|
|
882
|
+
waitOnClose(): void;
|
|
883
|
+
/**
|
|
884
|
+
* Wait for any animation to complete.
|
|
885
|
+
*/
|
|
886
|
+
waitOnAnimationCompleted(): void;
|
|
887
|
+
private animateExpand;
|
|
888
|
+
constructor(selector: string);
|
|
889
|
+
/**
|
|
890
|
+
* Get the status of the wizard step.
|
|
891
|
+
* @see STATUS
|
|
892
|
+
*/
|
|
893
|
+
status(): Cypress.Chainable<string>;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
export declare class ICalendarNavbarPageObject implements BasePageObject {
|
|
900
|
+
selector: string;
|
|
901
|
+
/**
|
|
902
|
+
* @param selector - CSS selector to the ICalendarNavbar object
|
|
903
|
+
*/
|
|
904
|
+
constructor(selector?: string);
|
|
905
|
+
el(): DefaultCypressChainable;
|
|
906
|
+
text(): DefaultCypressChainable;
|
|
907
|
+
prevButton(): DefaultCypressChainable;
|
|
908
|
+
nextButton(): DefaultCypressChainable;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* pageobject for the IMenu component
|
|
913
|
+
*
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
export declare class IMenuPageObject implements BasePageObject {
|
|
917
|
+
selector: string;
|
|
918
|
+
el(): DefaultCypressChainable;
|
|
919
|
+
/**
|
|
920
|
+
* @param selector - the root of the IMenu, usually `<nav class="imenu">...</nav>`.
|
|
921
|
+
*/
|
|
922
|
+
constructor(selector: string);
|
|
923
|
+
/**
|
|
924
|
+
* Get all items in the IMenu
|
|
925
|
+
*
|
|
926
|
+
* @returns all items
|
|
927
|
+
*/
|
|
928
|
+
items(): DefaultCypressChainable;
|
|
929
|
+
/**
|
|
930
|
+
* Get the item at position index in the IMenu
|
|
931
|
+
*
|
|
932
|
+
* @param index - the position index in the item array
|
|
933
|
+
* @returns Menu item with given index
|
|
934
|
+
*/
|
|
935
|
+
item(index: number): DefaultCypressChainable;
|
|
936
|
+
/**
|
|
937
|
+
* Get link for item at index
|
|
938
|
+
*
|
|
939
|
+
* @param index - the position index in the item array
|
|
940
|
+
* @returns link with given index
|
|
941
|
+
*/
|
|
942
|
+
getItemLink(index: number): DefaultCypressChainable;
|
|
943
|
+
/**
|
|
944
|
+
* Get currently selected menu item
|
|
945
|
+
*
|
|
946
|
+
* @returns Currently selected item
|
|
947
|
+
*/
|
|
948
|
+
getSelectedItem(): DefaultCypressChainable;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* @public
|
|
953
|
+
*/
|
|
954
|
+
export declare class Input implements BasePageObject {
|
|
955
|
+
selector: string;
|
|
956
|
+
inputSelector: string;
|
|
957
|
+
el: () => DefaultCypressChainable;
|
|
958
|
+
constructor(selector: string, inputSelector: string);
|
|
959
|
+
enter(text: string): DefaultCypressChainable;
|
|
960
|
+
value(): Cypress.Chainable<string>;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* pageobject for the IPopupMenu component
|
|
965
|
+
*
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
export declare class IPopupMenuPageObject implements BasePageObject {
|
|
969
|
+
selector: string;
|
|
970
|
+
el(): DefaultCypressChainable;
|
|
971
|
+
/**
|
|
972
|
+
* @param selector - the root of the IPopupMenu, usually `<nav class="IPopupMenu">...</nav>`.
|
|
973
|
+
*/
|
|
974
|
+
constructor(selector: string);
|
|
975
|
+
/**
|
|
976
|
+
* Get all items in the IPopupMenu
|
|
977
|
+
* @returns all items
|
|
978
|
+
*/
|
|
979
|
+
items(): DefaultCypressChainable;
|
|
980
|
+
/**
|
|
981
|
+
* Get the item at position index in the IPopupMenu
|
|
982
|
+
*
|
|
983
|
+
* @param index - the position index in the item array
|
|
984
|
+
* @returns Menu item with given index
|
|
985
|
+
*/
|
|
986
|
+
item(index: number): DefaultCypressChainable;
|
|
987
|
+
/**
|
|
988
|
+
* Get link for item at index
|
|
989
|
+
*
|
|
990
|
+
* @param index - the position index in the item array
|
|
991
|
+
* @returns link with given index
|
|
992
|
+
*/
|
|
993
|
+
getItemLink(index: number): DefaultCypressChainable;
|
|
994
|
+
/**
|
|
995
|
+
* Get currently selected menu item
|
|
996
|
+
*
|
|
997
|
+
* @returns Currently selected item
|
|
998
|
+
*/
|
|
999
|
+
getSelectedItem(): DefaultCypressChainable;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* pageobject for the IPopup component.
|
|
1004
|
+
*
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
export declare class IPopupPageObject implements BasePageObject {
|
|
1008
|
+
selector: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* @param selector - the root of the IPopup.
|
|
1011
|
+
*/
|
|
1012
|
+
constructor(selector?: string);
|
|
1013
|
+
el(): DefaultCypressChainable;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Status of the FWizardStep -
|
|
1018
|
+
* done, open or pending
|
|
1019
|
+
*
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
export declare enum STATUS {
|
|
1023
|
+
done = "done",
|
|
1024
|
+
open = "open",
|
|
1025
|
+
pending = "pending"
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export { }
|