void () { myFixture.configureByText(HtmlFileType.INSTANCE, "<caret>"); try { HtmlSettings.getInstance().AUTO_POPUP_TAG_CODE_COMPLETION_ON_TYPING_IN_TEXT = false; type("p"); assertNull(getLookup()); myFixture.completeBasic(); assertContainsElements(myFixture.getLookupElementStrings(), "<pre", "<p", "<picture"); } finally { HtmlSettings.getInstance().AUTO_POPUP_TAG_CODE_COMPLETION_ON_TYPING_IN_TEXT = true; } }