@@ -12,6 +12,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
1212 const testSubjects = getService ( 'testSubjects' ) ;
1313 const find = getService ( 'find' ) ;
1414 const a11y = getService ( 'a11y' ) ;
15+ const retry = getService ( 'retry' ) ;
1516
1617 describe ( 'Accessibility Painless Lab Editor' , ( ) => {
1718 before ( async ( ) => {
@@ -39,28 +40,45 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
3940 await a11y . testAppSnapshot ( ) ;
4041 } ) ;
4142
42- // github.com/elastic/kibana/issues/75876
43- it . skip ( 'click on the context button' , async ( ) => {
43+ it ( 'click on the context button' , async ( ) => {
4444 const painlessTabsContext = await find . byCssSelector (
4545 '[data-test-subj="painlessTabs"] #context'
4646 ) ;
4747 await painlessTabsContext . click ( ) ;
4848 await a11y . testAppSnapshot ( ) ;
4949 } ) ;
5050
51- it . skip ( 'click on the Basic button' , async ( ) => {
51+ it ( 'click on the Basic button' , async ( ) => {
52+ await testSubjects . click ( 'painlessContextDropDown' ) ;
53+ await retry . try ( async ( ) => {
54+ await a11y . testAppSnapshot ( ) ;
55+ } ) ;
5256 await testSubjects . click ( 'basicButtonDropdown' ) ;
53- await a11y . testAppSnapshot ( ) ;
57+ await retry . try ( async ( ) => {
58+ await a11y . testAppSnapshot ( ) ;
59+ } ) ;
5460 } ) ;
5561
56- it . skip ( 'click on the Filter button' , async ( ) => {
62+ it ( 'click on the Filter button' , async ( ) => {
63+ await testSubjects . click ( 'painlessContextDropDown' ) ;
64+ await retry . try ( async ( ) => {
65+ await a11y . testAppSnapshot ( ) ;
66+ } ) ;
5767 await testSubjects . click ( 'filterButtonDropdown' ) ;
58- await a11y . testAppSnapshot ( ) ;
68+ await retry . try ( async ( ) => {
69+ await a11y . testAppSnapshot ( ) ;
70+ } ) ;
5971 } ) ;
6072
61- it . skip ( 'click on the Score button' , async ( ) => {
73+ it ( 'click on the Score button' , async ( ) => {
74+ await testSubjects . click ( 'painlessContextDropDown' ) ;
75+ await retry . try ( async ( ) => {
76+ await a11y . testAppSnapshot ( ) ;
77+ } ) ;
6278 await testSubjects . click ( 'scoreButtonDropdown' ) ;
63- await a11y . testAppSnapshot ( ) ;
79+ await retry . try ( async ( ) => {
80+ await a11y . testAppSnapshot ( ) ;
81+ } ) ;
6482 } ) ;
6583 } ) ;
6684}
0 commit comments