<commit_before>/*global QUnit,sinon*/

(function ($, QUnit, sinon, Importance) {
	"use strict";

	jQuery.sap.registerModulePath("view", "view");

	sinon.config.useFakeTimers = true;

	var iRenderingDelay = 1000;
	var ANCHORBAR_CLASS_SELECTOR = ".sapUxAPAnchorBar";
	var HIERARCHICAL_CLASS_SELECTOR = ".sapUxAPHierarchicalSelect";

	QUnit.module("properties", {
		beforeEach: function () {
			this.anchorBarView = sap.ui.xmlview("UxAP-69_anchorBar", {
				viewName: "view.UxAP-69_AnchorBar"
			});
			this.oObjectPage = this.anchorBarView.byId("ObjectPageLayout");
			this.anchorBarView.placeAt('qunit-fixture');
			sap.ui.getCore().applyChanges();
		},
		afterEach: function () {
			this.anchorBarView.destroy();
			this.oObjectPage = null;
		}
	});

	QUnit.test("Show/Hide Bar", function (assert) {
		assert.expect(3); //number of assertions

		// test whether it is visible by default
		assert.strictEqual(jQuery(ANCHORBAR_CLASS_SELECTOR).length > 0, true, "anchorBar visible by default");
<commit_msg>[INTERNAL] sap.uxap - Unstable QUnit test tweaked<commit_after>/*global QUnit,sinon*/

(function ($, QUnit, sinon, Importance) {
	"use strict";

	jQuery.sap.registerModulePath("view", "view");

	sinon.config.useFakeTimers = true;

	var iRenderingDelay = 2000;
	var ANCHORBAR_CLASS_SELECTOR = ".sapUxAPAnchorBar";
	var HIERARCHICAL_CLASS_SELECTOR = ".sapUxAPHierarchicalSelect";

	QUnit.module("properties", {
		beforeEach: function () {
			this.anchorBarView = sap.ui.xmlview("UxAP-69_anchorBar", {
				viewName: "view.UxAP-69_AnchorBar"
			});
			this.oObjectPage = this.anchorBarView.byId("ObjectPageLayout");
			this.anchorBarView.placeAt('qunit-fixture');
			sap.ui.getCore().applyChanges();
		},
		afterEach: function () {
			this.anchorBarView.destroy();
			this.oObjectPage = null;
		}
	});

	QUnit.test("Show/Hide Bar", function (assert) {
		assert.expect(3); //number of assertions

		// test whether it is visible by default
		assert.strictEqual(jQuery(ANCHORBAR_CLASS_SELECTOR).length > 0, true, "anchorBar visible by default");

{'fraction_non_alphanumeric': 0.14383561643835616, 'fraction_numerical': 0.009784735812133072, 'mean_word_length': 4.793201133144476, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7387701', 'n_tokens_mistral': 784, 'n_tokens_neox': 708, 'n_words': 123}