seedLookupData(); $admin = $this->admin(['name' => 'Settings Admin']); $this->browse(function (Browser $browser) use ($admin): void { $browser->loginAs($admin) ->visitRoute('helpdesk.settings') ->waitFor('@helpdesk-settings-manager') ->assertSee('Support configuration') ->assertSee('Statuses') ->assertSee('Priorities') ->assertSee('Categories') ->assertSee('Teams') ->assertSee('Projects') ->assertSee('Git') ->assertSee('Workflow') ->assertSee('Canned') ->assertSee('SLA') ->assertSee('Rules') ->assertSee('Checks') ->assertSee('Tags') ->assertSee('Products') ->press('Git') ->waitForText('Git repositories') ->assertSee('Remote URL') ->press('Workflow') ->waitForText('Workflow messages') ->assertSee('HTML email body') ->press('Canned') ->waitForText('Canned responses') ->assertSee('Reply body') ->press('SLA') ->waitForText('SLA policies') ->assertSee('First response minutes') ->press('Rules') ->waitForText('Email automation rules') ->assertSee('Subject contains') ->press('Checks') ->waitForText('Checklist templates') ->assertSee('Checklist items') ->press('Tags') ->waitForText('Ticket tags') ->assertSee('Colour') ->press('Products') ->waitForText('Products and services') ->assertSee('Release/build'); }); } }