I am trying to test "export to csv" feature, I am getting an error Element is not clickable at point (967, 125). Other element would receive the click:
Here is my code :
describe('csv download link', () => {
it('should get the csv table export', () => {
var exportToCsv = element(by.css('a[ng-click="vm.exportToCsv()"]')).click().then(() => {
var filename = 'lastPublishedPage.csv';
expect(downloader.downloadedFileExists(filename)).toBe(true);
});
});