Skip to content

Commit

Permalink
Disable tests relying on old room directory
Browse files Browse the repository at this point in the history
  • Loading branch information
justjanne committed Jul 15, 2022
1 parent ecda0a1 commit a3e3616
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/app-tests/joining-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ limitations under the License.

/* joining.js: tests for the various paths when joining a room */

// TODO: Re-enable test
// We’ve removed the room directory, so we can’t run this test anymore. As the test
// was previously already disabled, I decided to comment it out entirely
//
// The test logic should be ported to cypress, but we can’t test federation in cypress yet.
//
// ~ 2022-07-15 @justjanne

/*
import PlatformPeg from 'matrix-react-sdk/src/PlatformPeg';
import WebPlatform from '../../src/vector/platform/WebPlatform';
import * as jssdk from "matrix-js-sdk/src/matrix";
Expand All @@ -29,7 +39,6 @@ import MockHttpBackend from "matrix-mock-request";
import "fake-indexeddb/auto";
import { RoomView as RoomViewClass } from 'matrix-react-sdk/src/components/structures/RoomView';
import MatrixChat from "matrix-react-sdk/src/components/structures/MatrixChat";
import RoomDirectory from "matrix-react-sdk/src/components/structures/RoomDirectory";
import RoomPreviewBar from "matrix-react-sdk/src/components/views/rooms/RoomPreviewBar";
import { ValidatedServerConfig } from 'matrix-react-sdk/src/utils/ValidatedServerConfig';
Expand Down Expand Up @@ -227,3 +236,4 @@ describe('joining a room', function() {
});
});
});
*/

0 comments on commit a3e3616

Please sign in to comment.