This file has been truncated, but you can view the full file.
This file contains 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
abajgat | |
abakusz | |
abál | |
abált | |
abaposztó | |
abárol | |
abba | |
abbahagy | |
abbahagyat | |
abbahagyogat |
This file contains 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
#!/bin/bash | |
sudo apt-get remove phantomjs | |
sudo unlink /usr/local/bin/phantomjs | |
sudo unlink /usr/local/share/phantomjs | |
sudo unlink /usr/bin/phantomjs | |
cd /usr/local/share |
This file contains 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
// assuming that our page object is saved to a separate file: | |
var page = require('./helloworld.pageobject.js'); | |
describe('angularjs hello world app testing', function() { | |
it('H1 tag should contain: "Hello Wrold!"', function() { | |
page.get(); | |
page.setName('world'); | |
page.titleShouldHaveText('Hello world!'); | |
}); | |
}); |
This file contains 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
var helloWorldPageObject = function() { | |
this.get = function() { | |
browser.get(''); | |
}; | |
this.title = element(by.id('title')); | |
this.titleShouldHaveText = function(value) { | |
expect(this.title.getText()).toBe(value); | |
}; |
This file contains 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
describe('angularjs hello world app testing', function() { | |
it('H1 tag should contain: "Hello Wrold!"', function() { | |
browser.get('http://localhost:8080/index.html'); | |
element(by.model('name')).sendKeys('world'); | |
var headerElement = element(by.id('title')); | |
headerElement.getText().then(function(text) { | |
expect(text).toEqual('Hello world!'); | |
}); | |
}); | |
}); |
This file contains 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
exports.config = { | |
seleniumAddress: ‘http://localhost:4444/wd/hub’, | |
specs: [‘helloworld-spec.js’] | |
}; |
This file contains 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
<!doctype html> | |
<html ng-app> | |
<head> | |
<title>My Angular App</title> | |
<script src=“https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js”></script> | |
</head> | |
<body> | |
<h1 id=“title”>Hello {{name}}!</h1> | |
<input type=“text” placeholder=“What is your name?” data-ng-model=“name” /> | |
</body> |