@@ -39,7 +39,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
3939 }
4040
4141 // FLAKY: https://github.com/elastic/kibana/issues/62472
42- describe ( 'alerts' , function ( ) {
42+ describe . skip ( 'alerts' , function ( ) {
4343 before ( async ( ) => {
4444 await pageObjects . common . navigateToApp ( 'triggersActions' ) ;
4545 await testSubjects . click ( 'alertsTab' ) ;
@@ -66,30 +66,20 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
6666 await nameInput . click ( ) ;
6767
6868 // test for normal connector
69- await testSubjects . click ( '.index-ActionTypeSelectOption' ) ;
70- await testSubjects . click ( 'createActionConnectorButton' ) ;
71- const connectorNameInput = await testSubjects . find ( 'nameInput' ) ;
72- await connectorNameInput . click ( ) ;
73- await connectorNameInput . clearValue ( ) ;
74- const connectorName = generateUniqueKey ( ) ;
75- await connectorNameInput . type ( connectorName ) ;
76- const indexConnectorComboBox = await find . byCssSelector (
77- '[data-test-subj="connectorIndexesComboBox"]'
78- ) ;
79- await indexConnectorComboBox . click ( ) ;
80- await indexConnectorComboBox . type ( 'k' ) ;
81- const indexConnectorFilterSelectItem = await find . byCssSelector ( `.euiFilterSelectItem` ) ;
82- await indexConnectorFilterSelectItem . click ( ) ;
83- await find . clickByCssSelector ( '[data-test-subj="saveActionButtonModal"]:not(disabled)' ) ;
69+ await testSubjects . click ( '.webhook-ActionTypeSelectOption' ) ;
70+ const webhookBodyInput = await find . byCssSelector ( '.ace_text-input' ) ;
71+ await webhookBodyInput . focus ( ) ;
72+ await webhookBodyInput . type ( '{\\"test\\":1}' ) ;
8473
74+ await testSubjects . click ( 'addAlertActionButton' ) ;
8575 // pre-configured connector is loaded an displayed correctly
8676 await testSubjects . click ( '.slack-ActionTypeSelectOption' ) ;
8777 expect ( await ( await find . byCssSelector ( '#my-slack1' ) ) . isDisplayed ( ) ) . to . be ( true ) ;
8878 const loggingMessageInput = await testSubjects . find ( 'slackMessageTextArea' ) ;
8979 await loggingMessageInput . click ( ) ;
9080 await loggingMessageInput . clearValue ( ) ;
9181 await loggingMessageInput . type ( 'test message' ) ;
92- await testSubjects . click ( 'slackAddVariableButton ' ) ;
82+ await testSubjects . click ( 'messageAddVariableButton ' ) ;
9383 const variableMenuButton = await testSubjects . find ( 'variableMenuButton-0' ) ;
9484 await variableMenuButton . click ( ) ;
9585 await testSubjects . click ( 'saveAlertButton' ) ;
0 commit comments