function getItemText(elem, selector, expected) {
            elem.element(by.css(selector)).then(function (item) {
                expect(item.getText()).toEqual(expected);
            });
        }
E2E tests for the sync-options plugin