You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
The following to query the text for each cell of a table performs a 'waitForAngular' for every cell, which is very slow for a large table.
Is it possible to only call 'waitForAngular' once when invoked via 'map' ? Is there any way to turn off the synchronisation during this iteration? Using 'ignoreSynchronisation=true' doesn't allow turning sync on and off arbitrarily mid test due to the queuing design of web driver.
getTableText=function(){returnelement.all(by.repeater('row in rows')).map(function(rowResults){returnrowResults.all(by.repeater('col in cols')).map(function(cellResults){returncellResults.getText();});});};
The text was updated successfully, but these errors were encountered:
We can't turn off waitForAngular for all calls to map, since some may modify the page and cause race conditions. We can probably do something to give better control over using ignoreSynchronization though.
The following to query the text for each cell of a table performs a 'waitForAngular' for every cell, which is very slow for a large table.
Is it possible to only call 'waitForAngular' once when invoked via 'map' ? Is there any way to turn off the synchronisation during this iteration? Using 'ignoreSynchronisation=true' doesn't allow turning sync on and off arbitrarily mid test due to the queuing design of web driver.
getTableText = function() {
return element.all(by.repeater('row in rows')).map(function(rowResults) {
return rowResults.all(by.repeater('col in cols')).map(function(cellResults) {
return cellResults.getText();
});
});
};
—
Reply to this email directly or view it on GitHub.
The following to query the text for each cell of a table performs a 'waitForAngular' for every cell, which is very slow for a large table.
Is it possible to only call 'waitForAngular' once when invoked via 'map' ? Is there any way to turn off the synchronisation during this iteration? Using 'ignoreSynchronisation=true' doesn't allow turning sync on and off arbitrarily mid test due to the queuing design of web driver.
The text was updated successfully, but these errors were encountered: