add a small test in scenario.js

This commit is contained in:
jfh
2020-09-22 00:18:52 +02:00
parent a6d7a872f0
commit f663898dfd
4 changed files with 73 additions and 2 deletions

View File

@@ -67,4 +67,10 @@ describe('use various parts of svg-edit', function () {
.click({force: true});
testSnapshot();
});
it('check change color', function () {
cy.get('#svg_1').click({force: true});
cy.get('[data-rgb="#ffff00"]')
.click({force: true});
testSnapshot();
});
});