jquery removal, isolate svgcavas from svgedit, tests
This commit is contained in:
@@ -20,7 +20,7 @@ describe('Fix issue 407', function () {
|
||||
<text fill="#000000" id="a_text" text-anchor="middle" x="260.5" xml:space="preserve" y="192.5">hello</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>`, {parseSpecialCharSequences: false});
|
||||
</svg>`, {force: true, parseSpecialCharSequences: false});
|
||||
cy.get('#tool_source_save').click();
|
||||
cy.get('#svg_1').click().dblclick();
|
||||
cy.get('#a_text').should('exist');
|
||||
@@ -30,6 +30,6 @@ describe('Fix issue 407', function () {
|
||||
.dblclick({force: true});
|
||||
// svgedit use the #text text field to capture the text
|
||||
cy.get('#text').type('1234', {force: true});
|
||||
cy.get('#a_text').should('have.text', 'he1234llo');
|
||||
cy.get('#a_text').should('have.text', 'hell1234o');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user