The code:
describe("When adding a car to favorites", function() {
beforeEach(function() {
var add_car_btn = element(by.id('add-car'));
add_car_btn.click() // clicking the button sends the user to a new page with a table of cars
})
it("it should show up on the dashboard table", function() {
element.all(by.repeater('car in cars')).each(function(car) {