element-web-Github/test/components/views
Luke Barnard d91d1932f4 Add tests for RoomSettings
For setting:
 - name
 - topic
 - history visibility
 - power levels

Testing RoomSettings required more stubbing on the matrix client.

The power level tests should be failing at this commit, with
fixes being made in upcoming commits.

Some tests are marked as known failures that we should fix but
aren't necessarily bugs:
 - SettingStore.setValue is used when saving despite the user not
   having made a change.
 - Testing directory publicity changes cannot be tested because we
   update state asynchronously in componentWillMount (which we do
   not block on in beforeEach).

Also, we needed to use `export default` to make sure everything
uses the same client peg and client.
2018-02-28 16:07:21 +00:00
..
dialogs Run eslint --fix 2017-10-11 17:56:17 +01:00
elements Offline mode (#1723) 2018-02-06 17:50:53 +00:00
login Write some tests for the RTS UI 2017-05-17 09:46:17 +01:00
rooms Add tests for RoomSettings 2018-02-28 16:07:21 +00:00