Cucumber features

3 scenarios ( 2 passed)
39 steps ( 28 passed)

Feature:

User Journies
Scenarios
2/3
passed
Steps
28/39
passed
Scenario: Login And Buy Single Product Deal CC And Check My Account
Given I am logged in as "test.myaccount@wowcher.co.uk"
And I wait user homepage to load
And I am on "/deals/bradford"
When I click to buy first main deal
Then I should see "your order summary" in the "payment summary" area
And I wait for payment gateway
When I click the "pay" button
And I wait for payment to complete
Then I should see "your order has been placed successfully and your voucher is listed below" in the "payment success message" area
Scenario: Registration And Buy Product Deal CC And Check My Account
Given I am on the "login" page
And I fill in "user id" with "randomemail"
And I click the "next" button
Then I should see "create your password" in the "create password notification" area
And I fill in "password" with "Sunshine99!@"
And I fill in "confirm password" with "Sunshine99!@"
When I click the "next" button
And I wait user homepage to load
And I am on "/deals/bradford"
When I click to buy first main deal
Then I should see "your order summary" in the "payment summary" area
And I wait for payment gateway
And I switch to iframe "braintree-dropin-frame"
And I complete valid cc details
And I switch away from iframe "braintree-dropin-frame"
When I click the "pay" button
And I wait for payment to complete
Then I should see "your order has been placed successfully and your voucher is listed below" in the "payment success message" area
Scenario: Facebook Login And Buy Product Deal And Check My Account
Given I am on the "login" page
And I click the "facebook login" button
                
                    NoSuchElementError: No element found using locator: By.cssSelector(".btn-fbbb")
    at new bot.Error (C:\Users\paul.littlebury\projects\living-social-automation\node_modules\selenium-webdriver\lib\atoms\error.js:108:18)
    at C:\Users\paul.littlebury\projects\living-social-automation\node_modules\protractor\lib\element.js:676:15
    at [object Object].promise.Promise.goog.defineClass.invokeCallback_ (C:/Users/paul.littlebury/projects/living-social-automation/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:1337:14)
    at [object Object].promise.ControlFlow.goog.defineClass.goog.defineClass.abort_.error.executeNext_.execute_ (C:/Users/paul.littlebury/projects/living-social-automation/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:2776:14)
    at [object Object].promise.ControlFlow.goog.defineClass.goog.defineClass.abort_.error.executeNext_ (C:/Users/paul.littlebury/projects/living-social-automation/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:2758:21)
    at goog.async.run.processWorkQueue (C:\Users\paul.littlebury\projects\living-social-automation\node_modules\selenium-webdriver\lib\goog\async\run.js:124:15)
    at process._tickCallback (node.js:401:9)
Error
    at [object Object].ElementArrayFinder.applyAction_ (C:\Users\paul.littlebury\projects\living-social-automation\node_modules\protractor\lib\element.js:382:21)
    at [object Object].ElementArrayFinder.(anonymous function) [as click] (C:\Users\paul.littlebury\projects\living-social-automation\node_modules\protractor\lib\element.js:78:17)
    at [object Object].ElementFinder.(anonymous function) [as click] (C:\Users\paul.littlebury\projects\living-social-automation\node_modules\protractor\lib\element.js:711:7)
    at World.<anonymous> (C:\Users\paul.littlebury\projects\living-social-automation\e2e\step-definitions\general.js:25:56)
    at nextTickCallbackWith0Args (node.js:452:9)
    at process._tickCallback (node.js:381:13)
                
            
When I login with facebook
And I wait user homepage to load
And I am on "/deals/bradford"
When I click to buy first main deal
And I click the "next" button
Then I should see "your order summary" in the "payment summary" area
And I wait for payment gateway
And I click the "pay" button
And I wait for payment to complete
Then I should see "your order has been placed successfully and your voucher is listed below" in the "payment success message" area

Scenario statistics

Your browser doesn't support HTML5 Canvas.

Legend:

passed
failed