You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/node/selenium-webdriver/test/chrome/permission_test.js
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,14 @@
20
20
constassert=require('assert')
21
21
constchrome=require('../../chrome')
22
22
consttest=require('../../lib/test')
23
+
const{ignore}=require("../../lib/test");
24
+
const{Browser}=require("../../index");
23
25
24
26
test.suite(
25
27
function(env){
28
+
// Chrome unable to set "prompt" due to: https://bugs.chromium.org/p/chromedriver/issues/detail?id=4350
26
29
describe('setPermission',()=>{
27
-
it('can set permission',asyncfunction(){
30
+
ignore(env.browsers(Browser.CHROME)).it('can set permission',asyncfunction(){
28
31
constdriver=awaitenv.builder().build()
29
32
30
33
awaitdriver.get(test.Pages.clicksPage)
@@ -44,7 +47,7 @@ test.suite(
44
47
awaitdriver.quit()
45
48
})
46
49
47
-
it('can set permission in headless mode',asyncfunction(){
50
+
ignore(env.browsers(Browser.CHROME)).it('can set permission in headless mode',asyncfunction(){
0 commit comments