mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
cypess: refactormapscenarios into a single scenario
This commit is contained in:
parent
01acc6628a
commit
153ad979a4
@ -16,7 +16,7 @@ Then('the search input control should be present', () => {
|
||||
cy.get('.tw-input').should('be.visible')
|
||||
})
|
||||
|
||||
Then('the geolocation control should be present', () => {
|
||||
Then('the geo location control should be present', () => {
|
||||
cy.get('div.tw-card:nth-child(2) > div:nth-child(1)').should('be.visible')
|
||||
})
|
||||
|
||||
|
||||
@ -3,18 +3,9 @@ Feature: Map
|
||||
I want to have the leaflet map and its control elements available
|
||||
To be able to interact with the map
|
||||
|
||||
Scenario: Map Component
|
||||
Scenario: The map and its control elements are available
|
||||
Given I am on the map page
|
||||
Then the map component should be present
|
||||
|
||||
Scenario: Search Control
|
||||
Given I am on the map page
|
||||
Then the search input control should be present
|
||||
|
||||
Scenario: Geolocation Control
|
||||
Given I am on the map page
|
||||
Then the geolocation control should be present
|
||||
|
||||
Scenario: Layers Control
|
||||
Given I am on the map page
|
||||
Then the layers control should be present
|
||||
And the search input control should be present
|
||||
And the geo location control should be present
|
||||
And the layers control should be present
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user