thomas-lkf/autoQA — pull request #2 by TaylorChen1993 (2014-03-11 03:28:34+00:00)
Title: qa - TaylorChen1993 - ticket No - 5264

Codeception PHP Testing Framework v1.8.3
Powered by PHPUnit 3.7.32 by Sebastian Bergmann.

Selenium Tests (1) ----------------------------------------------
Trying to create a new draft poll (PollDraftCept.php)
Scenario:
* I am on page "/"
* I reload page
* I click "//div/i[@title="Login"]"
* I switch to i frame "login-frame"
* I fill field "#edit-name","tk25"
* I fill field "#edit-pass","popsugar25"
* I click "Log In"
* I wait for element "//li/a[@data-ga-label="profile-menu"]",60
* I am on page "/manage/new/poll"
* I wait for element ".editor_form_area_left input[type=radio]"
* I fill field "#edit-title","Question"
* I fill field "#pollbody","Body"
* I fill field "#edit-subtitle","Subtitle"
* I fill field "#edit-choice-0-chtext","Choice 1"
* I fill field "#edit-choice-1-chtext","Choice 2"
* I fill field "#edit-choice-2-chtext","Choice 3"
* I fill field "#edit-choice-3-chtext","Choice 4"
* I click ".control.addanother"
* I fill field "#edit-choice-4-chtext","Choice 5"
* I select option "#node-form div fieldset div.form-item div.form-item input","0"
* I select option "#edit-runtime","1 day"
* I fill field "#edit-alt_question","Question_Override"
* I fill field "#edit-syndication_source",""
* I fill field "#edit-taxonomy-tags-116","Tags"
* I fill field "#edit-taxonomy-tags-124","Hidden Tags"
* I fill field "#edit-taxonomy-tags-26","Celebrities"
* I fill field "#edit-taxonomy-tags-29","Event"
* I fill field "#edit-taxonomy-tags-38","Brands"
* I fill field "#edit-taxonomy-tags-77","Designers"
* I fill field "#edit-taxonomy-tags-27",""
* I fill field "#edit-taxonomy-tags-67","TV Show"
* I fill field "#edit-taxonomy-subhead_override","Subheader Override"
* I attach file "#edit-image","gallery1.jpeg"
* I check option "#edit-image_watermark"
* I fill field "#edit-search_title","taylor's poll draft"
* I check option "#edit-no_hover_pin"
* I attach file "#edit-pinterest_post_image_file","gallery2.jpg"
* I fill field "#edit-twittertitle","Twitter Title"
* I fill field "#edit-tweetcaption","Tweet Caption"
* I fill field "#edit-fbcaption","Facebook Caption"
* I fill field "#edit-frontpage_title","Front Page Title"
* I fill field "#edit-frontpage_teaser","Front Page Teaser"
* I attach file "#edit-front_page_image_file","gallery3.jpeg"
* I fill field "#edit-template_override","Node Template File Override"
* I fill field "#edit-page_template_override","Page Template File Override"
* I select option ".editor_form_area_left input[type=radio]","2"
* I fill field "#publish_on","2014-03-11 11:21:40"
* I uncheck option "#edit-promote_"
* I check option "#edit-proofread"
* I check option "#edit-sticky_"
* I check option "#edit-contestrules"
* I check option "#edit-filter_override"
* I check option "#edit-standout"
* I click "input.fancybutton"
* I wait for element ".form-item"
* I see "question",".post-title.ws-attribute"
FAIL

* I see "body",".content.clearfix.standard"
FAIL

* I see "choice 1",".form-item"
* I see "choice 2",".form-item"
* I see "choice 3",".form-item"
* I see "choice 4",".form-item"
* I see "choice 5",".form-item"
* I click ".fa.fa-pencil"
FAIL

-----------------------------------------------------------------

Time: 5.96 minutes, Memory: 10.25Mb

There were 3 failures:

---------
1) Failed to create a new draft poll in PollDraftCept.php
Sorry, I couldn't see "question",".post-title.ws-attribute":
Element located either by name, CSS or XPath '.post-title.ws-attribute' was not found on page.

Scenario Steps:
56. I see "question",".post-title.ws-attribute"
55. I wait for element ".form-item"
54. I click "input.fancybutton"
53. I check option "#edit-standout"
52. I check option "#edit-filter_override"
51. I check option "#edit-contestrules"
50. I check option "#edit-sticky_"

---------
2) Failed to create a new draft poll in PollDraftCept.php
Sorry, I couldn't see "body",".content.clearfix.standard":
Element located either by name, CSS or XPath '.content.clearfix.standard' was not found on page.

Scenario Steps:
57. I see "body",".content.clearfix.standard"
56. I see "question",".post-title.ws-attribute"
55. I wait for element ".form-item"
54. I click "input.fancybutton"
53. I check option "#edit-standout"
52. I check option "#edit-filter_override"
51. I check option "#edit-contestrules"

---------
3) Failed to create a new draft poll in PollDraftCept.php
Sorry, I couldn't click ".fa.fa-pencil":
Link or Button or CSS or XPath '.fa.fa-pencil' was not found on page.

Scenario Steps:
63. I click ".fa.fa-pencil"
62. I see "choice 5",".form-item"
61. I see "choice 4",".form-item"
60. I see "choice 3",".form-item"
59. I see "choice 2",".form-item"
58. I see "choice 1",".form-item"
57. I see "body",".content.clearfix.standard"

FAILURES!
Tests: 1, Assertions: 7, Failures: 3.