File tree Expand file tree Collapse file tree 4 files changed +14
-91
lines changed Expand file tree Collapse file tree 4 files changed +14
-91
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- <div class =" row quick-save" >
2
- <div class =" col-md-12" >
3
- <button type =" submit"
4
- {{ action (action this.attrs.onsave bulletin )}}
5
- class =" btn btn-primary save-bulletin"
6
- disabled ={{ disableSaveButton }}
7
- data-auto-id =" bulletin-submit" >
8
- Save
9
- </button >
10
- </div >
11
- </div >
12
1
<form action =" #" >
2
+ <div class =" row quick-save" >
3
+ <div class =" col-md-12" >
4
+ <button {{ action (action this.attrs.onsave bulletin )}}
5
+ class =" btn btn-primary save-bulletin"
6
+ disabled ={{ disableSaveButton }}
7
+ data-auto-id =" bulletin-submit-top" >
8
+ Save
9
+ </button >
10
+ </div >
11
+ </div >
13
12
<div class =" row" >
14
13
<section class =" service-information col-lg-6" data-test-id =" bulletin-form" >
15
14
<div class =" card" >
91
90
</div >
92
91
<div class =" row" >
93
92
<div class =" col-md-12" >
94
- <button type =" submit"
95
- {{ action (action this.attrs.onsave bulletin )}}
93
+ <button {{ action (action this.attrs.onsave bulletin )}}
96
94
class =" btn btn-primary save-bulletin"
97
95
disabled ={{ disableSaveButton }}
98
- data-auto-id =" bulletin-submit" >
96
+ data-auto-id =" bulletin-submit-bottom " >
99
97
Save
100
98
</button >
101
99
</div >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default PageObject.create({
8
8
fillName : fillable ( selector ( "name" ) ) ,
9
9
fillPublishedAt : fillable ( `${ selector ( "published-at" ) } input` ) ,
10
10
fillServiceOrder : fillable ( selector ( "service-order" ) ) ,
11
- submit : clickable ( 'button[type= submit]' ) ,
11
+ submit : clickable ( selector ( " submit-top" ) ) ,
12
12
sermon : sermonEditor ,
13
13
name : PageObject . value ( selector ( "name" ) ) ,
14
14
publishedAt : PageObject . value ( `${ selector ( "published-at" ) } input` ) ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default PageObject.create({
11
11
publishedAt : PageObject . value ( `${ selector ( "published-at" ) } input` ) ,
12
12
sermonEditor,
13
13
serviceOrder : PageObject . value ( selector ( "service-order" ) ) ,
14
- submit : clickable ( 'button[type= submit]' ) ,
14
+ submit : clickable ( selector ( " submit-top" ) ) ,
15
15
visit : visitable ( "/:groupSlug/bulletins/new" )
16
16
} ) ;
17
17
You can’t perform that action at this time.
0 commit comments