mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 15:17:43 -05:00
Fix Cypress tests for real
This commit is contained in:
@@ -28,7 +28,7 @@ describe("Before tournament starts", () => {
|
||||
|
||||
cy.getCy("map-pool-nav-link").click();
|
||||
cy.contains("26 maps");
|
||||
cy.get('[alt="Moray Towers"]').should(
|
||||
cy.get('[alt="Wahoo World"]').should(
|
||||
"have.class",
|
||||
"map-pool__stage-image-disabled"
|
||||
);
|
||||
6
package-lock.json
generated
6
package-lock.json
generated
@@ -1,10 +1,12 @@
|
||||
{
|
||||
"name": "remix-app-template",
|
||||
"name": "sendou.ink",
|
||||
"version": "3.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "remix-app-template",
|
||||
"name": "sendou.ink",
|
||||
"version": "3.0.0",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@dnd-kit/core": "^4.0.3",
|
||||
|
||||
@@ -11,7 +11,6 @@ import {
|
||||
import { readFile } from "fs/promises";
|
||||
import path from "path";
|
||||
import crypto from "crypto";
|
||||
import shuffle from "just-shuffle";
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
export async function seed(variation?: "check-in") {
|
||||
@@ -265,7 +264,7 @@ export async function seed(variation?: "check-in") {
|
||||
};
|
||||
const connect: { id: number }[] = [];
|
||||
|
||||
for (const stage of shuffle(stages)) {
|
||||
for (const stage of stages.sort((a, b) => a.name.localeCompare(b.name))) {
|
||||
if (
|
||||
modesIncluded.SZ === 8 &&
|
||||
modesIncluded.TC === 6 &&
|
||||
|
||||
Reference in New Issue
Block a user