changes according to CR
This commit is contained in:
parent
1b651f2aa5
commit
4dc01fcfa6
@ -28,7 +28,7 @@ class NewRoomRobot(
|
|||||||
var createdRoom: Boolean = false
|
var createdRoom: Boolean = false
|
||||||
) {
|
) {
|
||||||
|
|
||||||
var features: VectorFeatures = DefaultVectorFeatures()
|
private var features: VectorFeatures = DefaultVectorFeatures()
|
||||||
|
|
||||||
fun createNewRoom(block: CreateNewRoomRobot.() -> Unit) {
|
fun createNewRoom(block: CreateNewRoomRobot.() -> Unit) {
|
||||||
if (features.isNewAppLayoutEnabled()) {
|
if (features.isNewAppLayoutEnabled()) {
|
||||||
|
@ -34,7 +34,7 @@ import im.vector.app.features.roomdirectory.RoomDirectoryActivity
|
|||||||
|
|
||||||
class RoomListRobot {
|
class RoomListRobot {
|
||||||
|
|
||||||
var features: VectorFeatures = DefaultVectorFeatures()
|
private var features: VectorFeatures = DefaultVectorFeatures()
|
||||||
|
|
||||||
fun openRoom(roomName: String, block: RoomDetailRobot.() -> Unit) {
|
fun openRoom(roomName: String, block: RoomDetailRobot.() -> Unit) {
|
||||||
clickOn(roomName)
|
clickOn(roomName)
|
||||||
|
@ -34,7 +34,7 @@ import org.hamcrest.Matchers
|
|||||||
|
|
||||||
class SpaceRobot {
|
class SpaceRobot {
|
||||||
|
|
||||||
var features: VectorFeatures = DefaultVectorFeatures()
|
private var features: VectorFeatures = DefaultVectorFeatures()
|
||||||
|
|
||||||
fun createSpace(isFirstSpace: Boolean, block: SpaceCreateRobot.() -> Unit) {
|
fun createSpace(isFirstSpace: Boolean, block: SpaceCreateRobot.() -> Unit) {
|
||||||
if (features.isNewAppLayoutEnabled()) {
|
if (features.isNewAppLayoutEnabled()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user