Questions tagged [e2e]

146 questions
0
votes
0 answers

Performing click function on e2e button

Let me start by saying I never used angular and semi-new to javascript. I am using CEFSharp in a project. Most of the code I am using is based of document.getElementsByClassName and document.getElementById. I can get my program to perform the click…
Spontane
  • 1
  • 1
0
votes
1 answer

Zoom out by scrolling in a testcafe test

I have a map in my angular application OpenLayers map. During the test using testcafe, I have to zoom out, but I have no way how to do that. I only have to put my mouse at the center of the screen, and then scroll down to zoom out. Already tried…
David Oz
  • 73
  • 1
  • 9
0
votes
0 answers

How to disable chrome web security from protractor on linux?

How can we open chrome browser with disable web security from protractor on linux machine I have tried following, works on windows but not on linux capabilities: { 'browserName': 'chrome', 'chromeOptions': { useAutomationExtension:…
D.K
  • 80
  • 1
  • 12
0
votes
1 answer

cypress - start server and test - run both http mock server and socket server on React application

I would like to run an integration test with msw + cypress + start-server-and-test 1- I have msw as a mock on the react app itself (port 3000) 2- I have a socket.io server in port 5000 my question is how to run it properly to make sure…
Tuz
  • 1,810
  • 5
  • 29
  • 58
0
votes
1 answer

"run-multiple" command seem that it ignores "emulate" and all other options

I'm using "codeceptjs (3.0.2)" with the playwright helpers (1.4.2; if I run the command: codeceptjs run-multiple basic with this configuration: multiple: { basic: { chunks: process.env.THREADS || 30, browsers: [ { …
user2354037
  • 195
  • 2
  • 8
0
votes
1 answer

Protractor : e2e : I have a testcase in which I need to test whether that text is present or not

I have a test case in which I need to verify whether the API error toast message API service unavailable. Contact system admin displayed on top of the application is present or not. If the API error message is displayed then My test case should…
-1
votes
1 answer

exiting while loop inside promise or cypress conditionals

I can't get the results from Cypress that I'm looking for. I need to either use conditions or exit a function from a promise or depending on the results of a promise. As I say below, I've read the docs on conditions and still have…
-1
votes
1 answer

Unable to run chrome e2e on WSL

WSL protractor e2e test cannot start chrome, and threw below error E/launcher - unknown error: Chrome failed to start: exited abnormally. (chrome not reachable)
Amr Ibrahim
  • 2,066
  • 2
  • 23
  • 47
-2
votes
1 answer

TestCafe: How to wait for a specific element to appear in the dom?

I am writing some e2e tests with TestCafe, I am using the t.wait mechanism to wait for elements to appear on the page and in the dom, like this : await t.wait(10000); let sel=Selector("div").withAttribute('data-testid', 'something'); // continue…
ElVincitore
  • 355
  • 2
  • 12
-2
votes
1 answer

Cypress: Conditional AssertionError

Is there a way to NOT abort a test run if an AssertionError appears? My test case is dependent on CSS values and if I write a condition like the one below, cypress stops with an AssertionError: let dialog = cy.get('#privacy_dialog') if…
sunwarr10r
  • 4,420
  • 8
  • 54
  • 109
-3
votes
1 answer

Cypress - Get a string selector from html with space on it

I need to retrieve a selector from HTML with a space on it. element.value got the value of "My…
Hugo Seleiro
  • 2,467
  • 5
  • 26
  • 39
1 2 3
9
10