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

[Console] Unskip _context_menu tests #164210

Merged

Conversation

alisonelizabeth
Copy link
Contributor

@alisonelizabeth alisonelizabeth commented Aug 17, 2023

This PR unskips the Console _context_menu functional tests and makes a few minor improvements to the tests themselves.

Fixes #155029
Fixes #143230

@alisonelizabeth
Copy link
Contributor Author

alisonelizabeth commented Aug 17, 2023

@alisonelizabeth
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Serverless Security Cypress Tests #1 / Overflow items Network stats and tables Shows Hover actions for more items in the popover Shows Hover actions for more items in the popover

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

before(async () => {
await PageObjects.common.navigateToApp('console');
// Ensure that the text area can be interacted with
await PageObjects.console.closeHelpIfExists();
await PageObjects.console.clearTextArea();
await PageObjects.console.enterRequest();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is needed for all of the tests, so I think it makes more sense in the before() hook, rather than in the first test case.

@@ -80,7 +79,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await browser.switchTab(0);
});

it('should auto indent when auto indent button is clicked', async () => {
it('should toggle auto indent when auto indent button is clicked', async () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The way these tests were previously written, the "condense" test was dependent on the previous test running first. I changed this to be a single test and renamed the description.

@alisonelizabeth alisonelizabeth added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes labels Aug 21, 2023
@alisonelizabeth alisonelizabeth marked this pull request as ready for review August 21, 2023 15:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

@alisonelizabeth alisonelizabeth requested review from a team and ElenaStoeva August 21, 2023 15:13
Copy link
Contributor

@ElenaStoeva ElenaStoeva left a comment

Choose a reason for hiding this comment

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

Thanks for unskipping and improving the tests @alisonelizabeth! LGTM

@alisonelizabeth alisonelizabeth merged commit 03efa64 into elastic:main Aug 23, 2023
@alisonelizabeth alisonelizabeth deleted the console/flaky_tests_155029 branch August 23, 2023 16:14
@kibanamachine kibanamachine added v8.11.0 backport:skip This commit does not require backporting labels Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.11.0
Projects
None yet
5 participants