@@ -11,16 +11,16 @@ import {
1111
1212const manageDataSourcesTag = 'button[data-test-subj="manage"]' ;
1313const newDataSourcesTag = 'button[data-test-subj="new"]' ;
14- const createS3Button = '[data-test-subj="datasource_card_s3glue"]'
14+ const createS3Button = '[data-test-subj="datasource_card_s3glue"]' ;
1515const createPrometheusButton = '[data-test-subj="datasource_card_prometheus"]' ;
1616
1717const visitDatasourcesHomePage = ( ) => {
1818 cy . visit ( FONTEND_BASE_PATH + DATASOURCES_API_PREFIX ) ;
19- }
19+ } ;
2020
2121const visitDatasourcesCreationPage = ( ) => {
2222 cy . visit ( FONTEND_BASE_PATH + DATASOURCES_PATH . DATASOURCES_CREATION_BASE ) ;
23- }
23+ } ;
2424
2525describe ( 'Integration tests for datasources plugin' , ( ) => {
2626 it ( 'Navigates to datasources plugin and expects the correct header' , ( ) => {
@@ -51,7 +51,10 @@ describe('Integration tests for datasources plugin', () => {
5151 visitDatasourcesCreationPage ( ) ;
5252
5353 cy . get ( createS3Button ) . should ( 'be.visible' ) . click ( ) ;
54- cy . url ( ) . should ( 'include' , DATASOURCES_PATH . DATASOURCES_CONFIG_BASE + '/AmazonS3AWSGlue' )
54+ cy . url ( ) . should (
55+ 'include' ,
56+ DATASOURCES_PATH . DATASOURCES_CONFIG_BASE + '/AmazonS3AWSGlue'
57+ ) ;
5558
5659 cy . get ( 'h1.euiTitle.euiTitle--medium' )
5760 . should ( 'be.visible' )
@@ -62,7 +65,10 @@ describe('Integration tests for datasources plugin', () => {
6265 visitDatasourcesCreationPage ( ) ;
6366
6467 cy . get ( createPrometheusButton ) . should ( 'be.visible' ) . click ( ) ;
65- cy . url ( ) . should ( 'include' , DATASOURCES_PATH . DATASOURCES_CONFIG_BASE + '/Prometheus' )
68+ cy . url ( ) . should (
69+ 'include' ,
70+ DATASOURCES_PATH . DATASOURCES_CONFIG_BASE + '/Prometheus'
71+ ) ;
6672
6773 cy . get ( 'h4.euiTitle.euiTitle--medium' )
6874 . should ( 'be.visible' )
0 commit comments