<commit_before>Acceptance tests for Subutai Social
===================================

In our tests we are using two testing libraries: **Serenity** + **Sikuli**

**Serenity** is an open source library that helps us write higher quality automated acceptance tests faster.

[http://thucydides.info](http://thucydides.info) based on JAVA.

**Sikuli** automates anything we are see on the screen. It uses image recognition to identify and control GUI components.
Open source too. 

[http://www.sikuli.org/](http://www.sikuli.org/) supporting JAVA.

For clicks by elements and testing plugins we using **Sikuli**, all another places we are verifying with **Serenity**.
Main blocks into Serenity: **Pages**, **Steps**, **DefSteps**, **Stories**

**Pages:** This is Java classes extended from PageObject class. Here we are writing all web elements for next work.

Base Pages          |
--------------------|-----------------------
AboutPage           |  LoginPage
AccountSettings      |  MonitoringPage
AdvancedPage        |  NetworkSettings
BazaarPage        |  PeerRegistrationPage
BlueprintsPage      |  PeerSettingsPage
CommonPages    |  PgpPlugin
ConsolePage        |  PluginIntegratorPage
ContainersPage  |  PluginsPage
EnvironmentsPage  |  ResourceHostsPage
HomePage         |  ResourceNodesPage
KurjunPage      |  RoleManagementPage
KurjunSettingsPage | TokensPage
TrackerPage      | UserManagementPage

**Steps:** Using Web Elements from Pages we creating base steps: clicks, enters, waits, types, etc.

**DefSteps:** Here we are using our Steps and concatenating them with JBehave high language level specification. (looks like as cucumber)

**Stories:** Using DefSteps we are creating testing story and scenarios for any verifications.

You are can run test on the local machines.
For this you need clone directory playbooks and run script <commit_msg>Update documentation for Acceptance tests use .md formatting<commit_after>Acceptance tests for Subutai Social
===================================

In our tests we are using two testing libraries: **Serenity** + **Sikuli**

**Serenity** is an open source library that helps us write higher quality automated acceptance tests faster.

[http://thucydides.info](http://thucydides.info) based on JAVA.

**Sikuli** automates anything we are see on the screen. It uses image recognition to identify and control GUI components.
Open source too. 

[http://www.sikuli.org/](http://www.sikuli.org/) supporting JAVA.

For clicks by elements and testing plugins we using **Sikuli**, all another places we are verifying with **Serenity**.
Main blocks into Serenity: **Pages**, **Steps**, **DefSteps**, **Stories**

**Pages:** This is Java classes extended from PageObject class. Here we are writing all web elements for next work.

Base Pages          |                      |
--------------------|-----------------------
AboutPage           |  LoginPage
AccountSettings      |  MonitoringPage
AdvancedPage        |  NetworkSettings
BazaarPage        |  PeerRegistrationPage
BlueprintsPage      |  PeerSettingsPage
CommonPages    |  PgpPlugin
ConsolePage        |  PluginIntegratorPage
ContainersPage  |  PluginsPage
EnvironmentsPage  |  ResourceHostsPage
HomePage         |  ResourceNodesPage
KurjunPage      |  RoleManagementPage
KurjunSettingsPage | TokensPage
TrackerPage      | UserManagementPage

**Steps:** Using Web Elements from Pages we creating base steps: clicks, enters, waits, types, etc.

**DefSteps:** Here we are using our Steps and concatenating them with JBehave high language level specification. (looks like as cucumber)

**Stories:** Using DefSteps we are creating testing story and scenarios for any verifications.

You are can run test on the local machines.
For this you need clone directory playbooks and run script 
{'fraction_non_alphanumeric': 0.11199154780771263, 'fraction_numerical': 0.0, 'mean_word_length': 3.7043478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '2054191', 'n_tokens_mistral': 1001, 'n_tokens_neox': 952, 'n_words': 409}