- Breaking internal API change: `updateGripCursor` moved to be class method of Selector rather than instance method - Breaking internal API change: `subpathIsClosed` moved to be class method of `Path` rather than instance method - Refactoring: Reuse utilities base64 encoder for SVG icons plugin - Docs (JSDoc): Fix return of the `mouseUp` (can also be an object) and `mouseDown` (may also be a boolean) of `pathActions`; other JSDoc additions/improvements
23 lines
771 B
JavaScript
23 lines
771 B
JavaScript
// https://github.com/DevExpress/testcafe
|
|
// https://devexpress.github.io/testcafe/documentation/test-api/
|
|
// https://github.com/helen-dikareva/axe-testcafe
|
|
import {Selector} from 'testcafe';
|
|
|
|
fixture`TestCafe UI tests`
|
|
.page`http://localhost:8000/editor/svg-editor.html`;
|
|
|
|
test('Editor - No parameters: Export button', async (t) => {
|
|
await t
|
|
.click('#dialog_buttons > input[type=button][value=OK]')
|
|
.click('#main_icon')
|
|
.expect(Selector('#tool_export')).ok('Has open button');
|
|
});
|
|
|
|
test('Editor - No parameters: Export button clicking', async (t) => {
|
|
await t
|
|
.click('#dialog_buttons > input[type=button][value=OK]')
|
|
.click('#main_icon')
|
|
.click('#tool_export')
|
|
.expect(Selector('#dialog_content select')).ok('Export dialog opens');
|
|
});
|