File tree Expand file tree Collapse file tree
javascript/node/selenium-webdriver/test/chrome Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020const assert = require ( 'assert' )
2121const chrome = require ( '../../chrome' )
2222const test = require ( '../../lib/test' )
23+ const { ignore} = require ( "../../lib/test" ) ;
24+ const { Browser} = require ( "../../index" ) ;
2325
2426test . suite (
2527 function ( env ) {
28+ // Chrome unable to set "prompt" due to: https://bugs.chromium.org/p/chromedriver/issues/detail?id=4350
2629 describe ( 'setPermission' , ( ) => {
27- it ( 'can set permission' , async function ( ) {
30+ ignore ( env . browsers ( Browser . CHROME ) ) . it ( 'can set permission' , async function ( ) {
2831 const driver = await env . builder ( ) . build ( )
2932
3033 await driver . get ( test . Pages . clicksPage )
@@ -44,7 +47,7 @@ test.suite(
4447 await driver . quit ( )
4548 } )
4649
47- it ( 'can set permission in headless mode' , async function ( ) {
50+ ignore ( env . browsers ( Browser . CHROME ) ) . it ( 'can set permission in headless mode' , async function ( ) {
4851 const driver = await env
4952 . builder ( )
5053 . setChromeOptions ( new chrome . Options ( ) . headless ( ) )
You can’t perform that action at this time.
0 commit comments