[MGNLTEST-258] Introduce network logs for requests sent by Chrome webdriver Created: 07/Jun/22 Updated: 24/Jun/22 Resolved: 22/Jun/22 |
|
| Status: | Closed |
| Project: | Magnolia Test Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.3 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Rishab Dhar | Assignee: | Rishab Dhar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 7.75h | Time Spent: | 7.75h |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| Template: |
|
|||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
|||||||||||||||||||||||||
| Epic Link: | SaaS TPR - SPA Tests | |||||||||||||||||||||||||
| Sprint: | DevX 12 | |||||||||||||||||||||||||
| Story Points: | 3 | |||||||||||||||||||||||||
| Team: |
| Description |
BackgroundAs part of Proposed solutionDisplay network logs for the following parameters for the requests sent by selenium web driver:
NoteIn light of the current state of tooling supported by Selenium 4, there is support available atleast for the chrome driver to capture network logs by attaching network event listeners to the devtools API. |
| Comments |
| Comment by Rishab Dhar [ 20/Jun/22 ] |
|
plequoc To perform the QA of the ticket:
In case the build is green or no the recording of the failed test shows SPA content rendered, to trigger a failure of the rendering, simply change the baseUrl to this baseUrl: "http://172.17.0.1:4300" in the decorating light module at magnolia-integration-tests/tests/src/test/resources/spa-test/templates/pages/page.yaml |