title: Async await vs browser.wait approach difference
body: <p>Good morning,
  I have started refactoring tests cases in Protractor (Angular app). I found that test cases should be written with <code>async await</code> approach but also I tried <code>browser.wait</code> which I assume is equivalent of the mentioned approach. Is this right? Below I add code examples.</p>
  
  <pre><code>async function (msg) {
    await main.getMessagesFromConversation()
      .then((bodyMessage) =&gt; expect(bodyMessage).to.equal(msg));
  }
  </code></pre>
  
  <p>and the same with browser.wait</p>
  
  <pre><code>function (msg) {
    return browser.wait(main.getMessagesFromConversation()
      .then((bodyMessage) =&gt; expect(bodyMessage).to.equal(msg)), 5000);
  }
  </code></pre>