docs(tutorial): change regexp so that assertion works
Need to remove this single space for the regex to work here. Apparently `getText()` is trimming the text content or something, because there is no good reason why that space should not be there. Closes #6985
This commit is contained in:
committed by
Caitlin Potter
parent
9682bd0c4e
commit
d53a787f0d
@@ -172,7 +172,7 @@ ngBindTemplate} directives, which are invisible to the user while the page is lo
|
||||
it('should display the current filter value within an element with id "status"',
|
||||
function() {
|
||||
var statusElement = element(by.id('status'));
|
||||
expect(statusElement.getText()).toMatch(/Current filter: \s*$/);
|
||||
expect(statusElement.getText()).toMatch(/Current filter:\s*$/);
|
||||
|
||||
element(by.model('query')).sendKeys('nexus');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user