online.git: cypress_test/integration_tests engine/sw

0 views
Skip to first unread message

"Caolán McNamara (via cogerrit)"

unread,
6:40 AM (10 hours ago) 6:40 AM
to collaboraon...@googlegroups.com
cypress_test/integration_tests/desktop/writer1/a11y_dialog_spec.js | 10 +++++++++-
engine/sw/uiconfig/swriter/ui/inputfielddialog.ui | 1 +
2 files changed, 10 insertions(+), 1 deletion(-)

New commits:
commit 9a909a024f25772d6bae1b8dfe53717290318a22
Author: Caolán McNamara <caolan....@collabora.com>
AuthorDate: Thu May 21 08:37:58 2026 +0100
Commit: Caolán McNamara <caolan....@collabora.com>
CommitDate: Mon May 25 10:40:38 2026 +0000

add new jsenabled dialog to a11y writer dialog coverage

Signed-off-by: Caolán McNamara <caolan....@collabora.com>
Change-Id: I77afeace44593f771b2ea83c2235053f41933a9d
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3028
Tested-by: Jenkins CPCI <rel...@collaboraoffice.com>
Reviewed-by: Parth Raiyani <parth....@collabora.com>

diff --git a/cypress_test/integration_tests/desktop/writer1/a11y_dialog_spec.js b/cypress_test/integration_tests/desktop/writer1/a11y_dialog_spec.js
index ace7782b5e50..b815c3d414c6 100644
--- a/cypress_test/integration_tests/desktop/writer1/a11y_dialog_spec.js
+++ b/cypress_test/integration_tests/desktop/writer1/a11y_dialog_spec.js
@@ -77,7 +77,7 @@ describe(['tagdesktop'], 'Accessibility Writer Dialog Tests', { testIsolation: f

cy.get('@uicoverageResult').then(result => {
expect(result.used, `used .ui files`).to.not.be.empty;
- // expect(result.CompleteWriterDialogCoverage, `complete writer dialog coverage`).to.be.true;
+ expect(result.CompleteWriterDialogCoverage, `complete writer dialog coverage`).to.be.true;
// TODO: make this true
// expect(result.CompleteCommonDialogCoverage, `complete common dialog coverage`).to.be.true;
});
@@ -430,6 +430,14 @@ describe(['tagdesktop'], 'Accessibility Writer Dialog Tests', { testIsolation: f
a11yHelper.handleDialog(win, 1);
});

+ it('InputField dialog', function () {
+ // SwFieldTypesEnum::Input == 16
+ cy.then(() => {
+ win.app.map.sendUnoCommand('.uno:InsertField?Type:short=16&Name:string=Question&Content:string=Default');
+ });
+ a11yHelper.handleDialog(win, 1);
+ });
+
it('ContentControlProperties dialog', function () {
// triple select to include table, then delete all
helper.typeIntoDocument('{ctrl}a');
diff --git a/engine/sw/uiconfig/swriter/ui/inputfielddialog.ui b/engine/sw/uiconfig/swriter/ui/inputfielddialog.ui
index 93b0a54791eb..b82fa6c158d0 100644
--- a/engine/sw/uiconfig/swriter/ui/inputfielddialog.ui
+++ b/engine/sw/uiconfig/swriter/ui/inputfielddialog.ui
@@ -173,6 +173,7 @@
<property name="vexpand">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="text-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes" context="inputfielddialog|text">Field value</property>
<property name="AtkObject::accessible-description" translatable="yes" context="inputfielddialog|extended_tip|text">This box displays the name that you entered in the Reference box on the Functions or Variables tab of the Fields dialog. The box underneath displays the contents of the field.</property>
</object>
</child>

Reply all
Reply to author
Forward
0 new messages