Bug 973450 - [settings] refactor Device information panel with AMD patte...

...rn
make sure `factoryReset._elements.resetDialog.hidden = false` at first before asserting.