Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Production/Installer/Installer/Ui/CSS/Installer.css
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,8 @@ body {
.InstCheckboxRow .CheckboxBox i {
font-size: 11px;
color: var(--Accent);
/* Hide while unticked so the mark is not shown as a ghost check (#2). */
visibility: hidden;
}

.InstCheckboxRow input[type="checkbox"]:checked + .CheckboxBox {
Expand All @@ -702,6 +704,7 @@ body {

.InstCheckboxRow input[type="checkbox"]:checked + .CheckboxBox i {
color: var(--BgCard);
visibility: visible;
}

/* ===== SCREEN SLIDE TRANSITIONS ===== */
Expand Down
3 changes: 3 additions & 0 deletions Production/Installer/Tests/TestUi.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,11 @@ try {
await Hook('StartScreen', { Screen: '' });
Check('/Uninstall opens straight at the confirm screen (Settings > Apps)', (await Crumbs()) === 'Menu > Confirm* > Progress > Goodbye'
&& (await Text('#ConfirmUninstallMsg')).startsWith("You're about to uninstall RAMMIT v1.1.0."));
const CheckIconVisibility = () => Page.$eval('[data-screen=ConfirmUninstall] .CheckboxBox i', E => getComputedStyle(E).visibility);
Check('unticked check icon is hidden (#2)', (await CheckIconVisibility()) === 'hidden');
await Page.click('[data-screen=ConfirmUninstall] .InstCheckboxRow');
Check('tick box changes the warning (Test1)', /also remove your Config\/ folder/.test(await Text('#ConfirmUninstallMsg')));
Check('ticked check icon is visible (#2)', (await CheckIconVisibility()) === 'visible');
await Page.click('[data-screen=ConfirmUninstall] .InstCheckboxRow');
await Hook('Accounts', { Path: DefaultPath }); // RAMMIT has run once: there is a Config folder to keep
await Hook('SlowUninstall', { Delay: 0.4 });
Expand Down