-
Notifications
You must be signed in to change notification settings - Fork 56
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
fix: Chat test dry run - Add VR class to the html #180
Conversation
@@ -42,7 +42,7 @@ function createHtml({ title, headImports, bodyImports, bodyContent }) { | |||
<link href="vendor.css" rel="stylesheet"> | |||
${headImports} | |||
</head> | |||
<body id="b"> | |||
<body id="b" class="awsui-visual-refresh"> |
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.
This is "demos" package, an example how to use our components.
But the actual usage of our @cloudscape-design/components
package does not need this class, so this is misleading.
Because it is a temporary workaround, setting it is fine, but let's leave a comment that it is not needed in real use-cases
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.
Also, we need to invite @michaeldowseza to discuss a long term solution here
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.
Added a comment.
Issue #, if available: AWSUI-60272
Description of changes: The chat test in dry run was failing because classic components were being used, adding the VR classname so the tests run with VR components instead. The test is now passing in this PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.