Skip to content

Commit

Permalink
Disable tests for properties and rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Aug 26, 2023
1 parent e12bd1a commit a1f68e3
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
import static org.hamcrest.junit.MatcherAssume.assumeThat;

import android.app.Activity;

Expand Down Expand Up @@ -181,6 +182,14 @@ public void lastOperationFinishesActivity() {
}

@Test public void testChangeCategoryAndKeywordsDialog() {
assumeThat(
"Only items have change type button for now.",
this,
not(anyOf(
instanceOf(PropertyEditActivityTest_Create.class),
instanceOf(RoomEditActivityTest_Create.class)
))
);
ChangeTypeDialogActor dialog = editor.changeType();

KeywordsDialogActor keywords = dialog.showKeywords(belonging.getOtherType());
Expand Down

0 comments on commit a1f68e3

Please sign in to comment.