<commit_before>/* eslint-env node */
/* global describe, it, takeScreenshot, browser, expect, protractor */

var utils = require("./cardVisualTestUtils");

describe("sap.ui.integration.CalendarCardVisualTests", function () {
	"use strict";

	browser.testrunner.currentSuite.meta.controlName = "sap.ui.integration.cards.CalendarContent";

	// open calendar card sample
	it("Calendar Card", function () {
		utils.navigateTo("Calendar Card");

		expect(takeScreenshot()).toLookAs("calendar_card_initialization");
	});

	// start tabbing
	it('Tab should move from header to left arrow', function() {
		// Act
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		// Assert
		expect(takeScreenshot()).toLookAs("CalCard_tab_to_left_arrow");
	});

	it('Tab should move from left arrow to today button', function() {
		// Act
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		// Assert
		expect(takeScreenshot()).toLookAs("CalCard_tab_to_today_button");
	});

	it('Tab should move from today button to right arrow', function() {
		// Act
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		// Assert
		expect(takeScreenshot()).toLookAs("CalCard_tab_to_right_arrow");
	});<commit_msg>[INTERNAL] sap.ui.integration.CalendarCard: visual test stabilised<commit_after>/* eslint-env node */
/* global describe, it, takeScreenshot, browser, expect, protractor */

var utils = require("./cardVisualTestUtils");

describe("sap.ui.integration.CalendarCardVisualTests", function () {
	"use strict";

	browser.testrunner.currentSuite.meta.controlName = "sap.ui.integration.cards.CalendarContent";

	// open calendar card sample
	it("Calendar Card", function () {
		utils.navigateTo("Calendar Card");

		expect(takeScreenshot()).toLookAs("calendar_card_initialization");
	});

	// start tabbing
	it('Tab should move from header to calendar and selected date in it', function() {
		// Act
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		// Assert
		expect(takeScreenshot()).toLookAs("CalCard_tab_to_calendar");
	});

	it('Tab should move from header to left arrow', function() {
		// Act
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		// Assert
		expect(takeScreenshot()).toLookAs("CalCard_tab_to_left_arrow");
	});

	it('Tab should move from left arrow to today button', function() {
		// Act
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		// Assert
		expect(takeScreenshot()).toLookAs("CalCard_tab_to_today_button");
	});

	it('Tab should move from today button to right arrow', function() {
		// Act
		browser.actions().sendKeys(protractor.Key.TAB).perform();
		// Assert
		expect(takeScreenshot()).toLookAs("CalCard_tab_to_right_arrow");
	});
{'fraction_non_alphanumeric': 0.1559100797679478, 'fraction_numerical': 0.0, 'mean_word_length': 5.103982300884955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5455748', 'n_tokens_mistral': 918, 'n_tokens_neox': 838, 'n_words': 166}