From 64b4301d2e6891403a289166ad78c35982f04a8a Mon Sep 17 00:00:00 2001 From: m-akinc <7282195+m-akinc@users.noreply.github.com> Date: Fri, 1 Mar 2024 16:45:59 -0600 Subject: [PATCH] Disable intermittent test (#1892) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## ๐Ÿคจ Rationale New test is intermittent. Example failure: https://github.com/ni/nimble/actions/runs/8117617770/job/22190199901 ## ๐Ÿ‘ฉโ€๐Ÿ’ป Implementation Followed intermittent test procedure. ## ๐Ÿงช Testing N/A ## โœ… Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. --- ...le-components-e1907569-5f71-461a-8bd9-99272f8d9693.json | 7 +++++++ .../mention-listbox/tests/mention-listbox.spec.ts | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 change/@ni-nimble-components-e1907569-5f71-461a-8bd9-99272f8d9693.json diff --git a/change/@ni-nimble-components-e1907569-5f71-461a-8bd9-99272f8d9693.json b/change/@ni-nimble-components-e1907569-5f71-461a-8bd9-99272f8d9693.json new file mode 100644 index 0000000000..c3697a489c --- /dev/null +++ b/change/@ni-nimble-components-e1907569-5f71-461a-8bd9-99272f8d9693.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Disable intermittent test", + "packageName": "@ni/nimble-components", + "email": "7282195+m-akinc@users.noreply.github.com", + "dependentChangeType": "none" +} diff --git a/packages/nimble-components/src/rich-text/mention-listbox/tests/mention-listbox.spec.ts b/packages/nimble-components/src/rich-text/mention-listbox/tests/mention-listbox.spec.ts index 7ca98c067f..efb226a31f 100644 --- a/packages/nimble-components/src/rich-text/mention-listbox/tests/mention-listbox.spec.ts +++ b/packages/nimble-components/src/rich-text/mention-listbox/tests/mention-listbox.spec.ts @@ -35,7 +35,8 @@ describe('RichTextMentionListbox', () => { await waitAnimationFrame(); // necessary because scrolling is queued with requestAnimationFrame } - it('should scroll the selected option into view when opened', async () => { + // Intermittent test. See tech debt issue: https://github.com/ni/nimble/issues/1891 + xit('should scroll the selected option into view when opened', async () => { const { element, connect, disconnect } = await setup500Options(); await connect(); element.show({