Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Conversation

@theBaldSoprano
Copy link

No description provided.

Gregory added 9 commits April 15, 2016 00:14
- rewrote all russian names and comms to english

- added to block WidgetTitle a WebElement widgetCity which is found by card-title_primary and returns the city of widget
- added to block WidgetTitle method getWidgetCity() that returns a widgetCity

- added to DefaultSteps a Step called "Should be city, mentioned in URL" which asserts that city mentioned in widget is that one refecenced from URL

- added neu test with title "City from widget must match city from URL" and a method public void shouldWidgetCityBeExpectedCity() which opens page, then asserts that cities matches
- further translations to english and names improvement

- added new block to "MainPage"class called "New weather widget"
  - it contains webElement with button and a method to get the instance of it

- additions to "DefaultSteps":
  - step "All elements should be seen" which checks if all widgets found in "Widgets list" is visible
  - step "Push "add new weather widget" button", which clicks the button
  - step "Push "add new weather widget" button N times", which clicks button N times
  -step "Exact number of elements should exist", whicj checks if there were created as much widgets as were expected

 - additions to  "WeatherWebTest" test class
   -added test "Widget must be added after pushing "add new widget" button", whisck checks if amount of widgets were incremented after pushing a button. Amount of pushes is set automatically.
added "remove" button and actions with it
- rewrote all russian names and comms to english

- added to block WidgetTitle a WebElement widgetCity which is found by card-title_primary and returns the city of widget
- added to block WidgetTitle method getWidgetCity() that returns a widgetCity

- added to DefaultSteps a Step called "Should be city, mentioned in URL" which asserts that city mentioned in widget is that one refecenced from URL

- added neu test with title "City from widget must match city from URL" and a method public void shouldWidgetCityBeExpectedCity() which opens page, then asserts that cities matches
- further translations to english and names improvement

- added new block to "MainPage"class called "New weather widget"
  - it contains webElement with button and a method to get the instance of it

- additions to "DefaultSteps":
  - step "All elements should be seen" which checks if all widgets found in "Widgets list" is visible
  - step "Push "add new weather widget" button", which clicks the button
  - step "Push "add new weather widget" button N times", which clicks button N times
  -step "Exact number of elements should exist", whicj checks if there were created as much widgets as were expected

 - additions to  "WeatherWebTest" test class
   -added test "Widget must be added after pushing "add new widget" button", whisck checks if amount of widgets were incremented after pushing a button. Amount of pushes is set automatically.
added "remove" button and actions with it
# Conflicts:
#	commons-module/src/test/java/ru/qatools/school/webtests/WeatherWidgetSmokeTest.java
#	pom.xml
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant