describe('Praad App', function() {
  'use strict';

  describe('Offer list view', function() {
    var offers, clickPromise;

    beforeEach(function() {
      browser.get('/');
      offers = element.all(by.repeater('offer in offers'));
      clickPromise = element(by.model('userWantsProximal')).click().then(function() {
        return element(by.css('option[label=Tartu]')).click();
      });
    });

    it('should initially have 3 offers', function() {
      clickPromise.then(function() {
        expect(offers.count()).toBe(13);
      });
    });

    it('should filter the offer list as user types into the search box', function() {
      clickPromise.then(function() {
        element(by.model('query')).sendKeys('kana');

        expect(offers.count()).toBe(1);
        var title = offers.first().element(by.binding('offer.title')).getText();
        expect(title).toBe('Pekingi kana');
      });
    });
  });
});

@@ -251,16 +251,83 @@
 romise =
+ element(by.css('.icon-5')).click().then(function()%7B%0A        return
  element
@@ -341,25 +341,22 @@
 el('
-u
 se
-rWantsProximal
+lectedRegion
 ')).
@@ -373,32 +373,34 @@
 en(function() %7B%0A
+  
         return e
@@ -442,24 +442,36 @@
 )).click();%0A
+        %7D);%0A
       %7D);%0A  

fix e2e test