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

[Cypress] Fix failed test on v1.4.0 for the dashboard string changes #1588

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TachunLin
Copy link
Contributor

Which issue(s) this PR fixes:

Harvester issue: harvester/harvester#6407
Test sssue: #1535

What this PR does / why we need it:

Special notes for your reviewer:

  • Tested on the latest v1.4.0-rc1 cypress test result on Jenkins Harvester cypress test job # 114

  • According to the corresponding cypress test report

  • After the fix, the failed test reduced from 46 to 9
    image

@TachunLin TachunLin added the area/frontend-automation Implement with cypress label Oct 11, 2024
Copy link
Contributor

@noahgildersleeve noahgildersleeve left a comment

Choose a reason for hiding this comment

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

Just the one change and other than that LGTM. Thanks for updating all of the strings. I was seeing the same problems in my runs.

Comment on lines 70 to 75
type: 'S3',
endpoint: "http://172.19.99.205:9000",
bucketName: "cypress",
bucketRegion: "ecmlab",
accessKeyId: "minioadmin",
secretAccessKey: "minioadmin",
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like you hardcoded in some stuff instead of grabbing from the config/env file. You should change that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the check.
I have change back the S3 backup target setting.
Since we are migrating test environment to the new lab machines. I thinks it would be better to create a new PR to handle with S3 backup testcases along with the new minio settings.

@noahgildersleeve
Copy link
Contributor

@TachunLin you should also squash your commits before the PR merge.

@TachunLin
Copy link
Contributor Author

I just S3 backup target in the settings/setting.spec.ts and squash the commit.
Please check if it's ready to be merged. Thanks.

@TachunLin TachunLin changed the title [Cypress][Draft] Fix failed test on v1.4.0 for the dashboard string changes [Cypress] Fix failed test on v1.4.0 for the dashboard string changes Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend-automation Implement with cypress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants