-
Notifications
You must be signed in to change notification settings - Fork 682
feat(amazonq): Quick actions E2E UI tests and update to quickActionsHelper #7831
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
base: feature/ui-e2e-tests
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,19 @@ describe('Amazon Q Chat Quick Actions Functionality', function () { | |
await clearChat(webviewView) | ||
}) | ||
|
||
it('Quick Actions Test', async () => { | ||
it('/dev Test', async () => { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what behavior are these tests verifying? I would try to make it clear in the name. For example, Also, you could avoid some overhead by iterating through a list of these strings and creating a test for each one.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a really good idea, didn't think of that. Will implement! |
||
await clickQuickActionsCommand(webviewView, 'dev') | ||
}) | ||
it('/doc Test', async () => { | ||
await clickQuickActionsCommand(webviewView, 'doc') | ||
}) | ||
it('/transform Test', async () => { | ||
await clickQuickActionsCommand(webviewView, 'transform') | ||
}) | ||
it('/test Test', async () => { | ||
await clickQuickActionsCommand(webviewView, 'test') | ||
}) | ||
it('/review Test', async () => { | ||
await clickQuickActionsCommand(webviewView, 'review') | ||
}) | ||
}) |
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.
100 miliseconds is 0.1 seconds, is it worth putting a timeout for so little time?