diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-03-21 12:09:54 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-03-22 12:17:52 +0100 |
commit | 626aae40b9407a1b044c33784dfd42dff784ad9c (patch) | |
tree | e1b15d580c537564972ef768bb5b74328e3208fe /web-ui/test/spec/mail_view/ui | |
parent | af6e08d901e9fc4bed46998ad16e02435912ed6d (diff) |
Issue #649: Refactor Tags
Diffstat (limited to 'web-ui/test/spec/mail_view/ui')
-rw-r--r-- | web-ui/test/spec/mail_view/ui/mail_view.spec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web-ui/test/spec/mail_view/ui/mail_view.spec.js b/web-ui/test/spec/mail_view/ui/mail_view.spec.js index 29be6c2d..093eddb8 100644 --- a/web-ui/test/spec/mail_view/ui/mail_view.spec.js +++ b/web-ui/test/spec/mail_view/ui/mail_view.spec.js @@ -58,9 +58,8 @@ describeComponent('mail_view/ui/mail_view', function () { testData.mail.tags = ['tag', 'other']; this.component.displayMail({}, testData); - var inboxTag = this.component.$node.find('.tag[data-tag="tag"]'); + var inboxTag = this.component.$node.find('.mail-read-view__header-tags-tag[data-tag="tag"]'); inboxTag.html('<em class="search-highlight">' + inboxTag.text() + '</em>'); - this.component.$node.find('.search-highlight').click(); expect(updateSpy).toHaveBeenTriggeredOn(document); |