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

Merged
merged 1 commit into from
Nov 13, 2024

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 TachunLin force-pushed the cypress-140-string-fix branch from a22ae3d to 5d505ca Compare October 18, 2024 14:13
@TachunLin TachunLin force-pushed the cypress-140-string-fix branch from be8e2e2 to fb04229 Compare November 1, 2024 06:07
@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
@TachunLin TachunLin force-pushed the cypress-140-string-fix branch from fb04229 to fb7a070 Compare November 13, 2024 10:01
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.

LGTM

@khushboo-rancher khushboo-rancher merged commit b9d3752 into harvester:main Nov 13, 2024
4 checks passed
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.

3 participants