toContain('')
->toContain('settings-section title="Scheduler activity"')
->toContain('wire:click="refresh"')
// Self-closing navbar means Refresh is not passed as a tab-bar action.
->not->toContain('');
// Refresh should appear after the activity section opens, not before.
$activityPos = strpos($view, 'settings-section title="Scheduler activity"');
$refreshPos = strpos($view, 'wire:click="refresh"');
expect($activityPos)->not->toBeFalse()
->and($refreshPos)->not->toBeFalse()
->and($refreshPos)->toBeGreaterThan($activityPos);
});