text: describe('Context switcher', () => {
    beforeEach(() => {
      cy.visit('/');
      cy.login('tets@email.com', 'tets');
    });
  
    it('Clicking around the context switcher', () => {
      // default label
      cy.get('.fd-product-menu')
        .contains('Select Environment ...')
        .click();
  
      // click an action
      cy.get('.fd-product-menu .fd-popover__body')
        .contains('New Environment (bottom)')
        .click();
  
      cy.expectPathToBe('/create-environment');
  
      // default label
      cy.get('.fd-product-menu')
        .contains('Select Environment ...')
        .click();
  
      // click an action
      cy.get('.fd-product-menu .fd-popover__body')
        .contains('Environment 1')
        .click();
  
      cy.expectPathToBe('/environments/env1');
  
      // check label
      cy.get('.fd-product-menu .fd-popover__control button').should(
        'contain',
        'Environment 1'
      );
  
      // Overview
      cy.goToOverviewPage();
  
      // check label
      cy.get('.fd-product-menu .fd-popover__control button').should(
        'contain',
        'Select Environment ...'
      );
    });
  });
  