Fixing the eShop catalog load issue for the UI tests#1548
Conversation
3ba6223 to
dc59967
Compare
@kachawla do you mean the test run or do you get an error when you deploy the application? |
I meant test run for this PR :) |
Ah, yes! This is actually the error I am trying to fix, and it has an issue so that it can be tracked: #1545. |
dc59967 to
bb62ecd
Compare
I meant the approval workflow for this PR was failing, looks like it's not anymore. The changes look good to me |
bb62ecd to
0689755
Compare
0689755 to
f92dc65
Compare
| let itemAdded = false; | ||
|
|
||
| while (attempts < maxAttempts) { | ||
| try { |
There was a problem hiding this comment.
Can you explain why the try/catch isn't needed anymore?
Signed-off-by: ytimocin <ytimocin@microsoft.com>
f92dc65 to
57ecfb8
Compare
Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com>
Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com>
* update gh to ado sync workflow to use service principals (#1363) * Make env configurable (#1046) Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com> * Adding test AKS workflow to v0.32 (#1052) * Run functional tests every 2 hours and add another workflow that runs… (#1020) * Run functional tests every 2 hours and add another workflow that runs the tests on AKS instead of k3d Signed-off-by: ytimocin <ytimocin@microsoft.com> * Triggering workflow Signed-off-by: ytimocin <ytimocin@microsoft.com> --------- Signed-off-by: ytimocin <ytimocin@microsoft.com> * Removing the run of the AKS workflow on PRs (#1051) Signed-off-by: ytimocin <ytimocin@microsoft.com> * Update the timeout (30s) for Playwright Signed-off-by: ytimocin <ytimocin@microsoft.com> --------- Signed-off-by: ytimocin <ytimocin@microsoft.com> * Use retry and update eshop playwright tests to wait for the catalog to appear (#1213) Signed-off-by: ytimocin <ytimocin@microsoft.com> * update gh to ado sync workflow to use service principals Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com> --------- Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com> Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com> Signed-off-by: Will <28876888+willtsai@users.noreply.github.com> Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> Co-authored-by: Yetkin Timocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> * Workflow and playwright test updates (#1360) Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> * Changing the place of page.reload in the tests (#1492) Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> * Adding a job that will purge AWS EKS clusters every 6 hours (#1462) Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> * Update all deps of all apps (#1536) Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> * Updating the runner of purge azure test resources workflow (#1537) Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> * Update purget test resources to fix the workflow failures (#1552) Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> * Fixing the eShop catalog load issue for the UI tests (#1548) Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> --------- Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com> Signed-off-by: ytimocin <ytimocin@microsoft.com> Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com> Signed-off-by: Will <28876888+willtsai@users.noreply.github.com> Signed-off-by: sk593 <shruthikumar@microsoft.com> Co-authored-by: Will <28876888+willtsai@users.noreply.github.com> Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> Co-authored-by: Yetkin Timocin <ytimocin@microsoft.com>
Catalog is not loading in some cases in eShop on Containers.
This PR aims to fix this issue by adding page reloading mechanism: #1545.