Skip to content

Commit 8a62c35

Browse files
Skip flaky AD release tests (#2119)
Signed-off-by: Jackie Han <hnyng@amazon.com>
1 parent 867fc37 commit 8a62c35

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/anomaly-detection-release-e2e-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
uses: ./.github/workflows/release-e2e-workflow-template.yml
2424
with:
2525
test-name: Anomaly Detection
26-
test-command: env CYPRESS_NO_COMMAND_LOG=1 yarn cypress:run-with-security --browser electron --spec 'cypress/integration/plugins/anomaly-detection-dashboards-plugin/*'
26+
test-command: env CYPRESS_NO_COMMAND_LOG=1 yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/anomaly-detection-dashboards-plugin/*'

cypress/integration/plugins/anomaly-detection-dashboards-plugin/sample_detector_spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
import { createSampleDetector } from '../../../utils/helpers';
77
import { AD_URL } from '../../../utils/plugins/anomaly-detection-dashboards-plugin/constants';
88

9-
context('Sample detectors', () => {
9+
// TODO: Unskip after the sample detector create flow is stable in 3.8 release CI.
10+
// PR validation repeatedly timed out waiting for viewSampleDetectorLink after
11+
// clicking different sample detector buttons.
12+
context.skip('Sample detectors', () => {
1013
before(() => {
1114
cy.visit(AD_URL.OVERVIEW, { timeout: 10000 });
1215
});

cypress/integration/plugins/anomaly-detection-dashboards-plugin/vis_augmenter/view_anomaly_events_spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ describe('View anomaly events in flyout', () => {
6666

6767
afterEach(() => {});
6868

69-
it('Action does not exist if there are no VisLayers for a visualization', () => {
69+
// TODO: Re-enable after the Cypress menu update flake is fixed.
70+
it.skip('Action does not exist if there are no VisLayers for a visualization', () => {
7071
cy.getVisPanelByTitle(visualizationName)
7172
.openVisContextMenu()
7273
.getMenuItems()

0 commit comments

Comments
 (0)