Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenrikoverland committed Aug 2, 2024
1 parent 6482817 commit 51f98c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cypress/integration/options/legend.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ describe('Options - Legend', () => {
it('does not apply non-applicable options when Column switched to Area', () => {
cy.log('navigates to the start page and adds data items')
goToStartPage()
changeVisType(getDisplayNameByVisType(VIS_TYPE_COLUMN))
openDimension(DIMENSION_ID_DATA)
selectIndicators(TEST_ITEMS.map((item) => item.name))
clickDimensionModalUpdateButton()
Expand Down Expand Up @@ -812,6 +813,7 @@ describe('Options - Legend', () => {
it('changes legend from per data item to fixed strategy for Column chart', () => {
cy.log('navigates to the start page and adds data items')
goToStartPage()
changeVisType(getDisplayNameByVisType(VIS_TYPE_COLUMN))
openDimension(DIMENSION_ID_DATA)
selectIndicators(TEST_ITEMS.map((item) => item.name))
clickDimensionModalUpdateButton()
Expand Down Expand Up @@ -846,6 +848,7 @@ describe('Options - Legend', () => {
'navigates to the start page and adds data items, legend and legend key'
)
goToStartPage()
changeVisType(getDisplayNameByVisType(VIS_TYPE_COLUMN))
openDimension(DIMENSION_ID_DATA)
selectIndicators([TEST_ITEM.name])
clickDimensionModalUpdateButton()
Expand Down Expand Up @@ -917,6 +920,7 @@ describe('Options - Legend', () => {
'navigates to the start page and adds data items, legend and legend key'
)
goToStartPage()
changeVisType(getDisplayNameByVisType(VIS_TYPE_COLUMN))
openDimension(DIMENSION_ID_DATA)
selectIndicators(TEST_ITEMS.map((item) => item.name))
clickDimensionModalUpdateButton()
Expand Down

0 comments on commit 51f98c2

Please sign in to comment.