diff --git a/samples/irs-demo/src/system-test/kotlin/IRSDemoDockerTest.kt b/samples/irs-demo/src/system-test/kotlin/IRSDemoDockerTest.kt
index b40e829c9f..cce25fa4f3 100644
--- a/samples/irs-demo/src/system-test/kotlin/IRSDemoDockerTest.kt
+++ b/samples/irs-demo/src/system-test/kotlin/IRSDemoDockerTest.kt
@@ -72,15 +72,9 @@ class IRSDemoDockerTest {
 
         //Wait for deals to appear in a rows table
         val dealsList = driverWait.until<WebElement>({
-            makeScreenshot(driver, "second")
             it?.findElement(By.cssSelector("table#deal-list tbody tr"))
         })
 
         assertNotNull(dealsList)
     }
-
-    private fun makeScreenshot(driver: PhantomJSDriver, name: String) {
-        val screenshotAs = driver.getScreenshotAs(OutputType.FILE)
-        Files.copy(screenshotAs.toPath(), Paths.get("/Users", "maksymilianpawlak", "phantomjs", name + System.currentTimeMillis() + ".png"), StandardCopyOption.REPLACE_EXISTING)
-    }
 }