diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 4b88af4..3cca978 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -6,21 +6,7 @@
- - - -
- -
- -
- Try: - - - - -
-
+
-
- -
-
diff --git a/tests/Feature/DashboardRouteTest.php b/tests/Feature/DashboardRouteTest.php index 7701272..4311b2d 100644 --- a/tests/Feature/DashboardRouteTest.php +++ b/tests/Feature/DashboardRouteTest.php @@ -16,6 +16,15 @@ ->assertSee('Convert any file'); }); +it('renders dashboard converter on dashboard page', function () { + $user = User::factory()->create(); + + $this->actingAs($user) + ->get(route('dashboard')) + ->assertOk() + ->assertSee('Drop your file here'); +}); + it('renders dashboard inside the app layout', function () { $this->actingAs(User::factory()->create()) ->get('/dashboard') @@ -41,16 +50,3 @@ ->assertSee('Contact Support') ->assertSee('Refer a Friend'); }); - -it('renders dashboard UI skeleton', function () { - $this->actingAs(User::factory()->create()) - ->get('/dashboard') - ->assertOk() - ->assertSee('Convert any file') - ->assertSee('File') - ->assertSee('Format') - ->assertSee('Settings') - ->assertSee('Convert') - ->assertSee('Recent Conversions') - ->assertSee('Marketing Report.pdf'); -});