Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaruth committed Mar 7, 2024
1 parent 0533055 commit 4ca3fe5
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/test/kotlin/dartzee/e2e/TestPartyModeE2E.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,20 @@ import dartzee.drtTrebleNineteen
import dartzee.drtTrebleSeven
import dartzee.drtTrebleTwenty
import dartzee.getRows
import dartzee.helper.AbstractRegistryTest
import dartzee.helper.preparePlayers
import dartzee.screen.DartsApp
import dartzee.screen.ScreenCache
import dartzee.screen.game.DartsGamePanel
import dartzee.screen.game.DartsGameScreen
import dartzee.utils.PREFERENCES_BOOLEAN_SHOW_ANIMATIONS
import dartzee.utils.PreferenceUtil
import dartzee.waitForAssertionWithReturn
import io.kotest.matchers.collections.shouldContainExactly
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
import javax.swing.JButton
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.Test

class TestPartyModeE2E : AbstractRegistryTest() {
override fun getPreferencesAffected() = listOf(PREFERENCES_BOOLEAN_SHOW_ANIMATIONS)

@BeforeEach
fun beforeEach() {
PreferenceUtil.saveBoolean(PREFERENCES_BOOLEAN_SHOW_ANIMATIONS, false)
}

class TestPartyModeE2E : AbstractE2ETest() {
@Test
@Tag("e2e")
fun `E2E - Party Mode`() {
preparePlayers(2)

Expand Down

0 comments on commit 4ca3fe5

Please sign in to comment.