File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -424,15 +424,15 @@ describe('Playwright', function () {
424424 . then ( ( ) => I . switchTo ( '#invalidIframeSelector' ) )
425425 . catch ( e => {
426426 e . should . be . instanceOf ( Error )
427- e . message . should . be . equal ( 'Element "#invalidIframeSelector" was not found by text|CSS|XPath' )
427+ e . message . should . be . equal ( 'Frame "#invalidIframeSelector" was not found by text|CSS|XPath' )
428428 } ) )
429429
430430 it ( 'should return error if iframe selector is not iframe' , ( ) =>
431431 I . amOnPage ( '/iframe' )
432432 . then ( ( ) => I . switchTo ( 'h1' ) )
433433 . catch ( e => {
434434 e . should . be . instanceOf ( Error )
435- e . message . should . be . equal ( 'Element "#invalidIframeSelector" was not found by text|CSS|XPath' )
435+ e . message . should . be . equal ( 'Frame "#invalidIframeSelector" was not found by text|CSS|XPath' )
436436 } ) )
437437
438438 it ( 'should return to parent frame given a null locator' , async ( ) => {
You can’t perform that action at this time.
0 commit comments