Skip to content

Conversation

@stepanenkoxx
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

E2E Tests

Playwright test results

passed  193 passed
flaky  7 flaky
skipped  2 skipped

Details

stats  202 tests across 111 suites
duration  3 minutes, 52 seconds
commit  3a29ded

Flaky tests

opensource › opensource-suites/dash/revisions/revisionsListWithCreationDashboards.test.ts › Dashboards - Versioning › Creating a dashboard, editing, saving as a draft, making the draft version relevant
opensource › opensource-suites/wizard/visualizations/bar-y/coloring.test.ts › Wizard › Bar-y chart › Coloring by Measure Values (gradient) @screenshot
opensource › opensource-suites/wizard/visualizations/flat-table/preview.test.ts › Wizard › Flat table › Event "chart-preview.done" is triggered after the table is rendered
opensource › opensource-suites/wizard/visualizations/flat-table/sorting.test.ts › Wizard › Flat table › Sorting dates with null values
opensource › opensource-suites/wizard/visualizations/pivot-table/pinned-columns.test.ts › Wizard › Pivot table › Pinned columns with subtotals @screenshot
opensource › opensource-suites/wizard/visualizations/pivot-table/sorting.test.ts › Wizard › Pivot table › Sorting a row by a field with a parameter
opensource › opensource-suites/wizard/visualizations/scatter/coloring.test.ts › Wizard › Scatter chart › Coloring by measure field (gradient) @screenshot

Skipped tests

opensource › opensource-suites/dash/revisions/revisionsList.test.ts › Dashboards - Versioning › Dashboard with a long list of revisions, checking the upload and the updated list of revisions
opensource › opensource-suites/dash/selectors/autoupdateRelatedSelectors.test.ts › Dashboards - Autoupdate options of group selectors › Manual selectors with aliases don't affect each other before applying when auto-update is disabled


🧐 Links with traces:

👉 Link with detailed report: report

🐳 Link with docker compose logs: logs

Last updated: 2025-12-08 17:03:53 MSK

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

📦 Statoscope quick diff with main-branch:

⏱ Build time: -1.3 sec (-2.4%)

⚖️ Initial size: -0.04 kb (0%)

🕵️ Validation errors: 0

Full Statoscope report could be found here ↗️

Base automatically changed from DLAPI-522-editor-charts-api to main November 25, 2025 12:10
@github-actions
Copy link

github-actions bot commented Nov 26, 2025

E2E Tests No Auth

Playwright test results

passed  194 passed
flaky  6 flaky
skipped  2 skipped

Details

stats  202 tests across 111 suites
duration  3 minutes, 16 seconds
commit  3a29ded

Flaky tests

opensource › opensource-suites/connections/postgres.test.ts › Postgres connector interactions › Client validation errors should be displayed after creation attempt
opensource › opensource-suites/wizard/visualizations/bar-x/negative-values.test.ts › Wizard › Bar-x chart › Negative Y values @screenshot
opensource › opensource-suites/wizard/visualizations/bar-y/tooltip.test.ts › Wizard › Bar-y chart › Different format of the two measures in tooltip @screenshot
opensource › opensource-suites/wizard/visualizations/flat-table/coloring.test.ts › Wizard › Flat table › Empty values - ignore nulls @screenshot
opensource › opensource-suites/wizard/visualizations/pivot-table/sorting.test.ts › Wizard › Pivot table › Sorting a row by a field with a parameter
opensource › opensource-suites/wizard/visualizations/treemap/tooltip.test.ts › Wizard › Treemap chart › Tooltip when hovering chart area @screenshot

Skipped tests

opensource › opensource-suites/dash/revisions/revisionsList.test.ts › Dashboards - Versioning › Dashboard with a long list of revisions, checking the upload and the updated list of revisions
opensource › opensource-suites/dash/selectors/autoupdateRelatedSelectors.test.ts › Dashboards - Autoupdate options of group selectors › Manual selectors with aliases don't affect each other before applying when auto-update is disabled


🧐 Links with traces:

👉 Link with detailed report: report

🐳 Link with docker compose logs: logs

Last updated: 2025-12-08 17:03:23 MSK

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

E2E Tests Farm

Playwright test results

passed  418 passed
flaky  7 flaky
skipped  1 skipped

Details

stats  426 tests across 171 suites
duration  4 minutes, 37 seconds
commit  3a29ded

Flaky tests

basic › suites/charts/export/forbiddenExport.test.ts › Chart export availability › Preview with forbidden export › Wizard preview - Export menu item is disabled if export is forbidden on dataset
basic › suites/charts/export/forbiddenExport.test.ts › Chart export availability › Preview with forbidden export › Ql preview - Export menu item is disabled if export is forbidden on connection
basic › suites/charts/export/forbiddenExport.test.ts › Chart export availability › Ql - Export menu item is disabled if export is forbidden on connection
basic › suites/dataset/parameters/parameterDialogValidation.test.ts › Datasets - Parameter dialog validation › Required fields validation
basic › suites/dataset/parameters/parameterDialogValidation.test.ts › Datasets - Parameter dialog validation › Parameter name validation
basic › suites/dataset/parameters/parameterDialogValidation.test.ts › Datasets - Parameter dialog validation › Parameter default_value validation [number]
basic › suites/wizard/colors/coloredByMeasureNames.test.ts › Wizard - section "Colors" › Multidatasets. Fields with the same name should be automatically colored in different colors

Skipped tests

basic › suites/wizard/combined-chart/layers-and-multidatasets.test.ts › Multi-faceted charts with layers › The data on the X-axis must be formed correctly from two datasets


👉 Link with detailed report: report

Last updated: 2025-12-08 17:06:56 MSK


const createDashData = dataSchema
.partial({tabs: true, salt: true})
.omit({schemeVersion: true, counter: true});
Copy link
Contributor Author

@stepanenkoxx stepanenkoxx Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think there is no need to pass counter on create, because we can calculate it based on tabs

UPD. I changed my mind and now I think it's worth passing all the parameters, and make them required

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

counter is optional for create

Copy link
Contributor Author

@stepanenkoxx stepanenkoxx Dec 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made everything required for now as we discussed

Comment on lines 35 to 49
return {
salt,
counter: 2,
tabs: [
{
id: hashids.encode(1),
title: i18n('value_default', {index: 1}),
items: [],
layout: [],
aliases: {},
connections: [],
},
],
};
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that salt, counter and tabs must be optional
Maybe we can make it required
It seems weird that you don't have to pass some of these parameters

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We all agreed that it can be optional for create, but not for update.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made everything required as we discussed

@stepanenkoxx stepanenkoxx marked this pull request as ready for review December 2, 2025 12:10
@stepanenkoxx stepanenkoxx requested a review from kuzmadom December 4, 2025 08:59
Comment on lines 35 to 49
return {
salt,
counter: 2,
tabs: [
{
id: hashids.encode(1),
title: i18n('value_default', {index: 1}),
items: [],
layout: [],
aliases: {},
connections: [],
},
],
};
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We all agreed that it can be optional for create, but not for update.

import {DASH_VERSION_1} from '../../schemas/dash/dash-v1';
import type {CreateDashV1Result, DashV1} from '../../types';

const processTabs = ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't like naming (with this name I have strong association with editor tabs processing)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is prepareTabs or prepareTabsParams okay?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prepareTabs is better


await typedApi.us._deleteUSEntry({
entryId: dashboardId,
lockToken,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lockToken is optional in scheme now. As far as I remember, if we don't have token we need to create it before pass it to us

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean that we need default value for lockToken?
I discussed this with @imsitnikov, and he says that lockToken must be optional


const createDashData = dataSchema
.partial({tabs: true, salt: true})
.omit({schemeVersion: true, counter: true});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

counter is optional for create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants