DashboardScenes: Skip flaky scenes E2E tests (#89769)

skip flaky tests
This commit is contained in:
Sergej-Vlasov 2024-06-26 17:06:35 +03:00 committed by GitHub
parent ba4f2713c5
commit 3056e8310b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,8 @@
import testDashboard from '../dashboards/DashboardLiveTest.json'; import testDashboard from '../dashboards/DashboardLiveTest.json';
import { e2e } from '../utils'; import { e2e } from '../utils';
describe('Dashboard Live streaming support', () => { // Skipping due to flakiness/race conditions with same old arch test e2e/dashboards-suite/dashboard-live-streaming.spec.ts
describe.skip('Dashboard Live streaming support', () => {
beforeEach(() => { beforeEach(() => {
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD')); e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
e2e.flows.importDashboard(testDashboard, 1000); e2e.flows.importDashboard(testDashboard, 1000);

View File

@ -6,7 +6,8 @@ const DATASOURCE_ID = 'sandbox-test-datasource';
let DATASOURCE_CONNECTION_ID = ''; let DATASOURCE_CONNECTION_ID = '';
const DATASOURCE_TYPED_NAME = 'SandboxDatasourceInstance'; const DATASOURCE_TYPED_NAME = 'SandboxDatasourceInstance';
describe('Datasource sandbox', () => { // Skipping due to flakiness/race conditions with same old arch test e2e/various-suite/frontend-sandbox-datasource.spec.ts
describe.skip('Datasource sandbox', () => {
before(() => { before(() => {
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'), true); e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'), true);

View File

@ -43,8 +43,8 @@ function navigateToEditor(editorType: editorType, name: string): void {
e2e.components.DataSourcePicker.container().should('be.visible').click(); e2e.components.DataSourcePicker.container().should('be.visible').click();
cy.contains(name).scrollIntoView().should('be.visible').click(); cy.contains(name).scrollIntoView().should('be.visible').click();
} }
// Skipping due to flakiness/race conditions with same old arch test e2e/various-suite/prometheus-editor.spec.ts
describe('Prometheus query editor', () => { describe.skip('Prometheus query editor', () => {
it('should have a kickstart component', () => { it('should have a kickstart component', () => {
navigateToEditor('Code', 'prometheus'); navigateToEditor('Code', 'prometheus');
e2e.components.QueryBuilder.queryPatterns().scrollIntoView().should('exist'); e2e.components.QueryBuilder.queryPatterns().scrollIntoView().should('exist');