Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [automated-tests]

Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions. Commonly, test automation involves automating a manual process already in place that uses a formalized testing process (wikipedia.org).

automated-tests
0 votes
3 answers
21k views

CucumberException: Failed to instantiate class stepDefinitions When run tests

Please help. I think that there is a mistake when initializing the page public class AuthStepDefinitions { private final AuthPage authPage = new AuthPage(); @When("^user on Auth Page$") public void ...
1 vote
1 answer
1k views

Websockets closing connection immediately after handshake

I am trying to open a secure WebSocket and when connection is open, I want to send JSON request and to wait for response. Need it for automation BackEnd testing. But, I try this code and I get ...
0 votes
0 answers
12 views

Playwright Test runner struggles with clicking combobox elements and opening option lists. Inconsistent behaviour

Video1: https://drive.google.com/file/d/1BYTFZ5O_0dwTKAuS3siqiQseh8LcWYmH/view?usp=drive_link Video2: https://drive.google.com/file/d/1fyBVhQM2brEAdgJQNeRcLRtJNfXGnNMq/view?usp=drive_link Video3: ...
0 votes
0 answers
24 views

Problem accessing web elements using Cypress [closed]

I use Cypress and typescript. I ran into a problem. The page has a form with a button and input fields. Expected result: When you click the button, the input fields become available for editing. ...
0 votes
0 answers
8 views

Katalon Studio, Testcases disappear after pushing code and open other project

Recently, i made plenty changes and new testcases in my project. Then, i commited and pushed my code to my repository branch in Bitbucket. After that, i got some error like “Rejected bla bla bla”. But ...
13 votes
2 answers
9k views

Should I mock APIs in end-to-end testing?

When you are doing e2e tests for your application, you want to test the whole application, not some portions of it like unit tests or integration testing. But in some situations, people do mock APIs. ...
0 votes
0 answers
15 views

How to Test Performance, Scalability, CPU, and Memory Consumption of Rule Engines (Drools, NRules, Easy Rules)?

I am trying to test the performance, scalability, CPU, and memory consumption of my rule engine. I am using Drools, NRules, and Easy Rules but I'm new to this and don't know where to start. I haven't ...
9 votes
1 answer
7k views

Playwright: .toBeVisible() timeout is ignored

I faced an unclear behavior in the Playwright 1.18 toBeVisible() expectation. Here is the test row: await expect(this.page.locator('.top-row .close i')).toBeVisible({timeout: 2000 }) And if the ...
0 votes
0 answers
96 views

Google Signin not working with Low-Code automated testing tools

I am trying to set up low-code automated testing or my web app. I am specifically looking at Autify and Browserstack. These tools, in one of the various ways, drive the browser while executing the ...
1 vote
2 answers
162 views

BDD Story style [closed]

We using Behaviour Driven Development to develop a SOA system using Scrum and have come across two approaches to producing the stories. Approach 1 Given Specific Message Type is available And ...
2 votes
3 answers
477 views

Rendering iFrame in Cypress

Can anyone help me render the iFrame for the following page in Cypress. https://testnewpage.digitaldisbursements.org/ <iframe frameborder="0" title="Payment method selection ...
0 votes
0 answers
13 views

Issue with tests generating (magento. mftf)

mftf is new experience for me and sry if this question is to lamer When i execute the following command vendor/bin/mftf generate:tests the following result is appears: Warning: DOMXPath::query(): ...
0 votes
1 answer
48 views

How can I test that the PHP code under test calls the proper method on a trait?

Edit: After reading one of the comments, I realized I misspoke pretty badly in the original post, I've made some edits to clarify. Essentially, I need to check the results but am struggling with that ...
0 votes
1 answer
37 views

Run some tests in serial mode and some in parallel in the same file Playwright

In this example I have 4 tests in the same spec file, and I want 2 of them to be executed in serial mode and the other 2 to be executed in parallel. // a,b - to be executed in parallel mode test("...
5 votes
4 answers
10k views

Is there a way to force cypress to open in same tab instead of another tab [duplicate]

I know one of Cypress' trade-offs is testing on multiple tabs. However, our website default to opening another tab. Can I force Cypress to open on same tab to continue my tests? I have this code below ...

15 30 50 per page
1
2 3 4 5
886