title: protractor gives {[[PromiseStatus]]: "pending"} error
body: <blockquote>
    <p>I have an issue with 2 elements need to combine and check result with a label string. <br>       </p>
  </blockquote>
  
  <pre><code>    firstName = element(by.model("emergencyContactObject.firstName"));
      lastName = element(by.model("emergencyContactObject.lastName"));
  
      firstName.clear().sendKeys("firstName");
      lastName.clear().sendKeys("lastName");
  
      firstNameText = firstName.getText().then(function(fnm){
          return fnm;
      });
  
      browser.wait(firstNameText);
  
      lastNameText = lastName.getText().then(function(lnm){
          return lnm;
      });
  
      browser.wait(lastNameText);
  
      nameText = firstNameText+' '+lastNameText;
  
      var nameH3 = element(by.css('h3'));
  
      expect(nameH3.getText()).toBe(nameText);
  </code></pre>
  
  <h1>Protractor gives below error:<br></h1>
  
  <blockquote>
    <p>Expected 'frstName lastName' to be 'ManagedPromise::7999 {[[PromiseStatus]]: "pending"} ManagedPromise::8021 {[[PromiseStatus]]: "pending"}'</p>
  </blockquote>