You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/ql-vscode/test/vscode-tests/activated-extension/databases/db-panel.test.ts
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,12 @@ import { AllCommands } from "../../../../src/common/commands";
21
21
jest.setTimeout(60_000);
22
22
23
23
describe("Db panel UI commands",()=>{
24
+
// This test has some serious problems:
25
+
// a) it runs twice: we couldn't find out why
26
+
// b) all tests use the same dbConfig file, hence the tests depend on ORDER and have to use the same list name!
27
+
// c) since we use a file watcher to update the config we sometimes need to wait (sleep) before accessing the config again
28
+
// d) we depend on highlighted list items when adding a repo to a list. If there's not enough time in between, a test might think a list is highlighted that doesn't exist anymore
0 commit comments