Skip to content
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

Fixing the eShop catalog load issue for the UI tests #1548

Merged
merged 1 commit into from
May 14, 2024

Conversation

ytimocin
Copy link
Contributor

@ytimocin ytimocin commented May 7, 2024

Catalog is not loading in some cases in eShop on Containers.

This PR aims to fix this issue by adding page reloading mechanism: #1545.

@ytimocin ytimocin force-pushed the ytimocin/catalogLoadError branch 5 times, most recently from 3ba6223 to dc59967 Compare May 7, 2024 18:48
Copy link
Contributor

@kachawla kachawla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eshop-containers sample seems to be failing, is that related to the changes in this PR?

@ytimocin
Copy link
Contributor Author

ytimocin commented May 8, 2024

Eshop-containers sample seems to be failing, is that related to the changes in this PR?

@kachawla do you mean the test run or do you get an error when you deploy the application?

@kachawla
Copy link
Contributor

kachawla commented May 8, 2024

Eshop-containers sample seems to be failing, is that related to the changes in this PR?

@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 :)

@ytimocin
Copy link
Contributor Author

ytimocin commented May 8, 2024

Eshop-containers sample seems to be failing, is that related to the changes in this PR?

@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.

@ytimocin ytimocin force-pushed the ytimocin/catalogLoadError branch from dc59967 to bb62ecd Compare May 8, 2024 16:36
@kachawla
Copy link
Contributor

kachawla commented May 9, 2024

Eshop-containers sample seems to be failing, is that related to the changes in this PR?

@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.

I meant the approval workflow for this PR was failing, looks like it's not anymore. The changes look good to me


while (attempts < maxAttempts) {
try {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why the try/catch isn't needed anymore?

@ytimocin ytimocin force-pushed the ytimocin/catalogLoadError branch from f92dc65 to 57ecfb8 Compare May 14, 2024 17:06
@ytimocin ytimocin merged commit 7a0a7f8 into v0.33 May 14, 2024
8 checks passed
@ytimocin ytimocin deleted the ytimocin/catalogLoadError branch May 14, 2024 17:24
sk593 pushed a commit that referenced this pull request May 23, 2024
sk593 pushed a commit that referenced this pull request May 23, 2024
sk593 added a commit that referenced this pull request May 23, 2024
* update gh to ado sync workflow to use service principals (#1363)

* Make env configurable (#1046)

Signed-off-by: Reshma Abdul Rahim <[email protected]>

* 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 <[email protected]>

* Triggering workflow

Signed-off-by: ytimocin <[email protected]>

---------

Signed-off-by: ytimocin <[email protected]>

* Removing the run of the AKS workflow on PRs (#1051)

Signed-off-by: ytimocin <[email protected]>

* Update the timeout (30s) for Playwright

Signed-off-by: ytimocin <[email protected]>

---------

Signed-off-by: ytimocin <[email protected]>

* Use retry and update eshop playwright tests to wait for the catalog to appear (#1213)

Signed-off-by: ytimocin <[email protected]>

* update gh to ado sync workflow to use service principals

Signed-off-by: Will Tsai <[email protected]>

---------

Signed-off-by: Reshma Abdul Rahim <[email protected]>
Signed-off-by: ytimocin <[email protected]>
Signed-off-by: Will Tsai <[email protected]>
Signed-off-by: Will <[email protected]>
Co-authored-by: Reshma Abdul Rahim <[email protected]>
Co-authored-by: Yetkin Timocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

* Workflow and playwright test updates (#1360)

Signed-off-by: ytimocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

* Changing the place of page.reload in the tests (#1492)

Signed-off-by: ytimocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

* Adding a job that will purge AWS EKS clusters every 6 hours (#1462)

Signed-off-by: ytimocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

* Update all deps of all apps (#1536)

Signed-off-by: ytimocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

* Updating the runner of purge azure test resources workflow (#1537)

Signed-off-by: ytimocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

* Update purget test resources to fix the workflow failures (#1552)

Signed-off-by: ytimocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

* Fixing the eShop catalog load issue for the UI tests (#1548)

Signed-off-by: ytimocin <[email protected]>
Signed-off-by: sk593 <[email protected]>

---------

Signed-off-by: Reshma Abdul Rahim <[email protected]>
Signed-off-by: ytimocin <[email protected]>
Signed-off-by: Will Tsai <[email protected]>
Signed-off-by: Will <[email protected]>
Signed-off-by: sk593 <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Reshma Abdul Rahim <[email protected]>
Co-authored-by: Yetkin Timocin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants