function checkPopUpString(title, titleDescription) {
            var doc = $(testWindow.document),
                errorPopUp = doc.find(".error-dialog.instance"),
                heading = errorPopUp.find('.dialog-title'),
                description = errorPopUp.find('.dialog-message');

            // Test if the update bar has been displayed.
            //expect(errorPopUp.length).toBe(1);
            if (title) {
                expect(heading.text()).toBe(title);
            }
            if (titleDescription) {
                expect(description.text()).toBe(titleDescription);
            }
        }
Check the presence of Error Prompt String on Brackets Window
@param {String} title - Title String Which will be matched with Update Bar heading.
@param {String} description - description String Which will be matched with Update Bar description.