Questions tagged [e2e]

146 questions
0
votes
1 answer

Set UserAgent in Testcafe

I've searched related topics. The most significant I found is this Setting user-agent in browsers with testcafe But it doesn't provide any real aswers. My goal is to run the test spoofing a different OS: Since I'm in Linux and the app I'm testing…
user3303019
  • 142
  • 1
  • 11
0
votes
1 answer

update webdriver-manager errno: -54, code: 'ECONNRESET', syscall: 'read'

I work in a Lerna repo and want to do npx webdriver-manager update --versions.chrome=98.0.4758.80 for my e2e Tests I tried as well npx webdriver-manager update and npx…
0
votes
1 answer

Running ng e2e on Protractor with Cucumber in Angular gives EPERM: operation not permitted, rename error

I'm trying to use Protractor with Cucumber for an E2E testing on an Angular project. I have protractor v5.4.4 installed. The first time I ran ng e2e the tests ran successfully, the second time I got this error: EPERM: operation not permitted, rename…
dmdum
  • 1
  • 2
0
votes
0 answers

What are the 4 golden points to monitor Jenkins E2E server?

I have a task to monitor 4 golden signals of Jenkins E2E server. I already configured Latency, Network Throughput & Errors. Please let me know what metrics I should include along with other 3 metrics?
NITS
  • 11
  • 3
0
votes
1 answer

Cypress, get the numeric value of an attribute

To avoid going crazy again, is it possible to get the value of the htmlTemplateof this element? I would like to get the number of that foo, so just the number…
Luca
  • 335
  • 3
  • 19
0
votes
1 answer

cypress contains element display order

I'm writting e2e test with cypress: I would like to test the display of 2 modal popup: A and B in the IHM. But due to the network or the server latency, A may be displayed before B or B may be displayed before A. How write this kind of test with…
Oliv' G.
  • 3
  • 1
0
votes
1 answer

Cypress represent the OR in a loop

I am trying to test the input values of a table, but I cannot represent the OR, nor can I skip a cell of a table. the table is cycled, it has all positive values, except in a cell where in automatic it is negative so either I have to skip that cell,…
Luca
  • 335
  • 3
  • 19
0
votes
1 answer

Why does supertest/jest always call the same endpoint when I clearly insert a different path in my test? Is there some config I need to set?

this is my controller class: @Crud({ model: { type: InferenceFile, }, query: { join: { model: { eager: true, }, file: { eager: true, }, }, }, params: { id: { type: 'uuid', …
kato d
  • 5
  • 2
0
votes
0 answers

Cypress cy.request() is not passing

I'm stuck trying to run a test as a registered and logged in user with a custom command that sends a POST request and body. Then in the test suite in a beforeEach hook I try to create user and then log in: beforeEach(() => { …
Francis Lagares
  • 81
  • 5
  • 11
0
votes
2 answers

Cypress Code coverage within docker: failed to Fetch error

I use Cypress v7.5.0 with https://github.com/cypress-io/code-coverage installed. There is nothing special about the config and setup, it is just like in the description. I have a Vue3 test app running locally, inside a docker container. When I run…
Stiegi
  • 1,074
  • 11
  • 22
0
votes
1 answer

Can anyone see why my cy.waitUntil() command is not working, once evaluating a truthy value?

In this Cypress test I am attempting to utilize the cy.waitUntil npm package to wait for the non existence of a loading spinner to then continue running the tests without the risk of race conditions failing the tests in CI (currently the tests are…
Justin Oswald
  • 169
  • 1
  • 5
  • 13
0
votes
1 answer

Selenium: webelement not interactable

I'm doing an E2E test on an Angular/C# application with Selenium. I want to fill in a angular material form with Selenium. There are 2 form-fields: date1 and date2 Date1 works fine: I clear the field and fill in the new date: public void…
0
votes
1 answer

Running E2E tests with gitlab-runner's docker executor crashes with spawn chromedriver ENOENT error

I have an e2e tests project in protractor (v7) with chrome set as the target browser in the config.ts ... directConnect: true, multiCapabilities: [ { browserName: 'chrome', chromeOptions: { args: ["--headless",…
oomer
  • 159
  • 3
  • 13
0
votes
1 answer

Protractor module protractor-retry tests will not re-run and get Microsoft JScript compilation error when running on desktop

I am using protractor-retry version 2.0.1 and after the tests run I get this error: error message I cannot find any leads so that is why I am reaching out here. One of my co-workers gets the same error. It's failing to run this command (same as what…
0
votes
1 answer

Open multiple browser windows in 1 testcafe test

I'm trying to write a test with testcafe that could generate conflicts in a document. For this I would need to be logged in with 2 different users in 2 different browser sessions (One being an incognito window) and open up the documents editor with…
Dzsonah
  • 125
  • 1
  • 11
1 2 3
9
10