Skip to content

Commit 48249c6

Browse files
committed
add coverage of control properties add entry subdialog
Signed-off-by: Caolán McNamara <[email protected]> Change-Id: I97621a66ba87e199bca47137183e5f0c74614c78
1 parent ffd6a8a commit 48249c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cypress_test/integration_tests/desktop/writer/a11y_dialog_spec.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,10 @@ describe(['tagdesktop'], 'Accessibility Writer Tests', function () {
8787

8888
// ContentControlProperties dialog
8989
cy.then(() => {
90-
win.app.map.sendUnoCommand('.uno:InsertCheckboxContentControl');
91-
});
92-
helper.typeIntoDocument('{rightarrow}');
93-
cy.then(() => {
90+
win.app.map.sendUnoCommand('.uno:InsertDropdownContentControl');
9491
win.app.map.sendUnoCommand('.uno:ContentControlProperties');
9592
});
96-
handleDialog(1);
93+
handleDialog(1, '.uno:ContentControlProperties');
9794

9895
// Text ReadOnly info dialog
9996
helper.clearAllText();
@@ -171,6 +168,9 @@ describe(['tagdesktop'], 'Accessibility Writer Tests', function () {
171168
} else if (command == '.uno:InsertIndexesEntry') {
172169
cy.cGet('#new-button').click();
173170
handleDialog(level + 1);
171+
} else if (command == '.uno:ContentControlProperties') {
172+
cy.cGet('#add-button').click();
173+
handleDialog(level + 1);
174174
}
175175

176176
handleTabsInDialog(level);

0 commit comments

Comments
 (0)