Skip to content

Wizard: add Filesystem customization test (HMS-5967) #3263

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

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

Conversation

ksiekl
Copy link
Contributor

@ksiekl ksiekl commented May 26, 2025

New test that checks the Filesystem customization. Wasn't sure about some stuff - helping comment would be appreciated!

@ksiekl ksiekl requested review from regexowl, avitova and tkoscieln May 26, 2025 13:24
await newPageAutomatic.waitForLoadState();
const finalUrlAutomatic = newPageAutomatic.url();
expect(finalUrlAutomatic).toContain(
'https://docs.redhat.com/en/documentation'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Idk if I should put in the whole URL, or just check that it goes to the documentation ❓

const size = frame
.getByRole('gridcell', { name: '1', exact: true })
.getByPlaceholder('File system');
await expect(size).toHaveValue('1');
Copy link
Contributor Author

@ksiekl ksiekl May 26, 2025

Choose a reason for hiding this comment

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

This check seems....silly. Is there any other way to find this element than by its placeholder and value?

Copy link

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@7c74277). Learn more about missing BASE report.
Report is 6 commits behind head on main.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3263   +/-   ##
=======================================
  Coverage        ?   84.67%           
=======================================
  Files           ?      187           
  Lines           ?    23521           
  Branches        ?     2455           
=======================================
  Hits            ?    19916           
  Misses          ?     3586           
  Partials        ?       19           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c74277...45b9f34. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant