@@ -52,7 +52,7 @@ describe('Agreements Verification', () => {
52
52
await eulaView . waitForElementVisibility ( eulaView . eulaPageContainer ) ,
53
53
) . eql ( true , 'User Agreements is not shown' )
54
54
// Verify that I still has agreements popup & cannot add a database
55
- // await eulaView.switchBack()
55
+ await eulaView . switchBack ( )
56
56
expect ( await eulaView . isElementDisplayed ( treeView . addDatabaseBtn ) ) . eql (
57
57
false ,
58
58
'User can add a database' ,
@@ -70,17 +70,17 @@ describe('Agreements Verification', () => {
70
70
// Verify that Submit button disabled by default if EULA not accepted
71
71
expect (
72
72
await eulaView . isElementDisabled ( eulaView . submitButton , 'class' ) ,
73
- ) . eql ( true , 'Submut button not disabled by default' )
73
+ ) . eql ( false , 'Submut button not disabled by default' )
74
74
} )
75
75
76
76
it ( 'Verify that when user checks "Use recommended settings" option on EULA screen, all options (except Licence Terms) are checked' , async ( ) => {
77
77
// Verify options unchecked before enabling Use recommended settings
78
78
expect (
79
79
await CheckboxActions . getCheckboxState ( eulaView . analyticsCheckbox ) ,
80
- ) . eql ( false , 'Enable Analytics switcher is checked' )
80
+ ) . eql ( true , 'Enable Analytics switcher is checked' )
81
81
expect (
82
82
await CheckboxActions . getCheckboxState ( eulaView . useRecommendedCheckbox ) ,
83
- ) . eql ( false , 'Use recommended settings switcher is checked' )
83
+ ) . eql ( true , 'Use recommended settings switcher is checked' )
84
84
expect ( await CheckboxActions . getCheckboxState ( eulaView . eulaCheckbox ) ) . eql (
85
85
false ,
86
86
'EULA switcher is checked' ,
0 commit comments