# E1AM-207 - Edit store segmentation
## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As a Sales, I should be able to see 'Ubah' button in Store Type field
Given the user has logged in to White
And the user is on Store Detail Page
When the user clicks 'Informasi Toko'
And the user clicks 'Klasifikasi Toko'
Then show 'Ubah' button in Store Type field
```
#### Test Scenario 2
```gherkin
Scenario: As a Sales, I should be able to see 'Ubah' button in Store Group field
Given the user has logged in to White
And the user is on Store Detail Page
When the user clicks 'Informasi Toko'
And the user clicks 'Klasifikasi Toko'
Then show 'Ubah' button in Store Group field
```
#### Test Scenario 3
```gherkin
Scenario: As a Sales, I should be able to see 'Ubah' button in Store Cluster field
Given the user has logged in to White
And the user is on Store Detail Page
When the user clicks 'Informasi Toko'
And the user clicks 'Klasifikasi Toko'
Then show 'Ubah' button in Store Cluster field
```
#### Test Scenario 4
```gherkin
Scenario: As a Sales, I should be able to see 'Ubah' button in Store Channel field
Given the user has logged in to White
And the user is on Store Detail Page
When the user clicks 'Informasi Toko'
And the user clicks 'Klasifikasi Toko'
Then show 'Ubah' button in Store Channel field
```
#### Test Scenario 5
```gherkin
Scenario: As a Sales, I want to edit Store Type
Given the user has logged in to White
And the user is on Segmentation Store Page
When the user clicks 'Ubah' for Store Type
And the user redirects to Store Type List Page
And the user choose a Store Type
Then redirect back to Segmentation Store Page
And Store Type updated
```
#### Test Scenario 6
```gherkin
Scenario: As a Sales, I want to edit Store Group
Given the user has logged in to White
And the user is on Segmentation Store Page
When the user clicks 'Ubah' for Store Group
And the user redirects to Store Group List Page
And the user choose a Store Group
Then redirect back to Segmentation Store Page
And Store Group updated
```
#### Test Scenario 7
```gherkin
Scenario: As a Sales, I want to edit Store Cluster
Given the user has logged in to White
And the user is on Segmentation Store Page
When the user clicks 'Ubah' for Store Cluster
And the user redirects to Store Cluster List Page
And the user choose a Store Cluster
Then redirect back to Segmentation Store Page
And Store Cluster updated
```
#### Test Scenario 8
```gherkin
Scenario: As a Sales, I want to edit Store Channel
Given the user has logged in to White
And the user is on Segmentation Store Page
When the user clicks 'Ubah' for Store Channel
And the user redirects to Store Channel List Page
And the user choose a Store Channel
Then redirect back to Segmentation Store Page
And Store Channel updated
```
###### tags: `Sprint 20` `Ecommerce 1` `White`