tests(docsAppE2E): fix race condition flake with switching to new frame
tests(docsAppE2E): fix race condition flake with switching to new frame

Closes #7569

ggershoni/angular.js,ggershoni/angular.js,ggershoni/angular.js,ggershoni/angular.js