Skip to content
Snippets Groups Projects
Commit c3c215a4 authored by rhenck's avatar rhenck
Browse files

[e2e] Fix tests for changed text element edit button

parent 0914c751
No related branches found
No related tags found
No related merge requests found
Pipeline #56780 passed
import { addElement, addTextElement, setCheckbox } from '../util';
/* Adds text element as label for the droplist */
export function addList(title: string, options: string[] = [], settings?: Record<string, boolean>): void {
addTextElement(title);
addElement('Ablegeliste', '(Zu)Ordnung');
......
......@@ -82,7 +82,8 @@ export function assertValueChanged(id: string, value: any): void {
export function addTextElement(text: string): void {
addElement('Text');
cy.get('.text-text').click();
cy.get('aspect-element-model-properties-component')
.contains('edit').click();
cy.get('.ProseMirror p').clear();
cy.get('.ProseMirror p').type(text);
cy.contains('Speichern').click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment