Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 1 | ///<reference path="../../../node_modules/cypress/types/index.d.ts"/> / <reference types="Cypress" /> |
| 2 | |
| 3 | describe('Tenant isolation - Test Environments Page', function () { |
| 4 | describe('New Test Environment popup', () => { |
| 5 | |
| 6 | beforeEach(() => { |
| 7 | cy.login(); |
| 8 | }); |
| 9 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 10 | afterEach(() => { |
| 11 | cy.screenshot(); |
| 12 | }); |
| 13 | |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 14 | it(`verifying proper text for the "Tenant Context" label; instead of "Select VSP"`, function () { |
| 15 | |
| 16 | cy.visit('/app/vid/scripts/modals/new-test-environment/new-test-environment.html'); |
| 17 | cy.get('label[for=tenantContext]').contains('Tenant Context'); |
| 18 | }); |
| 19 | }); |
| 20 | }); |
| 21 | |
| 22 | |