質問編集履歴
4
タイトルの修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
selenium
|
1
|
+
seleniumを起動しようとしてもエラーがでてしまい困っております...。
|
body
CHANGED
File without changes
|
3
WEBアプリ⇒todo-testに修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
3
|
https://hackernoon.com/a-guide-to-tdd-a-react-redux-todolist-app-part-1-b8a200bb7091
|
4
|
-
上記のWEBサイトのチュートリアルを使って、React.jsで
|
4
|
+
上記のWEBサイトのチュートリアルを使って、React.jsでtodo-listを作成しています。この記事の後半で、環境構築している中でe2e-testを実行しました。その作業の中でseleniumが起動しないというエラーが発生しました。下記がエラーメッセージになります。
|
5
5
|
|
6
6
|
|
7
7
|
|
2
test.jsを加えました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -47,7 +47,21 @@
|
|
47
47
|
|
48
48
|
export default App;
|
49
49
|
```
|
50
|
+
test.jsの中身
|
51
|
+
```test.js
|
52
|
+
const expect = require('chai').expect;
|
50
53
|
|
54
|
+
describe('TodoList App', () => {
|
55
|
+
it('Should load with the right title', () => {
|
56
|
+
browser.url('http://localhost:3000/');
|
57
|
+
const actualTitle = browser.getTitle();
|
58
|
+
|
59
|
+
expect(actualTitle).to.eql('Todo List');
|
60
|
+
});
|
61
|
+
});
|
62
|
+
|
63
|
+
```
|
64
|
+
|
51
65
|
### 試したこと
|
52
66
|
|
53
67
|
seleniumサーバーが起動しないということだったので、seleniumのテストを行いましたが、それもエラーが発生しました。下記がそのエラーメッセージになります。
|
1
初心者マークを着けました。カテゴリーを増やしました
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|