How can I use Protractor to search through a class, find a p tag in the class and verify some of its text?
<p>What I am trying to do is to find a way to use Protractor to locate a class and search through all of the p tags in that class to see if any of them contain "Glennville, GA" in the text.  </p>

<p>This is what I've been trying to do in my spec file:  </p>

<pre><code>it('should filter results by location', function() {
    browser.driver.wait(function(){
        return browser.driver.isElementPresent(by.id('jobLocationFilter'));
    });
    browser.driver.findElement(by.id('jobLocationFilter')).click();
    browser.driver.findElement(by.css('[value="5"]')).click();
    browser.driver.wait(function() {
        return browser.driver.isElementPresent(by.css('[class="Title"]'));
    });
});
</code></pre>

<p>Essentially, what I've done is selected an option from a drop down menu and I need to write an expect that verifies I've selected that option. I've tried a different number of ways of doing that, but I can't seem to find one that works for me.  </p>

<p>This is the HTML that I'm working with:  </p>

<pre><code>&lt;div class="jobEntry"&gt;
   &lt;span class="Title"&gt;
      &lt;a href="/rewrite_your_future/job_postings/122"&gt;Lead QA Test Engineer&lt;/a&gt;
   &lt;/span&gt;
   &lt;p&gt;Lead QA Engineer Glennville, GA&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>How to write the code to do what I need it to do? I haven't been able to figure it out.</p>

<p>Oh, and this is my .conf file in case that helps:</p>

<pre><code>exports.config = {
framework: 'jasmine',
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['spec.js']
}
</code></pre>