Commit Graph

236 Commits

Author SHA1 Message Date
Cory Rivera
453f8e5525 Set cell preview mode when toggling edit mode. (#20220)
* Also fix leftover settings changes in markdown smoke test.
2022-08-03 09:36:24 -07:00
Cory Rivera
c37149ccfb Type out query text one letter at a time in autocompletion test. (#20222) 2022-08-01 16:59:28 -07:00
Cory Rivera
c2be6447b5 Prevent cell's edit mode from being incorrectly cleared when a text component is initialized. (#20120) 2022-07-22 10:22:56 -07:00
Karl Burtram
26455e9113 Merge vscode source through 1.62 release (#19981)
* Build breaks 1

* Build breaks

* Build breaks

* Build breaks

* More build breaks

* Build breaks (#2512)

* Runtime breaks

* Build breaks

* Fix dialog location break

* Update typescript

* Fix ASAR break issue

* Unit test breaks

* Update distro

* Fix breaks in ADO builds (#2513)

* Bump to node 16

* Fix hygiene errors

* Bump distro

* Remove reference to node type

* Delete vscode specific extension

* Bump to node 16 in CI yaml

* Skip integration tests in CI builds (while fixing)

* yarn.lock update

* Bump moment dependency in remote yarn

* Fix drop-down chevron style

* Bump to node 16

* Remove playwrite from ci.yaml

* Skip building build scripts in hygine check
2022-07-11 14:09:32 -07:00
Charles Gagnon
1c4269b2ac Add doc section for azdata-test (#19926) 2022-07-06 09:34:30 -07:00
Cory Rivera
24fc6dce9f Add uninstall step to manage packages smoke test to clean up installed packages. (#19854) 2022-06-29 10:23:29 -07:00
dependabot[bot]
d0d486cf43 Bump shell-quote from 1.7.2 to 1.7.3 in /test/smoke (#19797)
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 18:02:09 -07:00
Lewis Sanchez
0e09435285 Removes vscode download for smoke tests (#19795)
* Commenting out for now, but will delete in next commit

* Adds SQL carbon edit markers

* Uses multiline comments

* Formats file

* Code review changes

* Edit comment moved to same line

* Add ts-ignore directive to unused method
2022-06-23 12:19:49 -07:00
Cory Rivera
c9cfb94a22 Add python configuration step to each python smoke test so they can be run independently. (#19807) 2022-06-23 11:01:05 -07:00
Charles Gagnon
2911de58c2 Generate combined HTML coverage report (#19663) 2022-06-08 09:10:13 -07:00
Cory Rivera
7b1d34b2ce Display the installed Python version above the package versions in the manage packages dialog. (#19551) 2022-05-27 14:31:40 -07:00
Lucy Zhang
c0ad66b823 Enable manage packages smoke test (#19504)
* fix page being reset twice and add back smoke test

* add missing await

* check pyarrow info loaded

* install latest package version

* fix version select box selector

* split out into two PRs
2022-05-26 12:00:51 -07:00
Cory Rivera
793fe9c1f2 Also check for docs pane label in code cell completions test. (#19530) 2022-05-26 09:40:39 -07:00
Alan Ren
f3e7337196 Upgrade packages to remove dependency on the vulnerable package minimist 0.0.8 (#19455)
* new mocha version

* test fix

* test

* new vscodetestcov version

* use rc1

* use 1.2.1

* remove all 0.0.8 of minimist

* a few more
2022-05-20 10:06:13 -07:00
Cory Rivera
3eedbf04df Fix Python smoke test failures. (#19405) 2022-05-19 16:10:55 -07:00
Lucy Zhang
fe7ac55e97 skip test (#19351) 2022-05-11 18:01:14 -07:00
Cory Rivera
52782cfebd Add smoke test for saving a WYSIWYG cell. (#19284) 2022-05-04 20:52:22 -07:00
Lucy Zhang
2547754d0f Fix manage python packages smoke test (#19232)
* make sure cell is ran

* make sure dialog is gone before runing cell again

* ensure package is done installing

* show task panel

* remove comment

* pr comments

* pr comments

* add 7.0.0 package version
2022-05-04 06:19:51 -07:00
Barbara Valdez
bfd878bff7 skip test for now (#19260) 2022-05-02 10:37:15 -07:00
Barbara Valdez
5dd1cbeed8 Keyboard navigation smoke test (#18796) 2022-04-28 17:05:23 -07:00
Cory Rivera
b406dda13c Add smoke tests for cell toolbar keyboard shortcuts. (#19208) 2022-04-26 15:09:36 -07:00
Cory Rivera
40a2181953 Add smoke test for converting from Rich Text to Markdown. (#19151) 2022-04-19 17:28:54 -07:00
Lucy Zhang
e9b678494c skip manage packages test (#19089) 2022-04-14 10:54:15 -07:00
Lucy Zhang
fb07ba9e04 Add smoke test for manage packages wizard (#19018)
* start manage packages smoke test

* fix addpackage

* remove wait for loading spinner

* check cell output gone

* check wizard tab is done initializing
2022-04-13 07:50:15 -07:00
Charles Gagnon
a595fb8fd1 Inline source maps in dev build (#18970)
* Inline source maps in dev build

* Update readme

* correct command

* Use env var

* Update location
2022-04-07 16:39:08 -07:00
Cory Rivera
316798a9b5 Add cell toolbar tests for undoing text styling by clicking button twice. (#18807) 2022-04-06 10:02:51 -07:00
Karl Burtram
463271f0d9 Bump Electron to 13.6.6 (#18940)
* Bump Electron to 13.6.6

* Bump azuredatastudio-sqlite version in smoke tests
2022-04-05 16:44:17 -07:00
Cory Rivera
7c399e84eb Add markdown smoke tests for changing text size and inserting links (#18888)
* Temporarily disabled text size tests due to issues running on Unix.
2022-04-05 15:53:06 -07:00
dependabot[bot]
668f59ca2e Bump minimist from 1.2.5 to 1.2.6 in /test/smoke (#18812)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 09:25:21 -07:00
Cory Rivera
1fa453f8f2 Add smoke tests for text cell toolbar actions. (#18792) 2022-03-22 12:51:56 -07:00
Charles Gagnon
08b2d9668e Fix and enable core unit test coverage (#18781)
* Fix and enable core unit test coverage

* switch

* Fix coverage mapping

* don't output marked

* Fix filter check
2022-03-21 15:15:07 -07:00
Cory Rivera
79cda5cbe5 Add language picker to notebook cells. (#18601) 2022-03-02 10:25:55 -08:00
Charles Gagnon
00f98457e8 Add a couple Notebook smoke tests for rendering links/imgs (#18600) 2022-03-01 13:14:19 -08:00
Barbara Valdez
87d5da00bf Fix on click edit mode states (#18321)
* fix click code cell

* modified editmode when updating active cell
2022-02-16 15:52:05 -08:00
Karl Burtram
84c7afa6da Bump node-fetch to 2.6.7 (#18148)
* Bump node-fetch to 2.6.7

* Update more package.json

* Pull in new dependencies from the package bump
2022-01-24 16:15:49 -08:00
Aasim Khan
7b29c1fdac Fixing smoke tests in import where the status bar text was not found. (#18126) 2022-01-19 14:23:00 -08:00
Barbara Valdez
8378e89639 Fix Notebook Tree View smoke tests (#18101)
* pin SQL notebook
2022-01-19 09:44:34 -08:00
Lucy Zhang
4f18180672 fix screenshots (#18052) 2022-01-11 18:10:29 -08:00
Charles Gagnon
5d6ee47ee3 Fix smoke tests not running (#18027)
* Bump sqlite for new electron version

* distro

* Fix tests

* distro
2022-01-07 16:58:53 -08:00
Charles Gagnon
2bc6a0cd01 VS Code merge to df8fe74bd55313de0dd2303bc47a4aab0ca56b0e (#17979)
* Merge from vscode 504f934659740e9d41501cad9f162b54d7745ad9

* delete unused folders

* distro

* Bump build node version

* update chokidar

* FIx hygiene errors

* distro

* Fix extension lint issues

* Remove strict-vscode

* Add copyright header exemptions

* Bump vscode-extension-telemetry to fix webpacking issue with zone.js

* distro

* Fix failing tests (revert marked.js back to current one until we decide to update)

* Skip searchmodel test

* Fix mac build

* temp debug script loading

* Try disabling coverage

* log error too

* Revert "log error too"

This reverts commit af0183e5d4ab458fdf44b88fbfab9908d090526f.

* Revert "temp debug script loading"

This reverts commit 3d687d541c76db2c5b55626c78ae448d3c25089c.

* Add comments explaining coverage disabling

* Fix ansi_up loading issue

* Merge latest from ads

* Use newer option

* Fix compile

* add debug logging warn

* Always log stack

* log more

* undo debug

* Update to use correct base path (+cleanup)

* distro

* fix compile errors

* Remove strict-vscode

* Fix sql editors not showing

* Show db dropdown input & fix styling

* Fix more info in gallery

* Fix gallery asset requests

* Delete unused workflow

* Fix tapable resolutions for smoke test compile error

* Fix smoke compile

* Disable crash reporting

* Disable interactive

Co-authored-by: ADS Merger <karlb@microsoft.com>
2022-01-06 09:06:56 -08:00
Charles Gagnon
075d9a8268 Add troubleshooting to test docs (#17991) 2022-01-05 14:30:41 -08:00
Lucy Zhang
4ab2d3f8c0 add logging (#17940) 2021-12-16 05:55:57 -08:00
Lewis Sanchez
77e9d1c3a0 Corrects Web Build Pipeline ENOENT Error (#17656)
* Checks for successful directory creation

* Revert "Checks for successful directory creation"

This reverts commit 372409ef323f0d82e11992bc7bc33d607a7d5581.

* Checks for the existence of the logs directory before accessing.

* Adds SQL carbon edit comment

* Removing call to copy from non-existing directory.

* Removes unneeded import

* Checks for file existence before copying.

* Provides explanation for modification

* Replaces file existence check with exception handling.
2021-11-15 10:03:42 -08:00
Lewis Sanchez
1fabd233e9 Add logging to ADS Web smoke tests, and skip failing tests. (#17353)
* Adds loggings to ADS pipeline

* Skips notebook smoke tests for ADS web.

* Skips failing create book dialog tests in web build

* Ignores import tests ADS web

* Groups related tests together for ADS Web and non-web

* Updates distro commit hash
2021-10-18 19:46:45 -07:00
Lewis Sanchez
acc0122e8f Corrects keyboard shortcuts for Linux web smoke tests (#17301)
* Corrects keyboard shortcuts for linux

* Changed python to match the one listed in docker/Dockerfile

* Revert "Changed python to match the one listed in docker/Dockerfile"

This reverts commit 683c226eb600bc89b449f258d463d2a6b14aebe6.

* Adjusts retry count for dialog elements to close.

* Code clean up

* Revert "Adjusts retry count for dialog elements to close."

This reverts commit 64a8bf48fa72eb26830aeaa55721c7ff846d131e.

* Code cleanup

* Adjusts key binding
2021-10-11 10:26:21 -07:00
Lewis Sanchez
7fd72986d0 Enables smoke tests for ADS Web. (#17014)
* Adds smoketests for ADS web.

* Refines element selector for editor suggestion list

* Revert "Refines element selector for editor suggestion list"

This reverts commit 61b34cd07ab9fa16546d7aab5bce24c73559c6b0.

* Skip tests that timeout for not finding targeted DOM element

* Missed undoing a modification

* Reinstates skipped tests

* Removes unnecssary TODO

* Disables smoke tests for darwin

* Fixed indenting to resolve azure DevOps yaml error

* Updates server path based on setup doc

* Moves smoketests after extensions are built

* Corrects indentation

* Fixes indentation with bottom half of smoketests script

* Updates sqlite URL to latest release

* Yields correct ADS sqlite release version for web and non web

* removes accidental whitespace from previous commit

* Code review changes

* Additional review change

* update distro

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2021-09-10 16:51:38 -07:00
Lucy Zhang
30e26d63a4 Increase smoke test timeout and python installation timeout (#17035)
* add screenshots

* inc time

* fix comment, remove screenshot

* increase timeout only for python test

* comment
2021-09-10 06:44:35 -07:00
Lucy Zhang
9389ec9101 increase python installation timeout to 5min (#17019) 2021-09-08 06:24:37 -07:00
Charles Gagnon
73c20345e9 Revert change to unit test runner grep option (#16980) 2021-09-02 16:52:09 -07:00
Lucy Zhang
05d8ad4811 escape any open wizards after each test (#16938) 2021-08-30 14:56:28 -07:00