File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,14 @@ export default url => ({
1111 inputs : `.ra-input` ,
1212 richTextInputError : '.create-page .ra-rich-text-input-error' ,
1313 snackbar : 'div[role="alert"]' ,
14- submitButton : ".create-page div[role='toolbar'] button[type='submit']" ,
14+ submitButton :
15+ ".create-page div[role='toolbar'] div:first-child button[type='submit']" ,
1516 submitAndShowButton :
16- ".create-page form div[role='toolbar'] button[type='button']:nth-child(2)" ,
17+ ".create-page form div[role='toolbar'] div:first-child button[type='button']:nth-child(2)" ,
1718 submitAndAddButton :
18- ".create-page form div[role='toolbar'] button[type='button']:nth-child(3)" ,
19+ ".create-page form div[role='toolbar'] div:first-child button[type='button']:nth-child(3)" ,
1920 submitCommentable :
20- ".create-page form div[role='toolbar'] button[type='button']:last-child" ,
21+ ".create-page form div[role='toolbar'] div:first-child button[type='button']:last-child" ,
2122 descInput : '.ProseMirror' ,
2223 tab : index => `.form-tab:nth-of-type(${ index } )` ,
2324 title : '#react-admin-title' ,
You can’t perform that action at this time.
0 commit comments