Questions tagged [e2e]

146 questions
1
vote
2 answers

Protractor - Get Attribute Value returning null after after updating chrome version

Get Attribute Value returning null after updating to latest chrome version 91.0.4472.77. Before update it was working fine selector.getAttribute('value') => returning null Is there any alternative or solution for this ?
mahip_j
  • 368
  • 2
  • 11
1
vote
1 answer

How to pass my Docker credential before/while running e2e tests on Kubernetes

I am trying to run e2e tests on Kubernetes cluster but while running Pods are pulled from docker and the docker is using default username present in the git-hub and the limit is exceeding. I need to pass my docker user credential while running e2e…
1
vote
3 answers

Cypress e2e testing of a project, Enable or disable a it block dependent on condition

Suppose I have the following spec containing 2 it blocks, one checks the menu items for teacher role, and another one checks for student role. The variable rolesToCheck contains the roles on which basis it block will be activated, Currently, the…
1
vote
1 answer

Protractor config for Angular2+ e2e that works both for local run & in docker

Recently I spent quite a time to start e2e test to my project and incorporate it into build pipeline. A setup requires at least 2 nodes (mongodb + .Net5 backend with Angular client) so it is been decided to run all of this in docker. I've added…
Dmitry Gusarov
  • 1,469
  • 15
  • 22
1
vote
1 answer

How to efficiently clean up environment after cucumber E2E tests had run

The problem which I am encountering is related to E2E tests which will run all the time for new app builds (maybe even every few hours on CircleCi). I have ( and will have much more in the future ) features that contain a lot of setups ( necessary…
1
vote
2 answers

Issue with running e2e Angular tests in docker and setting up Chromium

I am setting up a docker container to run my Angular E2E tests. It seems that I am missing something when I set up Chromium. I am using Angular 11 with Protractor. My Dockerfile is FROM node:15.6.0 RUN apt-get update && \ …
Fred A
  • 116
  • 1
  • 6
1
vote
1 answer

Testing printing a page from a webapp (Cypress, Jest, Storybook???)

Let's say you just received the requirement about implementing a new feature in your webapp which should print on paper a section of that page. The requirement talks about optional elements to be part or not of the printed product. What is the best…
Miles
  • 83
  • 4
1
vote
0 answers

MSP432 : Error connecting to the target: (Error -615 @ 0x0)

I am trying to debug code on MSP432P401R design board using XDS110 emulator with CCSV 7.0.0.. When I debug code it is showing following error: CS_DAP_0: Error connecting to the target: (Error -615 @ 0x0) The target failed to see a correctly…
SAU
  • 21
  • 4
1
vote
1 answer
1
vote
1 answer

Python Selenium Random xpath click

I want my code to pick a random xpath from the web page and click on it every time i run my code, in Python with Selenium. Can you help me with it? Thank you.
Aprykot
  • 13
  • 2
0
votes
0 answers

cy.intercept return always uppercase body results, how to solve?

cy.intercept returns always uppercase body results; how to solve? I am using cy.intercept to get data from an API and compare it with the screen, so it is always returning uppercase values. With that said, my compare code is failing when using…
0
votes
0 answers

Detox build doesn't work (original one is)

So I'm using a react native application. When I'm building my app with the "classic" way, it's building well. When I'm trying to build with Detox, it's a complete mess, either it's in debug or release mode, and I can't make it works. Here is my…
Mayoul
  • 626
  • 10
  • 24
0
votes
2 answers

How to kill a container using kubernetes API?

I am trying to kill a container using client-go and e2e framework in Golang but not able to do it successfully. Example of the full implementation can be accessed e2e apart from this I am using kind image as "kindest/node:v1.26.6" I have tried the…
Aryaman
  • 15
  • 1
  • 2
0
votes
0 answers

cypress e2e testing. Openlayers pan

I am trying, unsuccessfully, to pan the map triggering events like pointerdown, pointermove and pointerup using cypress. This is the code I am using: cy.get('.ol-viewport') .trigger('pointerdown', { clientX: 465, clientY: 412, force:…
0
votes
0 answers

How to return item in getLocalStorage in cypress?

I tried many options utilizando to getLocalStorage in cypress, but doesn't worked cy.getLocalStorage('quanta_current_user').then((storageTest) => { cy.log(storageTest) if i use only 'quanta_current_user' i can get all response from…
skape
  • 3
  • 2