@@ -63,10 +63,9 @@ describe('Agreements Verification', () => {
63
63
)
64
64
await eulaView . switchToInnerViewFrame ( InnerViews . EulaInnerView )
65
65
// Verify that the encryption enabled by default and specific message
66
- // TODO unskip once encryption enabled on ci
67
- // expect(
68
- // await CheckboxActions.getCheckboxState(eulaView.encryptionCheckbox),
69
- // ).eql(true, 'Encryption switcher is not checked')
66
+ expect (
67
+ await CheckboxActions . getCheckboxState ( eulaView . encryptionCheckbox ) ,
68
+ ) . eql ( true , 'Encryption switcher is not checked' )
70
69
// Verify that Submit button disabled by default if EULA not accepted
71
70
expect (
72
71
await eulaView . isElementDisabled ( eulaView . submitButton , 'class' ) ,
@@ -91,20 +90,20 @@ describe('Agreements Verification', () => {
91
90
expect (
92
91
await CheckboxActions . getCheckboxState ( eulaView . analyticsCheckbox ) ,
93
92
) . eql ( true , 'Enable Analytics switcher is not checked' )
94
- // TODO unskip once encryption enabled on ci
95
- // expect(
96
- // await CheckboxActions.getCheckboxState(eulaView.encryptionCheckbox),
97
- // ).eql(true, 'Encryption switcher is not checked')
93
+
94
+ expect (
95
+ await CheckboxActions . getCheckboxState ( eulaView . encryptionCheckbox ) ,
96
+ ) . eql ( true , 'Encryption switcher is not checked' )
98
97
// Uncheck Use recommended settings switcher
99
98
await CheckboxActions . toggleCheckbox ( eulaView . useRecommendedCheckbox , false )
100
99
// Verify that when user unchecks "Use recommended settings" option on EULA screen, previous state of checkboxes for the options is applied
101
100
expect (
102
101
await CheckboxActions . getCheckboxState ( eulaView . analyticsCheckbox ) ,
103
102
) . eql ( false , 'Enable Analytics switcher is checked' )
104
- // TODO unskip once encryption enabled on ci
105
- // expect(
106
- // await CheckboxActions.getCheckboxState(eulaView.encryptionCheckbox),
107
- // ).eql(true, 'Encryption switcher is not checked')
103
+
104
+ expect (
105
+ await CheckboxActions . getCheckboxState ( eulaView . encryptionCheckbox ) ,
106
+ ) . eql ( true , 'Encryption switcher is not checked' )
108
107
expect ( await CheckboxActions . getCheckboxState ( eulaView . eulaCheckbox ) ) . eql (
109
108
false ,
110
109
'EULA switcher is checked' ,
@@ -119,14 +118,14 @@ describe('Agreements Verification', () => {
119
118
expect (
120
119
await CheckboxActions . getCheckboxState ( eulaView . useRecommendedCheckbox ) ,
121
120
) . eql ( false , 'Use recommended settings switcher is still checked' )
122
- // TODO unskip once encryption enabled on ci
121
+
123
122
// Check Use recommended settings switcher
124
- // await CheckboxActions.toggleCheckbox(eulaView.useRecommendedCheckbox, true)
123
+ await CheckboxActions . toggleCheckbox ( eulaView . useRecommendedCheckbox , true )
125
124
// Verify Use recommended settings switcher unchecked after unchecking encryption switcher
126
- // await CheckboxActions.toggleCheckbox(eulaView.encryptionCheckbox, false)
127
- // expect(
128
- // await CheckboxActions.getCheckboxState(eulaView.useRecommendedCheckbox),
129
- // ).eql(false, 'Use recommended settings switcher is still checked')
125
+ await CheckboxActions . toggleCheckbox ( eulaView . encryptionCheckbox , false )
126
+ expect (
127
+ await CheckboxActions . getCheckboxState ( eulaView . useRecommendedCheckbox ) ,
128
+ ) . eql ( false , 'Use recommended settings switcher is still checked' )
130
129
} )
131
130
132
131
it ( 'Verify that user can accept User Agreements' , async ( ) => {
0 commit comments