aboutsummaryrefslogtreecommitdiffstats
path: root/.cypress/cypress/integration/peterborough.js
diff options
context:
space:
mode:
Diffstat (limited to '.cypress/cypress/integration/peterborough.js')
-rw-r--r--.cypress/cypress/integration/peterborough.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/.cypress/cypress/integration/peterborough.js b/.cypress/cypress/integration/peterborough.js
index 67c468be8..452795d8c 100644
--- a/.cypress/cypress/integration/peterborough.js
+++ b/.cypress/cypress/integration/peterborough.js
@@ -31,4 +31,11 @@ describe('new report form', function() {
cy.get('.js-hide-if-invalid-category').should('be.visible');
});
+ it('correctly changes the asset select message', function() {
+ cy.get('select:eq(4)').select('Street lighting');
+ cy.get('.category_meta_message').should('contain', 'You can pick a light from the map');
+ cy.get('select:eq(4)').select('Trees');
+ cy.get('.category_meta_message').should('contain', 'You can pick a tree from the map');
+ });
+
});