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