Skip to content

Commit

Permalink
Cucumber scenarios to test Admin Dashboard access after login and red…
Browse files Browse the repository at this point in the history
…irect to admin dashboard successfully.
  • Loading branch information
kunal-singh-tamu committed Oct 25, 2024
1 parent 81392c8 commit ee47412
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rails_root/features/admin_management.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Feature: Admin Dashboard Access
I want to see the Admin Dashboard link
So that I can access administrative functions

Background:
Given I am on the homepage
And I try to login

Scenario: Principal sees "Admin Dashboard" link and clicks it
Then I should see "Admin Dashboard" in the header
When I click on "Admin Dashboard"
Then I should be on the Admin Dashboard page

0 comments on commit ee47412

Please sign in to comment.