diff --git a/resources/views/business/pages/systemization-todos.blade.php b/resources/views/business/pages/systemization-todos.blade.php index df15fad0..9b9333dc 100644 --- a/resources/views/business/pages/systemization-todos.blade.php +++ b/resources/views/business/pages/systemization-todos.blade.php @@ -519,10 +519,10 @@ - - - - + + + + diff --git a/tests/Feature/Business/SystemizationTodosTest.php b/tests/Feature/Business/SystemizationTodosTest.php index 49eddb8d..e9500629 100644 --- a/tests/Feature/Business/SystemizationTodosTest.php +++ b/tests/Feature/Business/SystemizationTodosTest.php @@ -230,6 +230,36 @@ class SystemizationTodosTest extends FeatureTestCase ); } + public function test_default_column_widths_match_the_shared_todo_layout(): void + { + $this->loginAs(); + + $response = $this->get(route('business.pages.show', [ + 'section' => 'other', + 'page' => 'systemization-todos', + ]))->assertOk(); + + $defaults = [ + 'type' => 94, + 'section' => 212, + 'sequence' => 94, + 'title' => 330, + 'owner' => 80, + 'assignee' => 80, + 'start_date' => 88, + 'due_date' => 88, + 'reminder' => 116, + 'status' => 92, + 'progress_notes' => 260, + ]; + foreach ($defaults as $column => $width) { + $response->assertSee( + 'data-sys-todo-col="' . $column . '" data-default-width="' . $width . '"', + false, + ); + } + } + public function test_long_progress_and_notes_keep_the_standard_table_row_layout(): void { $this->loginAs();