Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TSVB] Table: Base refactoring (30 runs) #35162

Closed
wants to merge 12 commits into from

Conversation

vitalics
Copy link
Contributor

Summary

add test for changing metrics

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@vitalics vitalics changed the title Increase test coverage [TSVB] Table: Increase test coverage Apr 16, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@vitalics vitalics marked this pull request as ready for review April 17, 2019 11:24
@vitalics vitalics requested review from dmlemeshko and a team April 17, 2019 11:24
@vitalics vitalics changed the title [TSVB] Table: Increase test coverage [TSVB] Table: Base refactoring Apr 17, 2019
@dmlemeshko
Copy link
Member

Please run ciGroup9 40x times to make sure it is stable and to avoid future revert.

public async setFieldForAggregation(field: string, aggNth: number = 0): Promise<void> {
const labels = await find.allByCssSelector('.tvbSeriesEditor__container .tvbSeriesEditor');
const label = labels[aggNth];
const fieldEl = (await label.findAllByCssSelector('[data-test-subj = "comboBoxInput"]'))[1];
Copy link
Member

Choose a reason for hiding this comment

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

It does not look like a reliable way. Can we set a unique data-test-subj for a parent element?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

2 fields are the same for the current label

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Waiting for merge pr #35356. After that I will add data-test-subj property for labels

test/functional/apps/visualize/_tsvb_table.ts Outdated Show resolved Hide resolved
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@vitalics vitalics changed the title [TSVB] Table: Base refactoring [TSVB] Table: Base refactoring (30 runs) May 23, 2019
@vitalics
Copy link
Contributor Author

close issue, since #36762 already merged

@vitalics vitalics closed this May 24, 2019
@vitalics vitalics deleted the TSVB-table branch May 24, 2019 10:13
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