Jasmine BDD vs Integration Tests
- by lfender6445
Lets say I need to write a test for the front end.
A user visits buysomething.com,
saves something to their wishlist,
and a saved item count is updated.
DOM gets manipulated.
In my heart I feel this is better suited as an integration test - but my team is currently using jasmine to load fixtures and test such interactions. This leads to extremely brittle tests as they are reliant on a static fixture instead of the actual markup.
Are we misusing jasmine here?