Skip to content

Commit 513844e

Browse files
committed
test(settings): drop frozen preview coverage
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 2858d84 commit 513844e

1 file changed

Lines changed: 0 additions & 45 deletions

File tree

src/tests/views/Settings/Settings.spec.ts

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -83,49 +83,4 @@ describe('Settings.vue', () => {
8383

8484
expect(wrapper.find('.signing-mode-stub').exists()).toBe(false)
8585
})
86-
87-
it('toggles frozen preview visibility', async () => {
88-
const wrapper = mount(Settings, {
89-
global: {
90-
stubs: {
91-
SupportProject: true,
92-
CertificateEngine: true,
93-
SignatureEngine: true,
94-
SettingsPolicyWorkbench: true,
95-
FrozenSettingsPolicyWorkbench: { template: '<div class="frozen-stub" />' },
96-
DownloadBinaries: true,
97-
ConfigureCheck: true,
98-
RootCertificateCfssl: true,
99-
RootCertificateOpenSsl: true,
100-
IdentificationFactors: true,
101-
ExpirationRules: true,
102-
Validation: true,
103-
CrlValidation: true,
104-
DocMDP: true,
105-
SigningMode: true,
106-
AllowedGroups: true,
107-
LegalInformation: true,
108-
IdentificationDocuments: true,
109-
CollectMetadata: true,
110-
SignatureStamp: true,
111-
SignatureHashAlgorithm: true,
112-
DefaultUserFolder: true,
113-
Envelope: true,
114-
Reminders: true,
115-
TSA: true,
116-
},
117-
},
118-
})
119-
120-
expect(wrapper.find('.frozen-stub').exists()).toBe(false)
121-
122-
const toggle = wrapper.find('[data-testid="toggle-frozen-preview"]')
123-
expect(toggle.exists()).toBe(true)
124-
125-
await toggle.trigger('click')
126-
expect(wrapper.find('.frozen-stub').exists()).toBe(true)
127-
128-
await toggle.trigger('click')
129-
expect(wrapper.find('.frozen-stub').exists()).toBe(false)
130-
})
13186
})

0 commit comments

Comments
 (0)