Skip to content

Commit eca3095

Browse files
authored
Disable flaky lightspeed ui tests (#1835)
* Roll mocha timeout back to 30s * Disable flakey lightspeed ui tests * Skip additional test case that is failing intermittently
1 parent 1e379f0 commit eca3095

4 files changed

+4
-4
lines changed

.mocharc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extension: ["ts"]
22
require: ts-node/register
33
package: "./package.json"
4-
timeout: 40003 # default is 2000
4+
timeout: 30003 # default is 2000
55
# most UI tests are >22s due to our current wait times and we do not want
66
# red slow marker to distract us until we sort that part yet. Red is expected
77
# to appear on unexpected long tests, not on an expected duration.

test/ui-test/lightspeedUiTestPlaybookExpTestNoExpTest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111

1212
config.truncateThreshold = 0;
1313

14-
describe("Verify playbook explanation features when no explanation is returned", function () {
14+
describe.skip("Verify playbook explanation features when no explanation is returned", function () {
1515
let editorView: EditorView;
1616

1717
beforeEach(function () {

test/ui-test/lightspeedUiTestPlaybookGenTest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { PlaybookGenerationActionEvent } from "../../src/interfaces/lightspeed";
2222

2323
config.truncateThreshold = 0;
2424

25-
describe("Verify playbook generation features work as expected", function () {
25+
describe.skip("Verify playbook generation features work as expected", function () {
2626
let workbench: Workbench;
2727
let webView: WebView;
2828

test/ui-test/lightspeedUiTestStatusBarAndExplorerViewTest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe("Verify the presence of lightspeed element in the status bar and the ex
3535
);
3636
expect(lightspeedStatusBarItem).not.to.be.undefined;
3737
});
38-
it("Ansible Lightspeed status bar item present when only lightspeed is enabled (with warning color)", async () => {
38+
it.skip("Ansible Lightspeed status bar item present when only lightspeed is enabled (with warning color)", async () => {
3939
const statusBar = new StatusBar();
4040
const editorView = new EditorView();
4141
const settingsEditor = await openSettings();

0 commit comments

Comments
 (0)