Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

[DO NOT MERGE] Tests proven to fail #1780

Merged
merged 4 commits into from
Feb 28, 2018
Merged

Conversation

lukebarnard1
Copy link
Contributor

This is here just as an easy way to get Travis CI to show us that before fixes introduced in #1779, RoomSettings had a bug that prevented room power levels from being updated.

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.
As a key to send as second argument to onChange. This is useful
when passing the same callback to multiple PowerSelectors.
@dbkr dbkr merged commit 567d83b into develop Feb 28, 2018
@lukebarnard1
Copy link
Contributor Author

lukebarnard1 commented Feb 28, 2018

(This appears merged because technically it was merged, but not without the fixing changes)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants