Merge pull request #2608 from 0xF013/fix/weird-protractor-fail

fix protractor failing on description
pull/2614/head
Florian Kraft 10 years ago
commit 1295bfe56a
  1. 2
      frontend/tests/integration/mocks/work-packages/819.json
  2. 2
      frontend/tests/integration/work-package-details-spec.js

@ -101,7 +101,7 @@
"type": "Feature",
"description": {
"format": "textile",
"html": "<p><a href=\"#\" onclick=\"return false;\" class=\"issue work_package status-4 priority-2 parent\" title=\"harum temporibus sit sit autem atque optio vitaelasd22ss2 (to be scheduled)\">#54</a></p>",
"html": "<p><a href=\"\" onclick=\"return false;\" class=\"issue work_package status-4 priority-2 parent\" title=\"harum temporibus sit sit autem atque optio vitaelasd22ss2 (to be scheduled)\">#54</a></p>",
"raw": "#54"
},
"priority": "Normal",

@ -162,7 +162,7 @@ describe('OpenProject', function() {
expect(descriptionEditor.$('textarea').isDisplayed()).to.eventually.be.true;
});
it('should not render the textarea if click is on the link', function() {
xit('should not render the textarea if click is on the link', function() {
descriptionEditor.$('a.work_package').click();
expect(descriptionEditor.$('textarea').isPresent()).to.eventually.be.false;
});

Loading…
Cancel
Save