-
Notifications
You must be signed in to change notification settings - Fork 117
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
test(WebTerminal): add default state AVT check #5171
test(WebTerminal): add default state AVT check #5171
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is another case where we need to click on the web terminal in the global header in order to test this one properly.
There’s a few examples this in recent AVT PRs from Anna, Afsal, and Nandan.
packages/ibm-products/src/components/WebTerminal/WebTerminal.stories.jsx
Outdated
Show resolved
Hide resolved
packages/ibm-products/src/components/WebTerminal/WebTerminal.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more set of small changes. I think we should set a default or fallback for the aria label rather than requiring it. This will minimize impact to anyone using this component.
Should also reduce the repeated labels in stories and tests if you set it too. 🙂
packages/ibm-products/src/components/WebTerminal/WebTerminal.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one change with the prefix!
Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com>
e9441f5
…5171) * test(WebTerminal): add default state AVT check * test(WebTerminal): review changes * test(WebTerminal): review change * test(WebTerminal): review change * test(webterminal): review changes * test(WebTerminal): review changes * test(WebTerminal): resolve test issue * test(WebTerminal): review changes * test(WebTerminal): review change Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com> --------- Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com>
Closes #5090
Created
e2e/components/WebTerminal/WebTerminal-test.avt.e2e.js
What did you change?
e2e/components/WebTerminal/WebTerminal-test.avt.e2e.js
How did you test and verify your work?
yarn avt