Skip to content

Commit f71ea71

Browse files
committed
add test
1 parent e2a09ce commit f71ea71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/node/selenium-webdriver/test/lib/error_test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ describe('error', function () {
139139
test('unknown command', error.UnknownCommandError)
140140
test('unknown method', error.UnknownMethodError)
141141
test('unsupported operation', error.UnsupportedOperationError)
142+
test('detached shadow root', error.DetachedShadowRootError)
142143

143144
it('leaves remoteStacktrace empty if not in encoding', function () {
144145
assert.throws(
@@ -230,6 +231,7 @@ describe('error', function () {
230231
test('UNABLE_TO_CAPTURE_SCREEN', error.UnableToCaptureScreenError)
231232
test('ELEMENT_CLICK_INTERCEPTED', error.ElementClickInterceptedError)
232233
test('METHOD_NOT_ALLOWED', error.UnsupportedOperationError)
234+
test('DETACHED_SHADOW_ROOT', error.DetachedShadowRootError)
233235

234236
describe('UnexpectedAlertOpenError', function () {
235237
it('includes alert text from the response object', function () {

0 commit comments

Comments
 (0)