質問編集履歴
4
文字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -27,8 +27,6 @@
|
|
27
27
|
.click('input.button.button-primary')
|
28
28
|
|
29
29
|
.expect(Selector('.message').textContent).match(/\Campaign Name can't be blank./);
|
30
|
-
|
31
|
-
return
|
32
30
|
|
33
31
|
});
|
34
32
|
|
@@ -70,7 +68,7 @@
|
|
70
68
|
|
71
69
|
> 61 |
|
72
70
|
|
73
|
-
.expect(Selector('.message').
|
71
|
+
.expect(Selector('.message').textContent).match(/\Campaign Name can't
|
74
72
|
|
75
73
|
be blank./);
|
76
74
|
|
3
文字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
|
64
64
|
|
65
|
-
.navigateTo('https://staging-app.
|
65
|
+
.navigateTo('https://staging-app.sssss.com/apps/xxxxxxx/push_notifications/new')
|
66
66
|
|
67
67
|
59 | .typeText('#push_notification_name', ' ')
|
68
68
|
|
2
エラーメッセージの情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,11 +44,13 @@
|
|
44
44
|
|
45
45
|
```
|
46
46
|
|
47
|
+
1) AssertionError: expected 'Approx. displayable characters: 80-160
|
48
|
+
|
47
|
-
|
49
|
+
characters' to match /\Campaign Name can't be blank./
|
48
50
|
|
49
51
|
|
50
52
|
|
51
|
-
Browser: Chrome
|
53
|
+
Browser: Chrome 60.0.3112 / Linux 0.0.0
|
52
54
|
|
53
55
|
|
54
56
|
|
@@ -56,15 +58,77 @@
|
|
56
58
|
|
57
59
|
57 | .useRole(Admin)
|
58
60
|
|
61
|
+
58 |
|
62
|
+
|
63
|
+
|
64
|
+
|
59
|
-
|
65
|
+
.navigateTo('https://staging-app.repro.io/apps/j6kp2131/push_notifications/new')
|
60
66
|
|
61
67
|
59 | .typeText('#push_notification_name', ' ')
|
62
68
|
|
63
69
|
60 | .click('input.button.button-primary')
|
64
70
|
|
71
|
+
> 61 |
|
72
|
+
|
65
|
-
|
73
|
+
.expect(Selector('.message').innerText).match(/\Campaign Name can't
|
74
|
+
|
75
|
+
be blank./);
|
66
76
|
|
67
77
|
62 |});
|
78
|
+
|
79
|
+
63 |
|
80
|
+
|
81
|
+
64 |test('Push notification campaign name form is accept char
|
82
|
+
|
83
|
+
length of 0 < name < 256 ', async t => {
|
84
|
+
|
85
|
+
65 | const uuid = uuidv4();
|
86
|
+
|
87
|
+
66 | await t
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
at match
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
(/home/circleci/repo/tests/fixtures/marketing/push_notification/push_ui_spec/push_ui_spec.js:61:49)
|
96
|
+
|
97
|
+
at test
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
(/home/circleci/repo/tests/fixtures/marketing/push_notification/push_ui_spec/push_ui_spec.js:55:1)
|
102
|
+
|
103
|
+
at markeredfn
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
(/home/circleci/repo/node_modules/testcafe/src/api/wrap-test-function.js:17:28)
|
108
|
+
|
109
|
+
at <anonymous>
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
(/home/circleci/repo/node_modules/testcafe/src/api/wrap-test-function.js:7:5)
|
114
|
+
|
115
|
+
at fn
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
(/home/circleci/repo/node_modules/testcafe/src/test-run/index.js:240:19)
|
120
|
+
|
121
|
+
at TestRun._executeTestFn
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
(/home/circleci/repo/node_modules/testcafe/src/test-run/index.js:236:38)
|
126
|
+
|
127
|
+
at _executeTestFn
|
128
|
+
|
129
|
+
(/home/circleci/repo/node_modules/testcafe/src/test-run/index.js:289:24)
|
130
|
+
|
131
|
+
|
68
132
|
|
69
133
|
```
|
70
134
|
|
1
エラーメッセージを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,8 +40,32 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
+
落ちた際のエラーメッセージは
|
44
|
+
|
45
|
+
```
|
46
|
+
|
43
|
-
|
47
|
+
1) AssertionError: expected 'Approx. displayable characters: 80-160 characters' to match /\Campaign Name can't be blank./
|
44
48
|
|
45
49
|
|
46
50
|
|
51
|
+
Browser: Chrome 72.0.3626 / Mac OS X 10.14.1
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
56 | await t
|
56
|
+
|
57
|
+
57 | .useRole(Admin)
|
58
|
+
|
59
|
+
58 | .navigateTo('https://staging-app.repro.io/apps/j6kp2131/push_notifications/new')
|
60
|
+
|
61
|
+
59 | .typeText('#push_notification_name', ' ')
|
62
|
+
|
63
|
+
60 | .click('input.button.button-primary')
|
64
|
+
|
65
|
+
> 61 | .expect(Selector('.message').textContent).match(/\Campaign Name can't be blank./);
|
66
|
+
|
67
|
+
62 |});
|
68
|
+
|
69
|
+
```
|
70
|
+
|
47
71
|
原因がわからず、どなたかご教示いただけないでしょうか。よろしくお願いします。
|