mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 09:53:24 +01:00
20 lines
559 B
TypeScript
20 lines
559 B
TypeScript
|
/// <reference types="cypress" />
|
||
|
describe('Edit Topic', () => {
|
||
|
beforeEach(() => {
|
||
|
// Remove storage for autosave ...
|
||
|
cy.visit('/editor.html');
|
||
|
cy.waitEditorLoaded();
|
||
|
cy.get('[test-id=2]').click();
|
||
|
});
|
||
|
|
||
|
it('Copy and Paste', () => {
|
||
|
cy.get(`[aria-label="Topic Style"]`).first().trigger('mouseover');
|
||
|
cy.get('body').type('{meta}c');
|
||
|
|
||
|
// Copy & Paste require permissions. More reseach needed.
|
||
|
// cy.get('body').type('{meta}v');
|
||
|
// cy.get('[test-id=50]').click();
|
||
|
// cy.matchImageSnapshot('copyandpaste');
|
||
|
});
|
||
|
});
|