Questions tagged [e2e-testing]

End-to-end testing is a methodology used to test whether the flow of an application is performing as designed from start to finish. The purpose of carrying out end-to-end tests is to identify system dependencies and to ensure that the right information is passed between various system components and systems.

3036 questions
1
vote
1 answer

Testcafe and Browserstack - Unable to find browser

I run want to run tests on a jenkins server. Locally the same code and credentials work. When i start the test-runner on the test-server i get: Unable to find the browser. "browserstack:chrome" is not a browser alias or path to an executable…
1
vote
1 answer

How to run a TestCafe test with CLI that contains a metadata array

I have a test with the following metadata: test.meta({ type: 'smoke', testcase: ['tc01', 'tc02'] }); The testcase metadata contains an array of id's that I would like to use them as filter for running the test using any of the values using the…
Lolpez
  • 849
  • 8
  • 17
1
vote
2 answers

Is it possible to increase the width of viewport in percy visual testing?

I am trying to increase the size of viewport in Percy visual testing because it does not take the screenshot of the whole page. my window has a scroll on x Axis and Percy does not take the screenshot of the whole page. Is it possible to do something…
Nizar Ali Hunzai
  • 257
  • 1
  • 2
  • 8
1
vote
1 answer

testcafe: Check for something after every click

I am testing a web app that renders some of its errors as HTML and gives no other indication that a problem occurred. After every click, I would like to see if a .error element exists. I know I could manually add this after every click, but it's…
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
1
vote
0 answers

How to test React Native Camera with E2E Detox with Mocha Runner

I am working one project for E2E testing react native with Detox but find a problem. I can not mock my camera to deal with detox E2E. Some of the documentation is there but it is hard to implement once there no working stuff. Any help would be…
Faris Rayhan
  • 4,500
  • 1
  • 22
  • 19
1
vote
2 answers

Capturing Selenium Web-driver Json-wire HTTP interactions

Selenium Webdriver interacts with any browser through HTTP, as discussed - here. I have some automated tests written using selenium through the Protractor framework in JavaScript. My use case is I want a clean way to record all interactions…
1
vote
2 answers

Can I use an embedded iframe?

I have a complex page structure with an iframe (#dialogFrameContent) embbed in another iframe (#migration-iframe). I'm using await t.switchToIframe('#dialogFrameContent') but I have the following error : The specified selector does not match any…
Sabou
  • 11
  • 1
1
vote
1 answer

Assert a URL redirection when second URL can not be resolved in TestCafe

I want to assert that the next URL gets resolved. It's a URL generated by SendGrid and changes one you search it in the browser. The problem is that to access the second you need access to our VPN. For security reasons I don't want to run the test…
1
vote
1 answer

Testcafe Hammerhead has a distinct behaviour on innerHTML with broken code

Trying to use Testcafe on a page which use dojo js library, its pagination component has broken HTML (dojo reference), browsers (Chrome, Firefox and Safari) handle it and fixed as desired, but testcafe-hammerhead treat it different and breaks the…
Jatezzz
  • 153
  • 2
  • 8
1
vote
1 answer

Testcafe - Unable to click on a button

I am trying to click on a button but for some weird reason, I am not able to. Here is the code. import { ClientFunction } from 'testcafe'; import { Selector } from 'testcafe'; fixture `Fixture` .page…
1
vote
1 answer

Docker "Failed to exec e2e script"

I have a project for Angular 9. I wrote tests and now I need to start all this from docker. I note that locally tests pass. My protractor.conf: // @ts-check // Protractor configuration file, see link for more information //…
1
vote
1 answer

How can I grab multiple elements with the same selector using async wdio?

I am using async wdio to test my react app and would like count some elements that have a particular selector as well as check for some things in them. This is what the code I am testing looks like:
theJuls
  • 6,788
  • 14
  • 73
  • 160
1
vote
1 answer

I am using Testcafe : Settings.json file. error shown in the node module

The path shown is "node_modules/qa-lib/src/step_definitions/*.js" but under node modules folder there is no qa-lib
1
vote
1 answer

Play video using testCafe on mobile

I am trying to test are webpage on mobile and its clicking the play button on a video but not playing the video. It runs fine on desktop browsers. I have tried the following commands testcafe remote test/testCafe/was_test.js -e…
1
vote
1 answer

Testcafe which remote browser did my test run in?

I use a custom browser provider - saucelabs - I'd like my custom reporter to know in which remote browser it ran so I can properly correlate the saucelabs video with a failed test. This obviously is only an issue with concurrency > 1 :) If a test…