Skip to content
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

couple of settings tweaks from VS Code for our tests #6279

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

IanMatthewHuff
Copy link
Member

For #6234

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).

@IanMatthewHuff
Copy link
Member Author

I found this related VS Code issue, so giving a settings recommendation from there a shot.
microsoft/vscode#125733

@IanMatthewHuff IanMatthewHuff marked this pull request as ready for review June 14, 2021 21:36
@IanMatthewHuff IanMatthewHuff requested a review from a team as a code owner June 14, 2021 21:36
@@ -26,5 +26,6 @@
// We don't want jupyter to start when testing (DS functionality or anything else).
"jupyter.disableJupyterAutoStart": true,
"jupyter.logging.level": "debug",
"python.logging.level": "debug"
"python.logging.level": "debug",
"webview.experimental.useIframes": true
Copy link
Member Author

Choose a reason for hiding this comment

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

This was the vscode recommended setting change. They use it in their smoke tests.
microsoft/vscode#125733

@@ -111,6 +111,8 @@ async function start() {
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
launchArgs: baseLaunchArgs
.concat([workspacePath])
.concat(['--skip-welcome'])
Copy link
Member Author

Choose a reason for hiding this comment

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

Also saw these in their test files. Felt like they might be good for test stability so I added them as well.

@IanMatthewHuff IanMatthewHuff merged commit 6b1c4e9 into main Jun 14, 2021
@IanMatthewHuff IanMatthewHuff deleted the dev/ianhu/fixWebviewTests branch June 14, 2021 21:59
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.

4 participants