text: /*
   * In GitLab#103, we noticed that changing the country did not update the suggested companies in the wizard.
   */
  
  describe('Changing the country should update the companies in the wizard', () => {
      beforeEach(() => {
          cy.visit('/');
          cy.get('#wizard').scrollIntoView();
      });
  
      it('"All" should have no suggested companies', () => {
          cy.window().then(win => {
              win.globals.country = 'all';
  
              cy.contains('#wizard-user-country', 'all');
              cy.get('.wizard-selected-list .button.icon-trash').should('not.exist');
          });
      });
  
      it('"Germany" should have a few suggested companies', () => {
          cy.window().then(win => {
              win.globals.country = 'de';
  
              cy.contains('#wizard-user-country', 'Germany');
              cy.get('.wizard-selected-list .button.icon-trash').should('have.length.greaterThan', 2);
          });
      });
  
      it('Changing the country after manually modifying the suggested companies', () => {
          cy.window().then(win => {
              win.globals.country = 'de';
  
              cy.get('.wizard-selected-list .button.icon-trash')
                  .its('length')
                  .then(old_length => {
                      cy.get('.wizard-selected-list .button.icon-trash')
                          .first()
                          .click();
  
                      cy.getCookie('changed_saved_companies')
                          .its('value')
                          .should('eq', 'true');
  
                      cy.window().then(w => {
                          w.globals.country = 'all';
  
                          cy.contains('#wizard-user-country', 'all');
  
                          cy.get('.wizard-selected-list .button.icon-trash')
                              .its('length')
                              .should('eq', old_length - 1);
                      });
                  });
          });
      });
  });
  