File tree 1 file changed +27
-0
lines changed
packages/web-application/src
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -399,4 +399,31 @@ export class WebClient implements IWebApplicationClient {
399
399
public getMockData ( url : string ) {
400
400
return this . makeRequest ( BrowserProxyActions . getMockData , [ url ] ) ;
401
401
}
402
+
403
+ // XTAP-55439 For A11y Testing ONLY ---start
404
+ public switchToFrame ( name ) {
405
+ return name ;
406
+ }
407
+
408
+ public switchToParentFrame ( ) {
409
+ return null as any ;
410
+ }
411
+
412
+ public getWindowHandle ( ) {
413
+ return null as any ;
414
+ }
415
+
416
+ public createWindow ( windowName = '' ) {
417
+ const handles = { handle : windowName } ;
418
+ return Object . assign ( { } , handles , null ) ;
419
+ }
420
+
421
+ public closeWindow ( ) {
422
+ return null as any ;
423
+ }
424
+
425
+ public switchToWindow ( tabId ) {
426
+ return tabId ;
427
+ }
428
+ // XTAP-55439 For A11y Testing ONLY ---end
402
429
}
You can’t perform that action at this time.
0 commit comments