Category : protractor

I am trying to test a drag and drop feature in my angular app, but it’s not working. my test it(‘should plan a sprint’, async () => { let backlog = await browser.driver.findElement(by.id("backlog")); let sprint = await browser.driver.findElement(by.id("sprint")); let backlogRows = await backlog.findElements(by.tagName("tr")); for(let i = 2; i < 5; i++) { console.log(backlogRows[i]); await browser.actions().dragAndDrop(backlogRows[i], ..

Read more

After updating chrome driver to ChromeDriver 91.0.4472.19 The value attribute have dissapeared from the input elements. Protractor cannot access the value attribute. let x = await xDiv.getEl("#xInput").getAttribute(‘value’); // x = null Using the Chrome Dev Tools, I am also not able to see the value attribute of any input element in the markup. Using AngularJS ..

Read more

I’m trying to perform a specific key press (NumpadEqual) in protractor. Using protractor.Key.EQUALS won’t trigger the needed key and actually I cannot find a suitable way to achieve this. The documentation explains below is the way to go: browser.actions().sendKeys(protractor.Key.EQUALS).perform(); But how can press keys not specified in protractor.Key-list? The key I want to press has ..

Read more