Extension rendering should be possible to use button for navigate to edit mode
unknown error: Element <div class="btn btn-sm ng-binding btn-default auto-width" style="text-align: left" ng-class="[
(layout.props.buttonStyle) ? 'btn-' + layout.props.buttonStyle : 'btn-default',
(layout.props.fullWidth) ? 'full-width' : 'auto-width',
(layout.props.isButtonMultiLine) ? 'btn-multiline' : ''
]" ng-click="go();" title="Switch to Edit" role="button" tabindex="0">...</div> is not clickable at point (57, 150). Other element would receive the click: <div class="lui-modal-background ng-scope" ng-class="{ 'lui-fade': fade }"></div>
(Session info: chrome=63.0.3239.132)
(Driver info: chromedriver=2.34.522932 (4140ab217e1ca1bec0c4b4d1b148f3361eb3a03e),platform=Mac OS X 10.13.2 x86_64)
Test spec:
async
await sheetThumbs
.filter(elem => elem.getText().then(text => text === 'test:navigation-actions'))
.first()
.click();
await browser.sleep(2000);
await browser.wait(EC.visibilityOf($('#grid')), timeoutTime);
await browser.wait(EC.invisibilityOf(loadBlocker), timeoutTime);
await $$('.btn')
.filter(elem => elem.getText().then(text => text === 'Switch to Edit'))
.first()
.click();
await browser.wait(EC.urlContains('/state/edit'), timeoutTime);
Stack trace:
WebDriverError: unknown error: Element <div class="btn btn-sm ng-binding btn-default auto-width" style="text-align: left" ng-class="[
(layout.props.buttonStyle) ? 'btn-' + layout.props.buttonStyle : 'btn-default',
(layout.props.fullWidth) ? 'full-width' : 'auto-width',
(layout.props.isButtonMultiLine) ? 'btn-multiline' : ''
]" ng-click="go();" title="Switch to Edit" role="button" tabindex="0">...</div> is not clickable at point (57, 150). Other element would receive the click: <div class="lui-modal-background ng-scope" ng-class="{ 'lui-fade': fade }"></div>
(Session info: chrome=63.0.3239.132)
(Driver info: chromedriver=2.34.522932 (4140ab217e1ca1bec0c4b4d1b148f3361eb3a03e),platform=Mac OS X 10.13.2 x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at doSend.then.response (node_modules/selenium-webdriver/lib/http.js:441:30)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.(anonymous function).args [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.(anonymous function).args [as click] (node_modules/protractor/built/element.js:831:22)
at Context.it (test/e2e/navigation-actions.comp.spec.js:49:8)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Console log entries:
http://127.0.0.1:4848/api/capability/v1/list - Failed to load resource: the server responded with a status of 404 (Not Found)http://127.0.0.1:4848/api/about/v1/language?1510126820950&_=1515185122074 - Failed to load resource: the server responded with a status of 404 (Not Found)
Extension rendering should be possible to use button to navigate to the first sheet
775 ms
Test spec:
async
const targetSheetId = '392462be-a70b-4f14-a4cd-05a7aab19ed8';
await sheetThumbs
.filter(elem => elem.getText().then(text => text === 'test:navigation-actions'))
.first()
.click();
await browser.wait(EC.visibilityOf($('#grid')), timeoutTime);
await browser.wait(EC.invisibilityOf(loadBlocker), timeoutTime);
await $$('.btn')
.filter(elem => elem.getText().then(text => text === 'GotoSheet:First'))
.first()
.click();
await browser.wait(EC.urlContains(targetSheetId), timeoutTime);
Extension rendering should be possible to use button to navigate to the last sheet
EPIPE write EPIPE
Test spec:
async
const targetSheetId = 'e9f4240b-2185-4b56-af7f-8e9a25253db0';
await sheetThumbs
.filter(elem => elem.getText().then(text => text === 'test:navigation-actions'))
.first()
.click();
await browser.wait(EC.visibilityOf($('#grid')), timeoutTime);
await browser.wait(EC.invisibilityOf(loadBlocker), timeoutTime);
await $$('.btn')
.filter(elem => elem.getText().then(text => text === 'GotoSheet:Last'))
.first()
.click();
await browser.wait(EC.urlContains(targetSheetId), timeoutTime);
Stack trace:
Error: EPIPE write EPIPE
at ClientRequest.<anonymous> (node_modules/selenium-webdriver/http/index.js:238:15)
at Socket.socketErrorListener (_http_client.js:401:9)
at onwriteError (_stream_writable.js:408:12)
at onwrite (_stream_writable.js:430:5)
at _destroy (internal/streams/destroy.js:39:7)
at Socket._destroy (net.js:554:3)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.(anonymous function).args [as getText] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.(anonymous function).args [as getText] (node_modules/protractor/built/element.js:831:22)
at sheetThumbs.filter.elem (test/e2e/navigation-actions.comp.spec.js:78:28)
at parentWebElements.map (node_modules/protractor/built/element.js:229:28)
at Array.map (<anonymous>)
at getWebElements.then (node_modules/protractor/built/element.js:227:46)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.(anonymous function).args [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.(anonymous function).args [as click] (node_modules/protractor/built/element.js:831:22)
at Context.it (test/e2e/navigation-actions.comp.spec.js:80:8)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
Console log entries:
http://127.0.0.1:4848/api/capability/v1/list - Failed to load resource: the server responded with a status of 404 (Not Found)http://127.0.0.1:4848/api/about/v1/language?1510126820950&_=1515185129548 - Failed to load resource: the server responded with a status of 404 (Not Found)http://127.0.0.1:4848/api/capability/v1/list - Failed to load resource: the server responded with a status of 404 (Not Found)http://127.0.0.1:4848/api/about/v1/language?1510126820950&_=1515185133866 - Failed to load resource: the server responded with a status of 404 (Not Found)
Extension rendering should be possible to use button to navigate to the NEXT sheet
671 ms
Test spec:
async
const targetSheetId = '36b1f160-b676-4a3e-a753-c5f51a467f90';
await sheetThumbs
.filter(elem => elem.getText().then(text => text === 'first'))
.first()
.click();
await browser.wait(EC.visibilityOf($('#grid')), timeoutTime);
await browser.wait(EC.invisibilityOf(loadBlocker), timeoutTime);
await $$('.btn')
.filter(elem => elem.getText().then(text => text === 'GotoNextSheet'))
.first()
.click();
await browser.wait(EC.urlContains(targetSheetId), timeoutTime);
Extension rendering should be possible to use button to navigate to the PREV sheet
1.111 s
Test spec:
async
const targetSheetId = '392462be-a70b-4f14-a4cd-05a7aab19ed8';
await sheetThumbs
.filter(elem => elem.getText().then(text => text === 'second'))
.first()
.click();
await browser.wait(EC.visibilityOf($('#grid')), timeoutTime);
await browser.wait(EC.invisibilityOf(loadBlocker), timeoutTime);
await $$('.btn')
.filter(elem => elem.getText().then(text => text === 'GotoPrevSheet'))
.first()
.click();
await browser.wait(EC.urlContains(targetSheetId), timeoutTime);