You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Create a new Cypress test scenario for the compliance reporting feature. This scenario will simulate a supplier creating a new compliance report and adding one record for each schedule type. The schedules to be tested include: Fuel Supply, Fuel Export, Other Uses, Notional Transfer, Allocation Agreement, and Fuel Supply Equipment. Once all schedules are added, the test should navigate back to the summary page and verify that each schedule section is present and expandable.
Task
Develop a new test scenario using the existing Cypress+Cucumber framework.
Simulate supplier login and creation of a new compliance report.
For each schedule type (Fuel Supply, Fuel Export, Other Uses, Notional Transfer, Allocation Agreement, Fuel Supply Equipment):
Navigate to the corresponding page.
Enter a valid record.
Return to the compliance report summary.
Validate that the summary page displays expandable sections for all schedule types added.
Acceptance Criteria
A new scenario is added to the compliance reporting test suite using Gherkin syntax.
The scenario covers creating a new compliance report and adding one record for each schedule type.
After adding all records, the summary page must display all schedule sections (Fuel Supply, Fuel Export, Other Uses, Notional Transfer, Allocation Agreement, Fuel Supply Equipment) correctly.
The test passes without errors and confirms that the UI reflects all schedule entries as expected.
Example Scenario (Gherkin)
Feature: Compliance Report ManagementScenario: Supplier creates a compliance report with multiple schedule typesGiven the user is on the login page
And the supplier logs in with valid credentials
And they navigate to the compliance reports page
When the supplier creates a new compliance report
Then the compliance report introduction is shown
# Add Fuel Supply recordWhen the supplier navigates to the Fuel Supply page
And the supplier enters a valid Fuel Supply record
And the supplier returns to the compliance report summary
# Add Fuel Export recordWhen the supplier navigates to the Fuel Export page
And the supplier enters a valid Fuel Export record
And the supplier returns to the compliance report summary
# Add Other Uses recordWhen the supplier navigates to the Other Uses page
And the supplier enters a valid Other Uses record
And the supplier returns to the compliance report summary
# Add Notional Transfer recordWhen the supplier navigates to the Notional Transfer page
And the supplier enters a valid Notional Transfer record
And the supplier returns to the compliance report summary
# Add Allocation Agreement recordWhen the supplier navigates to the Allocation Agreement page
And the supplier enters a valid Allocation Agreement record
And the supplier returns to the compliance report summary
# Add Fuel Supply Equipment recordWhen the supplier navigates to the Fuel Supply Equipment page
And the supplier enters a valid Fuel Supply Equipment record
And the supplier returns to the compliance report summary
Then the compliance report summary should display expandable sections for:
| FuelSupply | | FuelExport | | OtherUses | | NotionalTransfer | | AllocationAgreement | | FuelSupplyEquipment |
This ticket ensures comprehensive test coverage for all schedule types within the compliance report feature, validating that the system handles multiple schedules correctly and displays them appropriately on the summary page.
The text was updated successfully, but these errors were encountered:
Description
Create a new Cypress test scenario for the compliance reporting feature. This scenario will simulate a supplier creating a new compliance report and adding one record for each schedule type. The schedules to be tested include: Fuel Supply, Fuel Export, Other Uses, Notional Transfer, Allocation Agreement, and Fuel Supply Equipment. Once all schedules are added, the test should navigate back to the summary page and verify that each schedule section is present and expandable.
Task
Acceptance Criteria
Example Scenario (Gherkin)
This ticket ensures comprehensive test coverage for all schedule types within the compliance report feature, validating that the system handles multiple schedules correctly and displays them appropriately on the summary page.
The text was updated successfully, but these errors were encountered: