refac: revamp the update flow in settings so the user has better visibility that it has to restart when update downloaded
This commit is contained in:
1 parent
daf497576f
commit
68401d66e0
9 files changed
+70
-16
No files matched your search
@@ -299,7 +299,7 @@ describe('Settings, owner, Restart buttons', () => {
|
||||
it('ready: Restart is the enabled primary button', async () => {
|
||||
await mountSettings({ role: 'owner', status: ready() })
|
||||
|
||||
expect(cardButtons()).toEqual(["What's new in 2.3.0-beta", 'Restart'])
|
||||
expect(cardButtons()).toEqual(['Restart', "What's new in 2.3.0-beta"])
|
||||
const restart = findButton('Restart') as HTMLButtonElement
|
||||
expect(restart.disabled).toBe(false)
|
||||
expect(restart.className).not.toContain('border-accented')
|
||||
|
||||
Reference in new issue
Block a user