We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7346a4c commit 3aea6a4Copy full SHA for 3aea6a4
src/ng/directive/ngId.js
@@ -25,7 +25,7 @@ function idDirective() {
25
// Set id attribute to new value
26
element.attr('id', newId);
27
}
28
- };
+ }
29
30
};
31
@@ -45,7 +45,7 @@ function idDirective() {
45
return ids[0];
46
47
return idVal;
48
49
50
51
@@ -115,6 +115,9 @@ function idDirective() {
115
expect(ps.first().getAttribute('id')).toMatch(/bold/);
116
117
element(by.model('error')).click();
118
+ expect(ps.first().getAttribute('id')).toMatch(/bold/);
119
+
120
+ element(by.model('important')).click();
121
expect(ps.first().getAttribute('id')).toMatch(/red/);
122
});
123
0 commit comments