@@ -38,16 +38,35 @@ declare module MsPortalTestFx {
38
38
static partialLinkText ( value : string ) : Locator ;
39
39
static tagName ( value : string ) : Locator ;
40
40
static xpath ( value : string ) : Locator ;
41
+ static text ( value : string ) : Locator ;
41
42
static chained ( ...values : Locator [ ] ) : Locator ;
42
43
static content ( ...values : Locator [ ] ) : Locator ;
43
44
}
44
45
}
45
46
46
47
export module ActionBars {
47
- export class ActionBar extends MsPortalTestFx . PortalElement {
48
+ export class ActionBarButton extends PortalElement {
49
+ constructor ( parentLocator ?: Locators . Locator , baseLocator ?: Locators . Locator ) ;
50
+ click ( ) : Q . Promise < void > ;
51
+ }
52
+
53
+ export class CreateActionBar extends PortalElement {
54
+ public createButton : ActionBarButton ;
55
+
56
+ constructor ( parentLocator ?: Locators . Locator ) ;
57
+ }
58
+
59
+ export class DeleteActionBar extends PortalElement {
60
+ public deleteButton : ActionBarButton ;
61
+ public cancelButton : ActionBarButton ;
62
+
63
+ constructor ( parentLocator ?: Locators . Locator ) ;
64
+ }
65
+
66
+ export class PickerActionBar extends PortalElement {
67
+ public selectButton : ActionBarButton ;
68
+
48
69
constructor ( parentLocator ?: Locators . Locator ) ;
49
- clickCreate ( ) : Q . Promise < void > ;
50
- clickDelete ( ) : Q . Promise < void > ;
51
70
}
52
71
}
53
72
@@ -60,7 +79,7 @@ declare module MsPortalTestFx {
60
79
}
61
80
62
81
export class CreateBlade extends Blade {
63
- public actionBar : ActionBars . ActionBar ;
82
+ public actionBar : ActionBars . CreateActionBar ;
64
83
}
65
84
66
85
export class BrowseResourceBlade extends Blade {
@@ -70,9 +89,12 @@ declare module MsPortalTestFx {
70
89
}
71
90
72
91
export class PickerBlade extends Blade {
73
- constructor ( title : string ) ;
74
92
pickItem ( item : string ) : Q . Promise < void > ;
75
93
}
94
+
95
+ export class SpecPickerBlade extends Blade {
96
+ pickSpec ( specCode : string ) : Q . Promise < void > ;
97
+ }
76
98
}
77
99
78
100
export module Controls {
@@ -137,6 +159,9 @@ declare module MsPortalTestFx {
137
159
constructor ( parentLocator ?: Locators . Locator ) ;
138
160
}
139
161
162
+ class PricingTierPart extends Part {
163
+ }
164
+
140
165
export class Tile extends MsPortalTestFx . PortalElement {
141
166
public progressLocator : Locators . Locator ;
142
167
@@ -201,6 +226,7 @@ declare module MsPortalTestFx {
201
226
getAttribute ( locator : Locators . Locator , attributeName : string , timeout ?: number ) : Q . Promise < string > ;
202
227
waitForElementNotVisible ( locator : Locators . Locator , timeout ?: number ) : Q . Promise < boolean > ;
203
228
waitUntilElementContainsAttribute ( locator : Locators . Locator , attributeName : string , attributeValue : string , timeout ?: number ) : Q . Promise < any > ;
229
+ waitUntilElementDoesNotContainAttribute ( locator : Locators . Locator , attributeName : string , attributeValue : string , timeout ?: number ) : Q . Promise < any > ;
204
230
waitForElementLocated ( locator : Locators . Locator , timeout ?: number ) : Q . Promise < any > ;
205
231
takeScreenshot ( filePrefix ?: string ) : Q . Promise < string > ;
206
232
goHome ( timeout ?: number ) : Q . Promise < void > ;
0 commit comments