hunk.code_window:  * @see {@link mergeMapTo}
    *
    * @param {ObservableInput} innerObservable An Observable to replace each value from
    * the source Observable.
    * @return {Observable} An Observable that emits items from the given
    * `innerObservable` (and optionally transformed through `resultSelector`) every
    * time a value is emitted on the source Observable, and taking only the values
    * from the most recently projected inner Observable.
    * @method switchMapTo
    * @owner Observable
    */
   export function switchMapTo<T, I, R>(
  
hunk.labels: keep keep keep keep keep replace replace keep keep keep keep keep
hunk.after_edit:  * `innerObservable` (and optionally transformed through the deprecated `resultSelector`)
    * every time a value is emitted on the source Observable, and taking only the values
  
hunk.file_path: src/internal/operators/switchMapTo.ts
hunk.type: replace
file: import { AppPage } from './app.po';
  import { browser, element, by } from 'protractor';
  
  describe('providers App', () => {
    let page: AppPage;
  
    beforeEach(() => {
      page = new AppPage();
    });
  
    function getUsersStruct() {
      return {
        user: element.all(by.css('ng-component li')).get(0),
        userId: element.all(by.css('ng-component span')).get(0)
      };
    }
  
    function getListSectionStruct() {
      return {
        items: element.all(by.css('app-root li'))
      };
    }
  
    it('should display header that says Users list', () => {
      page.navigateTo();
      expect(page.getParagraphText()).toEqual('Users list');
    });
  
  
    it('shows a list of customers', function() {
      const list = getListSectionStruct();
      expect(list.items.count()).toBe(10);
      expect(list.items.get(0).getText()).toBe('1 Maria');
      expect(list.items.get(9).getText()).toBe('10 Seth');
    });
  
  });
  