Extension rendering should be possible to use button for navigate to edit mode
EPIPE write EPIPE
Test spec:
async
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 === 'Switch to Edit'))
.first()
.click();
await browser.wait(EC.urlContains('/state/edit'), 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 $$.filter.elem (test/e2e/navigation-actions.comp.spec.js:46: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:48: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&_=1515184998595 - 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
665 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
648 ms
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);
Extension rendering should be possible to use button to navigate to the NEXT sheet
484 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
486 ms
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);