Questions tagged [end-to-end]

Flow Validation" is an innovative method employed to evaluate the accurate functionality of an application throughout its entire journey, right from initiation to conclusion. It proves extremely useful in scenarios where there is a requirement to apply tests, protocols, or any other desired actions to a series of servers encompassing both front-end and back-end components.

Troubleshooting problem with input fields in Protractor due to sendKeys malfunction

My current task involves automating end-to-end tests using Protractor on an Angular application. However, I've encountered an issue with sending keys to input fields. The sendKeys function consistently misses a few characters each time it is used, so ...

protractor: verifying the focus of a particular input field

Is there a way to check if an input field is currently in focus using protractor? I am attempting the following: it('should focus email field', function(){ expect(element(by.model('login.email')).getAttribute('id')).toEqu ...

Having difficulty choosing an element with protractor's virtual repeat functionality

Initially, I successfully used ng-repeat to select an element. However, the developers have since implemented virtual repeat which has caused the following code to stop working: expect(stores.listStores(0).getText()).toContain('Prahran'); expect(element.a ...

Configuration error with MultiCapabilities

Encountering an issue while utilizing multiCapabilities with two web browsers (Firefox and Chrome). Below is a snippet from my configuration: exports.config = { allScriptsTimeout: 11000, seleniumAddress: 'http://localhost:4444/wd/hub', baseUrl: 'h ...

The `Click()` functionality experiences malfunction in Protractor automation scripts

I am currently automating my tests using Protractor and Appium for an AngularJS website with the Jasmine framework in an iPad simulator. Although the sendkeys() function is working fine for entering the username and password, I am facing issues when clicki ...

Ways to extract text from a temporary element

Here is my HTML code: <div class="p-login-info" ng-show="loggedOut()">My text.</div> This is the corresponding JavaScript code: var e = element(by.className('p-login-info')); e.getText() .then(function(text){ var logoutText = ...

Evaluating h1 content in HTML using Angular Protactor testing

I am completely new to end-to-end testing. I have a login page in my application that should be displayed to users when they log out. However, I am facing an issue with retrieving the text from a specific div element containing an h1 tag, leading to unexpe ...

Need inspiration for testing web content with Protractor?

Exploring new possibilities for testing web content with Protractor. Any fresh ideas on what else can be tested? So far, I've checked links to ensure they redirect correctly. I've also verified text color and decoration changes when hovering ove ...

Tips on implementing local storage in cypress

I am encountering an issue with a simple test describe('Page Test', () => { it('button has "contact-next-disabled" class', () => { cy.get('.contact-next-disabled') }) }) Upon running the test, cypress displays an error message 34 ...