File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,14 @@ module.exports = {
5
5
const radioSelected = 'div.field.selected > label > span.control-label > span'
6
6
const nextBtn = '.pagination-next'
7
7
const stepTitle = 'div.step-header > h5'
8
+ const stepBelowCurrentHeader = 'div:nth-child(2) > div > h5'
8
9
9
10
browser
10
11
. init ( )
11
- . assert . containsText ( stepTitle , 'Do you know which license you need?' )
12
- . assert . containsText ( radioSelector , 'Yes. I know which license I need' )
13
- . assert . containsText ( radioSelected , 'No. I need help selecting a license' )
14
12
. click ( radioSelector )
15
- . assert . not . cssClassPresent ( nextBtn , 'disabled' )
16
- . assert . containsText ( radioSelector , 'No. I need help selecting a license' )
13
+ . assert . containsText ( stepBelowCurrentHeader , 'Creative Commons License' )
14
+ . click ( radioSelector )
15
+ . assert . containsText ( stepBelowCurrentHeader , 'Attribution' )
17
16
. end ( )
18
17
}
19
18
}
You can’t perform that action at this time.
0 commit comments