# SUP-304 - Frontend APPLY BUTTON click hook to execute update graphic ## Test Scenarios #### Test Scenario 1 ```gherkin Scenario Outline: As an Admin, I should be able to update graphic based on chosen data source option Given the user has logged in as Admin And the user is on Overview Page When the user choose <dataSourceType> And the user clicks Apply button Then show updated graphic based on chosen <dataSourceType> Examples: | dataSourceType | | -------------- | | sinbadData | | importedData | ``` #### Test Scenario 2 ```gherkin Scenario Outline: As an Admin, I should be able to update graphic based on chosen time frame option Given the user has logged in as Admin And the user is on Overview Page When the user choose <timeFrameOption> And the user clicks Apply button Then show updated graphic based on chosen <timeFrameOption> Examples: | timeFrameOption | | --------------- | | Daily | | Weekly | | Monthly | | Quarterly | | Yearly | ``` #### Test Scenario 3 ```gherkin Scenario: As an Admin, I should be able to update graphic based on chosen startDate and endDate Given the user has logged in as Admin And the user is on Overview Page When the user choose startDate <A> And the user choose endDate <B> And the user clicks Apply button Then show updated graphic based on range of startDate <A> and endDate <B> ``` #### Test Scenario 4 ```gherkin Scenario: Given And When Then ``` ###### tags: `Sprint 7` `SBP`