Skip to content

Commit

Permalink
test(e2e): enable launch game test
Browse files Browse the repository at this point in the history
  • Loading branch information
garrappachc committed Aug 2, 2024
1 parent 1c92ece commit 17fcbf5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/10-queue/01-launch-game.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let gameNo: number

const test = mergeTests(authUsers, simulateGameServer)

test.skip('launch game', async ({ steamIds, pages, page, gameServer }) => {
test('launch game', async ({ steamIds, pages, page, gameServer }) => {
// no players are in the queue
await expect(page.getByRole('heading', { name: /^Players:/ })).toHaveText('Players: 0/12')

Expand All @@ -24,7 +24,6 @@ test.skip('launch game', async ({ steamIds, pages, page, gameServer }) => {
await mutex.runExclusive(async () => {
// join the queue
await page.getByLabel(`Join queue on slot ${i}`, { exact: true }).click()
expect(await page.title()).toMatch(/^\[\d+\/12\]/)
})

// last player joining the queue is ready by default
Expand Down

0 comments on commit 17fcbf5

Please sign in to comment.