mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 17:27:22 +02:00
add test ids for casper tests
This commit is contained in:
parent
e519ff281b
commit
a998e5870d
2 changed files with 15 additions and 2 deletions
|
@ -29,46 +29,55 @@ var IntlHelperBarView = React.createClass({
|
|||
getItems: function() {
|
||||
return [{
|
||||
text: 'Git Branching',
|
||||
testID: 'english',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale en_US; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: '日本語版リポジトリ',
|
||||
testID: 'japanese',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale ja; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: 'Git 브랜치 배우기',
|
||||
testID: 'korean',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale ko; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: '学习 Git 分支',
|
||||
testID: 'simplifiedChinese',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale zh_CN; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: '學習 Git 分支',
|
||||
testID: 'traditionalChinese',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale zh_TW; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: 'español',
|
||||
testID: 'spanish',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale es_AR; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: 'português',
|
||||
testID: 'portuguese',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale pt_BR; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: 'français',
|
||||
testID: 'french',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale fr_FR; levels');
|
||||
}.bind(this)
|
||||
}, {
|
||||
text: 'Deutsch',
|
||||
testID: 'german',
|
||||
onClick: function() {
|
||||
this.fireCommand('locale de_DE; levels');
|
||||
}.bind(this)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue