Skip to content

Commit

Permalink
Revert "test(e2e): added playwright visual tests (#17)"
Browse files Browse the repository at this point in the history
This reverts commit 59121d6.
  • Loading branch information
The24thDS authored Jul 25, 2024
1 parent 59121d6 commit fc4b2c5
Show file tree
Hide file tree
Showing 53 changed files with 614 additions and 1,094 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/playwright.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,3 @@ dev-dist

# Local Netlify folder
.netlify
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
9 changes: 0 additions & 9 deletions e2e/home.spec.ts

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions e2e/light-locators-generator.spec.ts

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions e2e/other-tools.spec.ts

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions e2e/privacy.spec.ts

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions e2e/traits-builder.spec.ts

This file was deleted.

Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
9 changes: 0 additions & 9 deletions e2e/unused-dds-finder.spec.ts

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
31 changes: 14 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
"name": "rmg-utils",
"private": true,
"version": "1.6.0",
"type": "module",
"scripts": {
"dev": "vite",
"prebuild": "cp magick.js public/assets/magick.js && cp magick.wasm public/assets/magick.wasm",
"build": "tsc && vite build",
"postbuild": "rm public/assets/magick.js public/assets/magick.wasm",
"preview": "vite preview",
"release": "npx standard-version",
"functions": "npx env-cmd -f ./.env.local netlify functions:serve",
"e2e": "playwright test"
"functions": "npx env-cmd -f ./.env.local netlify functions:serve"
},
"dependencies": {
"@emotion/react": "^11.9.3",
Expand All @@ -21,29 +19,28 @@
"@mantine/notifications": "^6.0.0",
"@netlify/functions": "^1.0.0",
"@sentry/browser": "^7.12.1",
"@tabler/icons-react": "^3.5.0",
"@tabler/icons": "^1.78.1",
"airtable": "^0.11.4",
"filesize": "^10.0.12",
"konva": "^8.3.14",
"random": "^3.0.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-konva": "^18.2.3",
"react-router-dom": "^6.3.0",
"tiny-invariant": "^1.2.0",
"use-image": "^1.1.0"
},
"devDependencies": {
"@playwright/test": "^1.44.1",
"@types/node": "^20.12.8",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/wicg-file-system-access": "^2023.10.5",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite-plugin-pwa": "^0.20.0",
"workbox-build": "^7.1.0",
"workbox-window": "^7.1.0"
"@types/node": "^18.6.3",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/wicg-file-system-access": "^2020.9.6",
"@vitejs/plugin-react": "^3.1.0",
"typescript": "^4.7.4",
"vite": "^4.0.0",
"vite-plugin-pwa": "^0.14.4",
"workbox-build": "^6.5.4",
"workbox-window": "^6.5.4"
}
}
78 changes: 0 additions & 78 deletions playwright.config.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Header/ColorSchemeToggle.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useMantineColorScheme, ActionIcon, Group } from "@mantine/core";
import { IconSun, IconMoonStars } from "@tabler/icons-react";
import { IconSun, IconMoonStars } from "@tabler/icons";

export default function ColorSchemeTogle() {
const { colorScheme, toggleColorScheme } = useMantineColorScheme();
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function Header() {
<Stack sx={{ maxWidth: 1500 }} mx="auto">
<Group position="apart" px="sm">
<Group>
<Image src={rmgLogo} height={50} width={50} alt="RMG logo" />
<Image src={rmgLogo} height={50} width={50} />
<Text size="xl" weight={700}>
RMG Utils for Stellaris
</Text>
Expand Down
2 changes: 1 addition & 1 deletion src/components/UnusedDDSFinder/FileTree.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Accordion, Flex, List, Text } from "@mantine/core";
import { IconFolder, IconPhoto } from "@tabler/icons-react";
import { IconFolder, IconPhoto } from "@tabler/icons";
import { partial } from "filesize";

import { UDDSDirectoryDDSFileType } from "../../utils/UDDSDirectory";
Expand Down
2 changes: 1 addition & 1 deletion src/components/UnusedDDSFinder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
Flex,
} from "@mantine/core";
import { showNotification } from "@mantine/notifications";
import { IconAlertTriangle } from "@tabler/icons-react";
import { IconAlertTriangle } from "@tabler/icons";

import { RequiresInstallation } from "../shared/RequiresInstallation";

Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/DownloadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { notifications } from "@mantine/notifications";
import { Stage } from "konva/lib/Stage";
import { useState } from "react";
import * as Sentry from "@sentry/browser";
import { IconX } from "@tabler/icons-react";
import { IconX } from "@tabler/icons";

declare global {
interface Window {
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/InstallApplicationButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useContext } from "react";
import { Alert, Button } from "@mantine/core";
import { IconAlertCircle } from "@tabler/icons-react";
import { IconAlertCircle } from "@tabler/icons";

import { BeforeInstallPromptContext } from "../../hooks/useIsInstalled";
import { isAnalyticsEnabled } from "../../utils/general";
Expand Down
Loading

0 comments on commit fc4b2c5

Please sign in to comment.