/*global describe,it,element,by,takeScreenshot,expect*/

describe('sap.f.ShellBarVT', function() {
	'use strict';

	it('Test page loaded', function() {
		element(by.css(".sapUiBody")).click();
		expect(takeScreenshot()).toLookAs('initial');
	});

	it("Mega Menu Expanded", function() {
		element(by.id("__button3-internalBtn")).click();
		expect(takeScreenshot()).toLookAs("megaMenu_expanded");
	});

	it("ShellBar scale",function() {
		element(by.id("oTestBtnWidth")).click();
		expect(takeScreenshot()).toLookAs("shellBar-scale");
	});

	it("ShellBar click overflow button",function() {

		if (element(by.css(".sapFShellBarOverflowButton"))){
			element(by.css(".sapFShellBarOverflowButton")).click();
		}
		expect(takeScreenshot()).toLookAs("shellBar-overflow-button-clicked");
	});
});
/*global describe, it, element, by, takeScreenshot, expect, browser*/

describe('sap.f.ShellBarVT', function() {
	'use strict';

	browser.testrunner.currentSuite.meta.controlName = 'sap.f.ShellBar';

	it('Test page loaded', function() {
		element(by.css(".sapUiBody")).click();
		expect(takeScreenshot()).toLookAs('initial');
	});

	it("Mega Menu Expanded", function() {
		element(by.id("__button3-internalBtn")).click();
		expect(takeScreenshot()).toLookAs("megaMenu_expanded");
	});

	it("ShellBar scale",function() {
		element(by.id("oTestBtnWidth")).click();
		expect(takeScreenshot()).toLookAs("shellBar-scale");
	});

	it("ShellBar click overflow button",function() {

		if (element(by.css(".sapFShellBarOverflowButton"))){
			element(by.css(".sapFShellBarOverflowButton")).click();
		}
		expect(takeScreenshot()).toLookAs("shellBar-overflow-button-clicked");
	});
});

Update ownership for sap.f.ShellBar VT
[INTERNAL] Update ownership for sap.f.ShellBar VT

Problem: Visual test of sap.f.ShellBar didn`t
refer to any particular control.

Change-Id: I6d0db8bd2948012dc08b98b4d7fd0b1059e22a90
Solution: We added a reference to sap.f.ShellBar.
