This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let nameInput, | |
greeting; | |
module.exports = { | |
init: () => { | |
nameInput = element(by.model('yourName')); | |
greeting = element(by.binding('yourName')); | |
}, | |
get: (string) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let specPage = require('../pages/spec.po.js'); | |
let chai = require('chai'); | |
let chaiAsPromised = require('chai-as-promised'); | |
chai.use(chaiAsPromised); | |
let expect = chai.expect; | |
Before(function(){ | |
specPage.init(); | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Fill the name | |
Scenario: Fill the name to see with hello | |
Given The user go to "https://angularjs.org/" | |
When The user adds "Tulio" in the name field | |
Then The user should see Hello with the username |
NewerOlder