mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.17`: - [[Synthetics] Fix flaky tests for alerting default !! (#203220)](https://github.com/elastic/kibana/pull/203220) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-12-06T11:54:07Z","message":"[Synthetics] Fix flaky tests for alerting default !! (#203220)\n\n## Summary\r\n\r\nFix flaky tests for alerting default, removed unecessary code.\r\n\r\nI tested locally 30 times and it has been fixed now.","sha":"dc77e8c149abc7a0bc2d9d3c65db0533ce45e4ff","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-management","backport:version","v8.18.0","v9.1.0","v8.17.3"],"title":"[Synthetics] Fix flaky tests for alerting default !!","number":203220,"url":"https://github.com/elastic/kibana/pull/203220","mergeCommit":{"message":"[Synthetics] Fix flaky tests for alerting default !! (#203220)\n\n## Summary\r\n\r\nFix flaky tests for alerting default, removed unecessary code.\r\n\r\nI tested locally 30 times and it has been fixed now.","sha":"dc77e8c149abc7a0bc2d9d3c65db0533ce45e4ff"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203220","number":203220,"mergeCommit":{"message":"[Synthetics] Fix flaky tests for alerting default !! (#203220)\n\n## Summary\r\n\r\nFix flaky tests for alerting default, removed unecessary code.\r\n\r\nI tested locally 30 times and it has been fixed now.","sha":"dc77e8c149abc7a0bc2d9d3c65db0533ce45e4ff"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/203232","number":203232,"state":"MERGED","mergeCommit":{"sha":"9cdf4d21a2adf8cf14abad6f18375e993942dabc","message":"[8.x] [Synthetics] Fix flaky tests for alerting default !! (#203220) (#203232)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.x`:\n- [[Synthetics] Fix flaky tests for alerting default !!\n(#203220)](https://github.com/elastic/kibana/pull/203220)\n\n<!--- Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT\n[{\"author\":{\"name\":\"Shahzad\",\"email\":\"shahzad31comp@gmail.com\"},\"sourceCommit\":{\"committedDate\":\"2024-12-06T11:54:07Z\",\"message\":\"[Synthetics]\nFix flaky tests for alerting default !! (#203220)\\n\\n##\nSummary\\r\\n\\r\\nFix flaky tests for alerting default, removed unecessary\ncode.\\r\\n\\r\\nI tested locally 30 times and it has been fixed\nnow.\",\"sha\":\"dc77e8c149abc7a0bc2d9d3c65db0533ce45e4ff\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"backport:prev-minor\",\"ci:project-deploy-observability\",\"Team:obs-ux-management\"],\"title\":\"[Synthetics]\nFix flaky tests for alerting default\n!!\",\"number\":203220,\"url\":\"https://github.com/elastic/kibana/pull/203220\",\"mergeCommit\":{\"message\":\"[Synthetics]\nFix flaky tests for alerting default !! (#203220)\\n\\n##\nSummary\\r\\n\\r\\nFix flaky tests for alerting default, removed unecessary\ncode.\\r\\n\\r\\nI tested locally 30 times and it has been fixed\nnow.\",\"sha\":\"dc77e8c149abc7a0bc2d9d3c65db0533ce45e4ff\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/203220\",\"number\":203220,\"mergeCommit\":{\"message\":\"[Synthetics]\nFix flaky tests for alerting default !! (#203220)\\n\\n##\nSummary\\r\\n\\r\\nFix flaky tests for alerting default, removed unecessary\ncode.\\r\\n\\r\\nI tested locally 30 times and it has been fixed\nnow.\",\"sha\":\"dc77e8c149abc7a0bc2d9d3c65db0533ce45e4ff\"}}]}] BACKPORT-->\n\nCo-authored-by: Shahzad <shahzad31comp@gmail.com>"}},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Shahzad <shahzad31comp@gmail.com>
This commit is contained in:
parent
bb332236e6
commit
42ae1bc925
1 changed files with 2 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { journey, step, expect, before, after } from '@elastic/synthetics';
|
||||
import { journey, step, before, after } from '@elastic/synthetics';
|
||||
import { byTestId } from '../../helpers/utils';
|
||||
import { syntheticsAppPageProvider } from '../page_objects/synthetics_app';
|
||||
import { cleanSettings } from './services/settings';
|
||||
|
@ -29,13 +29,10 @@ journey('AlertingDefaults', async ({ page, params }) => {
|
|||
step('Go to Settings page', async () => {
|
||||
await page.click('[aria-label="Toggle primary navigation"]');
|
||||
await page.click('text=Synthetics');
|
||||
await page.click('text=Settings');
|
||||
await page.getByTestId('settings-page-link').click();
|
||||
});
|
||||
|
||||
step('Click text=Synthetics', async () => {
|
||||
expect(page.url()).toBe('http://localhost:5620/app/synthetics/settings/alerting');
|
||||
await page.click('.euiComboBox__inputWrap');
|
||||
await page.click("text=There aren't any options available");
|
||||
await page.click('button:has-text("Add connector")');
|
||||
await page.click('p:has-text("Slack")');
|
||||
await page.click('input[type="text"]');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue