Skip to content

Commit fe200c7

Browse files
committed
Update client tests for new behavior
1 parent 04e4b15 commit fe200c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/web_client_specs/annotationSpec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ girderTest.promise.done(function () {
221221
return $('.h-elements-container .h-element').length === 1;
222222
}, 'point to be created');
223223
runs(function () {
224-
expect($('.h-elements-container .h-element .h-element-label').text()).toBe('point');
224+
expect($('.h-elements-container .h-element .h-element-label').text()).toBe('default point 1');
225225
expect($('.h-draw[data-type="point"]').hasClass('active')).toBe(true);
226226
// turn off point drawing.
227227
$('.h-draw[data-type="point"]').click();
@@ -275,7 +275,7 @@ girderTest.promise.done(function () {
275275
return $('.h-elements-container .h-element').length === 2;
276276
}, 'point to be created');
277277
runs(function () {
278-
expect($('.h-elements-container .h-element:last .h-element-label').text()).toBe('point');
278+
expect($('.h-elements-container .h-element:last .h-element-label').text()).toBe('default point 2');
279279
});
280280
checkAutoSave('drawn 1', 2, annotationInfo);
281281
});
@@ -311,7 +311,7 @@ girderTest.promise.done(function () {
311311
return $('.h-elements-container .h-element').length === 2;
312312
}, 'point to be created');
313313
runs(function () {
314-
expect($('.h-elements-container .h-element:last .h-element-label').text()).toBe('point');
314+
expect($('.h-elements-container .h-element:last .h-element-label').text()).toBe('default point 3');
315315
});
316316
checkAutoSave('drawn 1', 2, annotationInfo);
317317
});

0 commit comments

Comments
 (0)