-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OWASP ZAP] 会員管理 会員登録 #5330
[OWASP ZAP] 会員管理 会員登録 #5330
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.1 #5330 +/- ##
=========================================
Coverage 68.55% 68.56%
Complexity 6159 6159
=========================================
Files 463 463
Lines 25279 25279
=========================================
+ Hits 17331 17333 +2
+ Misses 7948 7946 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
await page.selectOption('select[name="admin_customer\\[address\\]\\[pref\\]"]', '1'); | ||
await page.fill('[placeholder="市区町村名\\(例:大阪市北区\\)"]', '大阪市北区梅田'); | ||
await page.fill('[placeholder="番地・ビル名\\(例:西梅田1丁目6-8\\)"]', '2-4-9'); | ||
await page.fill('[placeholder="例:ec-cube\\@example\\.com"]', 'taro_yamada@test.local'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
メールアドレスが固定されているため、 常に このメールアドレスは利用できません というエラーになってしまうようです。
entityManager->flush()
を抑制するパッチを当てる必要がありそうですが、いかがでしょうか。
await page.fill('input[name="admin_customer\\[birth\\]"]', '1980-04-01'); | ||
await page.fill('input[name="admin_customer\\[point\\]"]', '10'); | ||
await page.fill('textarea[name="admin_customer\\[note\\]"]', '国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語国語'); | ||
await page.click('button:has-text("登録")'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await page.click('button:has-text("登録")'); | |
await page.click('button >> text=登録'); |
で、いかがでしょうか?
}); | ||
}); | ||
|
||
test('ユーザ情報を入力します', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
エスケープ文字 \\
で煩雑な記述になっているため、ID 指定の方がシンプルに記述できそうですが、いかがでしょう?
@nanasess |
概要(Overview・Refs Issue)
Owasp ZAP 自動化: 管理画面 > 会員管理 会員登録 > 新規登録
方針(Policy)
実装に関する補足(Appendix)
テスト(Test)
手元の環境で動作確認を行っています。
相談(Discussion)
マイナーバージョン互換性保持のための制限事項チェックリスト
レビュワー確認項目