Skip to main content

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).

4,916 questions with no upvoted or accepted answers
24 votes
2 answers
2k views

Testing endless scrolling RecyclerView with Espresso and RxJava

I have RecyclerView with endless scrolling. So when user reach last - 2 position in list, I call server for more data and during call in progress, I add one more item - progress one. Now, I'm trying ...
Divers's user avatar
  • 9,559
15 votes
1 answer
1k views

How to automate upgrade testing for android

We have been using espresso for android automation, and that includes upgrade testing For upgrade testing, we need to perform 3 steps: Make some actions in the old version to prepare some data ...
Sugre's user avatar
  • 861
13 votes
1 answer
3k views

Espresso check if no dialog is displayed

I have a method that checks several conditions, and calls another activity when they are satisfied. When a condition isn't satisfied, it should display an error dialog (which is currently using a ...
Matthew's user avatar
  • 7,580
11 votes
2 answers
3k views

Exclude Specifically Tagged tests from SBT when using ScalaTest

I'm having a lot of frustration trying to run all my tests from sbt- while excluding a specific tag. Here is what I am trying to run: testOnly * -- -l "com.my.project.path.tags.ValidationTest" I've ...
DanGordon's user avatar
  • 671
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 ...
Bohdan Nesteruk's user avatar
9 votes
0 answers
1k views

Flutter: installing dependencies on code magic failing

I'm trying to create automatic tests for my flutter project and I'm using codemagic for this. https://codemagic.io Anyways, everything works fine on my local machine; however, when I try to run it on ...
Mike1982's user avatar
  • 459
9 votes
3 answers
5k views

Can Selenium run directly (without adb) on Android devices?

I'm writing a web test automation app for Android, and wondering if there is a way to run chromedriver (Selenium) directly on the Android device (or bundle it with my app). I realize the normal way is ...
sacheie's user avatar
  • 768
9 votes
0 answers
152 views

Daydream (automated testing script writer) skipping random clicks, why is this?

Daydream is a chrome extension (by /segmentio on github) that records your actions into a Nightmare (automated testing) script. I'm trying to create a tutorial for how to use it but it is not ...
Blen's user avatar
  • 333
8 votes
2 answers
4k views

Azure Selenium Testing - "The STDIO streams did not close within 10 seconds of the exit event from process"

I have a Azure DevOps CI release that runs a massive number of selenium tests on the same server at the same time. Typically it works great, but occasionally my selenium test task will timeout due to ...
David Rogers's user avatar
  • 2,712
8 votes
1 answer
1k views

Cypress XHR is stubbed but is aborted instantly

I have a react app (CRA) that is interfacing with an API Gateway. It checks the API, if there is an announcement, display the component. My Cypress test is trying to intercept a page API call and ...
lockykeaney's user avatar
8 votes
1 answer
2k views

Cypress mocha-junit-reporter - pass test filename to reporter output filename

I'm using Cypress to run a suite of automated tests. The current version of cypress provides mocha-junit-reporter out of the box, and provides configuration options to pass to the reporter. One of the ...
mjg's user avatar
  • 181
8 votes
0 answers
331 views

Make ClojureScript compiler output multiple, independent .js files for use in Cypress

I'm trying to set up Cypress tests written in ClojureScript for a project that uses lein-cljsbuild. Using the following configuration, I'm able to compile a single test namespace into a single .js ...
kamituel's user avatar
  • 35.6k
8 votes
1 answer
727 views

How to prevent Monkey test from opening notification panel and turning OFF wifi?

I am performing Monkey testing on my Android app. While performing events, Monkey pulls down the notification panel and clicks on wifi/mobile data icons, hence turning them OFF. I am using this ...
Harminder Singh's user avatar
7 votes
0 answers
2k views

Is there a testing Framework for web-deployed Flutter applications?

I am wanting to automate and write tests for my Flutter deployed application. I am able to test the client side of Flutter apps on mobile using Appium & Codecept.js with no issues. (Built a ...
A. Petrizza's user avatar
  • 3,322
7 votes
1 answer
1k views

Opening deep link in integration test in Flutter

I'm trying to run an integration test which is highly dependent on the user clicking a magic link he got in his email. So far I failed to find a way of doing that. I came across Process.run but it ...
Marcin Szałek's user avatar

15 30 50 per page
1
2 3 4 5
328