Skip to content

Commit 6353247

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

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
@@ -89,13 +89,10 @@ describe(['tagdesktop'], 'Accessibility Writer Tests', function () {
8989

9090
// ContentControlProperties dialog
9191
cy.then(() => {
92-
win.app.map.sendUnoCommand('.uno:InsertCheckboxContentControl');
93-
});
94-
helper.typeIntoDocument('{rightarrow}');
95-
cy.then(() => {
92+
win.app.map.sendUnoCommand('.uno:InsertDropdownContentControl');
9693
win.app.map.sendUnoCommand('.uno:ContentControlProperties');
9794
});
98-
handleDialog(1);
95+
handleDialog(1, '.uno:ContentControlProperties');
9996

10097
// Text ReadOnly info dialog
10198
helper.clearAllText();
@@ -173,6 +170,9 @@ describe(['tagdesktop'], 'Accessibility Writer Tests', function () {
173170
} else if (command == '.uno:InsertIndexesEntry') {
174171
cy.cGet('#new-button').click();
175172
handleDialog(level + 1);
173+
} else if (command == '.uno:ContentControlProperties') {
174+
cy.cGet('#add-button').click();
175+
handleDialog(level + 1);
176176
}
177177

178178
handleTabsInDialog(level);

0 commit comments

Comments
 (0)