Software-Lifecycle-Consultants / slc-open-hms

The Hotel Management System is a web application built with Next.js that aims to streamline and optimize hotel operations, including reservations, room management, guest services, and more. This application provides an intuitive and efficient solution for hotel owners and staff to manage various aspects of their hotel business.
2 stars 2 forks source link

[Dev] Admin Panel - Hero Banner Content Validation #611

Closed iamarasekera closed 1 month ago

iamarasekera commented 1 month ago

As a user managing the hero banner content in the admin panel, I want to ensure that all fields related to the hero banner are filled out before saving, so that the banner content is complete and displays correctly.

Acceptance Criteria: Banner Title Field:

  1. Given I am on the Admin Panel - Hero Banner screen, When I leave the "Banner Title" field empty and attempt to save the banner content, Then I should see an error message: "Enter the title." Banner Sub Title Field:

  2. Given I am on the Admin Panel - Hero Banner screen, When I leave the "Banner Sub Title" field empty and attempt to save the banner content, Then I should see an error message: "Enter the sub title." Banner Description Field:

  3. Given I am on the Admin Panel - Hero Banner screen, When I leave the "Banner Description" field empty and attempt to save the banner content, Then I should see an error message: "Enter the description." Banner Button 1 Field:

  4. Given I am on the Admin Panel - Hero Banner screen, When I leave the "Banner Button 1" field empty and attempt to save the banner content, Then I should see an error message: "Insert button name." Banner Button 2 Field:

  5. Given I am on the Admin Panel - Hero Banner screen, When I leave the "Banner Button 2" field empty and attempt to save the banner content, Then I should see an error message: "Insert button name."