質問編集履歴

4

タイトルの修正

2018/04/09 06:43

投稿

hajime-nagasaka
hajime-nagasaka

スコア6

test CHANGED
@@ -1 +1 @@
1
- selenium起動せず困っております...。
1
+ selenium起動しようとしてもエラーがでてしまい困っております...。
test CHANGED
File without changes

3

WEBアプリ⇒todo-testに修正

2018/04/09 06:43

投稿

hajime-nagasaka
hajime-nagasaka

スコア6

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  https://hackernoon.com/a-guide-to-tdd-a-react-redux-todolist-app-part-1-b8a200bb7091
6
6
 
7
- 上記のWEBサイトのチュートリアルを使って、React.jsでアプリを作成しています。この記事の後半で、環境構築している中でe2e-testを実行しました。その作業の中でseleniumが起動しないというエラーが発生しました。下記がエラーメッセージになります。
7
+ 上記のWEBサイトのチュートリアルを使って、React.jsでtodo-listを作成しています。この記事の後半で、環境構築している中でe2e-testを実行しました。その作業の中でseleniumが起動しないというエラーが発生しました。下記がエラーメッセージになります。
8
8
 
9
9
 
10
10
 

2

test.jsを加えました。

2018/04/09 06:42

投稿

hajime-nagasaka
hajime-nagasaka

スコア6

test CHANGED
File without changes
test CHANGED
@@ -96,6 +96,34 @@
96
96
 
97
97
  ```
98
98
 
99
+ test.jsの中身
100
+
101
+ ```test.js
102
+
103
+ const expect = require('chai').expect;
104
+
105
+
106
+
107
+ describe('TodoList App', () => {
108
+
109
+ it('Should load with the right title', () => {
110
+
111
+ browser.url('http://localhost:3000/');
112
+
113
+ const actualTitle = browser.getTitle();
114
+
115
+
116
+
117
+ expect(actualTitle).to.eql('Todo List');
118
+
119
+ });
120
+
121
+ });
122
+
123
+
124
+
125
+ ```
126
+
99
127
 
100
128
 
101
129
  ### 試したこと

1

初心者マークを着けました。カテゴリーを増やしました

2018/04/09 06:27

投稿

hajime-nagasaka
hajime-nagasaka

スコア6

test CHANGED
File without changes
test CHANGED
File without changes