Skip to content

Conversation

@liza-mae
Copy link
Contributor

@liza-mae liza-mae commented Jun 11, 2018

Adding option to exclude tests in functional test runner. Also adding a tag for the test that is not applicable to be run on cloud.

Issue #19228

@liza-mae liza-mae requested a review from spalger June 11, 2018 19:48
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

Pulled the changes and confirmed that --invert was passed through to mocha and works as intended. One nitpick, but otherwise LGTM!

For the record, these are two pretty different changes and should probably be in two different PRs. They're both so small and I feel like there isn't much debating the approach, so no reason to split it up now. But for next time.

const PageObjects = getPageObjects(['common', 'home', 'settings']);

describe('test large number of fields', function () {
describe('@skipcloud test large number of fields', function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

I can't think of a better way to do this though, aside from hard coding the test names in the cloud test runner, but I'd prefer if we put directives like this at the end of the test/suite name.

@liza-mae
Copy link
Contributor Author

Thanks for the review @spalger! I agree these should have been two PRs, I was thinking about doing that, but since the changes were so small I grouped them together, but will separate items like these next time. Also, I moved the tag name to the end of the test name. Will merge once CI is green.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@liza-mae liza-mae merged commit d5589bf into elastic:master Jun 13, 2018
@liza-mae liza-mae deleted the fix/issue-19228 branch June 13, 2018 11:25
liza-mae added a commit to liza-mae/kibana that referenced this pull request Jun 13, 2018
* Add option to exclude tests in functional test runner

* Move tag to end of test name
liza-mae added a commit to liza-mae/kibana that referenced this pull request Jun 13, 2018
* Add option to exclude tests in functional test runner

* Move tag to end of test name
liza-mae added a commit that referenced this pull request Jun 14, 2018
* Add option to exclude tests in functional test runner

* Move tag to end of test name
liza-mae added a commit that referenced this pull request Jun 14, 2018
* Add option to exclude tests in functional test runner

* Move tag to end of test name
maryia-lapata pushed a commit to maryia-lapata/kibana that referenced this pull request Jun 25, 2018
* Add option to exclude tests in functional test runner

* Move tag to end of test name
@liza-mae liza-mae self-assigned this Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants