I just started to write my first Protractor test:
it('should navigate', function () {
scanButton.click();
expect(browser.getTitle()).toEqual('ID');
scanButton = element(by.id('scanSampleId'));
scanButton.click();
expect(browser.getTitle()).toEqual('Tara');
var button = element(by.id('tara'));
button.click();
var button = element(by.id('analysis'));
button.click();
});
The problem is, that the second click causes 'Element is not clickable at point (645, 122).
Other element would receive the click: <div class="click-block"></div>
’
I think click-block is added by ionic ? If so how do I handle this in a protractor test ?