Skip to content

Commit

Permalink
Update e2e layer test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachTRice committed Jun 26, 2018
1 parent d2b0081 commit 2bb0aab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/features/layers/layers-test.js
Expand Up @@ -43,14 +43,14 @@ module.exports = {
client.assert.cssClassPresent(localSelectors.layerHeader, 'checked');
},
'Open And Close info about Layer found in search': function(client) {
client.useCss().expect.element(localSelectors.layersAll).text.not.contains('VIIRS Corrected Reflectance');
client.useCss().expect.element(localSelectors.layersAll).text.not.contains('(VIIRS) Corrected Reflectance');
client
.click(localSelectors.sourceInfoIcon)
.pause(2000);
client.useCss().assert.containsText(localSelectors.layersAll, 'VIIRS Corrected Reflectance');
client.useCss().assert.containsText(localSelectors.layersAll, '(VIIRS) Corrected Reflectance');
client.useCss().moveToElement(localSelectors.sourceMetadataCloseButton, 10, 10);
client.click(localSelectors.sourceMetadataCloseButton);
client.useCss().expect.element(localSelectors.layersAll).text.not.contains('VIIRS Corrected Reflectance');
client.useCss().expect.element(localSelectors.layersAll).text.not.contains('(VIIRS) Corrected Reflectance');
},
'Close Layer modal': function(client) {
client.click(localSelectors.layersModalCloseButton)
Expand Down

0 comments on commit 2bb0aab

Please sign in to comment.