Skip to content

Commit 552b24c

Browse files
authored
test: remove outdated extension test (#4137)
The restrictions requiring additional flags have been removed from Chromium. Unblocks #4135
1 parent 4e681d6 commit 552b24c

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

tests/webExtension/test_web_extension.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -127,28 +127,6 @@ async def test_extensions_can_open_manifest(websocket,
127127
await create_context()
128128

129129

130-
@pytest.mark.asyncio
131-
@pytest.mark.parametrize('capabilities', [{
132-
'goog:chromeOptions': {
133-
'args': ['--remote-debugging-pipe']
134-
},
135-
}],
136-
indirect=True)
137-
async def test_extensions_cannot_install(websocket,
138-
unpacked_extension_location,
139-
test_headless_mode):
140-
if test_headless_mode == "old":
141-
pytest.xfail("Old headless mode does not support extensions")
142-
return
143-
path = unpacked_extension_location(SIMPLE_EXTENSION_FILES)
144-
with pytest.raises(Exception,
145-
match=str({
146-
'error': 'unknown error',
147-
'message': 'Method not available.',
148-
})):
149-
await install(websocket, path)
150-
151-
152130
@pytest.mark.asyncio
153131
@pytest.mark.parametrize('capabilities', [{
154132
'goog:chromeOptions': {

0 commit comments

Comments
 (0)