- 
                Notifications
    
You must be signed in to change notification settings  - Fork 728
 
test: flaky walkthrough test #8236
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
Conversation
| 
           ⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done  | 
    
| 
           ✅ I finished the code review, and didn't find any security or code quality issues.  | 
    
| // When | ||
| await genWalkthroughProject('API', workspaceUri, 'python') | ||
| const genPromise = genWalkthroughProject('API', workspaceUri, 'python') | ||
| await getTestWindow().waitForMessage(/template.yaml already exist/) | 
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.
Test times out, is it unable to find this?
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.
probably the "scanning cloudformation template" warning shows up before the confirm overwrite popup, still working on it. I'm not able to repro the error in my local
          
  | 
    
| 
           ⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done  | 
    
| 
           ✅ I finished the code review, and didn't find any security or code quality issues.  | 
    
## Problem The test is checking for a popup to confirm overwrite of the SAM template. It is most likely getting blocked due to the "Scanning cloudformation template" warning popup that shows up before. ## Solution aws#3510 says disabling AWS SAM Codelens removes the aforementioned popup so I added a statement to disable the statement beforehand, and enabled it after this test runs so as not to impact other tests. --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
The test is checking for a popup to confirm overwrite of the SAM template. It is most likely getting blocked due to the "Scanning cloudformation template" warning popup that shows up before.
Solution
#3510 says disabling AWS SAM Codelens removes the aforementioned popup so I added a statement to disable the statement beforehand, and enabled it after this test runs so as not to impact other tests.
feature/xbranches will not be squash-merged at release time.