Swipe function works when running the individual tests but not when running the job

I created tests that contain a step for which I need the swipe function. When I run the tests individually, they run without any problems, but when I create a job with these tests, the swipe function is not working. I am using an android phone.