More on Integration Tests
Learn to get your integration test passing and reflect on the experience so far.
Unit tests are passing. Now what?
When we wrote the integration test in the beginning, we wanted our app to input tasks and display them. We then wrote tests to check that tasks are being saved and displayed. However, if you try running the integration test right now, it will fail:
TimeoutError: Waiting for element to be located By(xpath, //input[@placeholder='Enter new task'])
Wait timed out after 1042ms
Now, try to recall the difference between unit and integration tests. Unit tests check the system components in isolation. They should be working perfectly fine on their own. Integration tests check the system as a whole. But the reason they are failing ...
Access this course and 1400+ top-rated courses and projects.