import { FtrProviderContext } from '../ftr_provider_context' ; export default function ( { getService , getPageObjects } ) { const PageObjects = getPageObjects ( [ 'common' , 'settings' , 'header' ] ) ; const a11y = getService ( 'a11y' ) ; const testSubjects = getService ( 'testSubjects' ) ; const toasts = getService ( 'toasts' ) ; describe ( 'Stack Management -Advanced Settings' , ( ) => { it ( 'click on advanced settings ' , async ( ) => { await PageObjects . common . navigateToUrl ( 'management' , 'kibana/settings' , { shouldUseHashForSubUrl : false , } ) ; await testSubjects . click ( 'settings' ) ; await toasts . dismissAllToasts ( ) ; await a11y . testAppSnapshot ( ) ; } ) ; it ( 'adv settings - search ' , async ( ) => { await testSubjects . click ( 'settingsSearchBar' ) ; await toasts . dismissAllToasts ( ) ; await a11y . testAppSnapshot ( ) ; } ) ; it ( 'adv settings - category -dropdown ' , async ( ) => { await testSubjects . click ( 'settingsSearchBar' ) ; await toasts . dismissAllToasts ( ) ; await a11y . testAppSnapshot ( ) ; } ) ; it ( 'adv settings - toggle ' , async ( ) => { await testSubjects . click ( 'advancedSetting-editField-csv:quoteValues' ) ; await toasts . dismissAllToasts ( ) ; await a11y . testAppSnapshot ( ) ; } ) ; it ( 'adv settings - edit ' , async ( ) => { await testSubjects . click ( 'advancedSetting-editField-csv:separator' ) ; await toasts . dismissAllToasts ( ) ; await a11y . testAppSnapshot ( ) ; } ) ; it ( 'adv settings - save' , async ( ) => { await testSubjects . click ( 'advancedSetting-saveButton' ) ; await toasts . dismissAllToasts ( ) ; await a11y . testAppSnapshot ( ) ; } ) ; } ) ; }