Fix console hours, sign-in landing and counter usage races
- Hours the counter reading cannot parse (",5") no longer fail after
they are saved; they just get no hour counter suggestion.
- The console's sign-in falls back to a console machine list
(machines::console-picker at /console/machines) instead of /machines,
so it stays in the console's own session.
- Recording counter usage locks the counter first, so usage saved at
the same time from two devices is not lost.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -51,6 +51,7 @@ it('has no accessibility issues on the machine pages', function (string $page, s
|
||||
'form' => route('machines.edit', $this->machine->id),
|
||||
'job' => route('jobs.show', $this->job->id).'#task-'.$this->task->id,
|
||||
'maintenance' => route('machines.maintenance.create', $this->machine->id),
|
||||
'console picker' => route('machines.console-picker'),
|
||||
};
|
||||
|
||||
$visit = visit($url);
|
||||
@@ -64,7 +65,7 @@ it('has no accessibility issues on the machine pages', function (string $page, s
|
||||
$visit->assertSee($page === 'form' ? __('machines.form.edit_title') : 'Suurkuvatulostin')
|
||||
->assertNoJavaScriptErrors()
|
||||
->assertNoAccessibilityIssues(level: 2);
|
||||
})->with(['index', 'show', 'form', 'job', 'maintenance'])->with([
|
||||
})->with(['index', 'show', 'form', 'job', 'maintenance', 'console picker'])->with([
|
||||
'desktop, light' => ['desktop', 'light'],
|
||||
'desktop, dark' => ['desktop', 'dark'],
|
||||
'mobile, light' => ['mobile', 'light'],
|
||||
|
||||
Reference in New Issue
Block a user