Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tests): Implement tests with Playwright #90

Merged
merged 15 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ For visual changes, please provide screenshots.
### Checklist:

- [ ] My changes generate no new warnings or errors
- [ ] The build passes successfully
- [ ] I have verified that these changes don't negatively impact performance
- [ ] Also optimized for mobile layouts

Expand All @@ -37,38 +36,6 @@ For image contributions, also check:
- [ ] I have verified that the image(s) display correctly in the project context
-->

### Regression Testing

_If your changes affect the core tier list functionality (such as URL encoding, OG image generation, etc.), you must
perform these tests and add more if necessary. Otherwise, you may opt to skip this step._

We haven't implemented automated testing yet, so please manually test by clicking the links for the following scenarios
locally:

**OG**

- [ ] [Link to test](http://localhost:3000/api/og)
- [ ] [Link to test](http://localhost:3000/api/og?state=NobwRAlmBcYC4QKYCcC0BnMAaMA7GYAyodvDKJARALYCGA5oqgPYBuKA7rXAMYAWqOgFcAdB0QAjAA6keBALK0h9WmAC+WcFFg0GTNp279UHCLjGSZOObADqZ9HGb4NWqnUYt2yLrwEATVloLaVkCABERADVVV0odD31vX2M+ZnoQqzAbMAAlZlp-NPp1TXjIRK9DPwwIDPFQ6wJCOrpStwS9Kp8jAQAvWmRMsNgALUGAT1iy7Qqugx6aiVopYabYACEVhEdEdvLdTwWUgQBrCCGGrJyAaQuIU+Z1AF042YQUDEwcfFgSHDg5A6cyOyV6qAgABtIWtsgQAJLQwZQN7ueZgmpSPjBK4jMAABWxyFofH2s0OSWqxjgxNhOQAKsSeCgyWjQVSBA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SBjBwACQYvoaMG9aBHQCYPWs5oTos-12OBHkeG4RB6CciA+kQZ8orAGLXmeIA)

**The Finals**

- [ ] [Link to test](http://localhost:3000/rank/the-finals/light?state=N4IgLglgpgTgziAXAbVBJ5owLQIDQgB2GAyiAWEqiOojQLYCGA5lNjFIwMYAWYPUAGYRCjADZxsADQAK2AKwAWAPoAlRoQDWygIwA6AO5QARgAcQAXzxoMEJq3ade-ISPGSAsjp1qN2-UZmltY0tvZsHNx8AsKiEtgAogBujHAQSVDKACKpPL5auoYm5lY2dHYsEU7RrnGSJAD2ojDKAOIcogAmmeoFAcXBZQyVjlEuse7YAGIwLG0djN35-kVBpaHl4aPOMW7x7YympmIizMoAEg0N2r0rgSUAuuu0mLDYjOREGACCn5QoQwqDkiO1qkxIYAAroQ2tDloV7oMNsNgdVxntJAA1DQQOA8U7KABCDXoxnh-TWIReQKqY12dWwrROYF48ygXR6fgRA2eYRGIJqE32jDAUAMjAAnuTViUqXzUXSwfEADLnHy3bmUwFbAXohmYgCcJGliN5m35aPpkwAKgIYEwxESGhwTTy5eaFaChZJrbMuJoCTkYGBXVrkTTtoKMdgAMJiBqMAOEM5ZKBJCBcTl9GWWJ7u144YyfYh0Ql-Kjai2K73YQkC5QxniMGCsUOyyueqMMmQSmANNkcttI6k6y1KyStVIDxZZu48vNDSBvLjFjAx8sA8Oj6vRg0AZlUQ7NKNpXujJHo10y7XZM6P+Yjuqt+yu06WGopj2PS5wglXdCmDdqBHKszwZKYxFyYwNDOD8c2PR8xxrW1YAdZRMVxCAmiPBdkWhLgRSgZhnQgAAvKBOn-EAgI7U8u3BVRsAADhUODTQfbcwPBNUDQABl4+9aMjPUbR4PsDAJABpQh0igOBBK3UD6PiVQoC4SEYAyJ0DAUkDOxE+ISAMZ1Ol0+U6IMyQcmYVgWjY+cLAeCgIDAMQoAwa1zgSAACKYAEkADlvmVEhvJIPdvOwbzlT81pzmtbzvjEMRsFUBpoW6GBLCAA)
- [ ] [Link to test](http://localhost:3000/rank/the-finals/light?state=N4IgLglgpgTgziAXAbVBJ5owLQIDQgB2GAyiAWEqiOojQLYCGA5lNjFIwMYAWYPUAGYRCjADZxsAFR4wA9gHcRzAPoBpQhABuUOCoBKjQgGsVARgB0CqACMADiAC+eNBghNW7Tr35CR4yQBRLUY4bSgVABFQngMjU0treycXGjcPNg5uPgFhUQlsEjlRGBUAcQ5RABMIwxNzK1sHZ1c6dxZM7xy-fMkSMABXQnKhuPrEppTWhg6vbN88gOwANSMIOB5lFQAhOXobMYTG5McAXRa0ukhYbEZyIgwAQXvKFGn2zyyfXP8C-SguAMYDodopDg0ks1UrQZp8ugtfpIAGIwFjlSqMGrgiYnaHpWZfbqLAplMQQMC8dFQaq1eIQyYXGEfTrzH69aQCGBMMSgjjY45Q94ZObfHpLKSorjGLbRGBgfmQqaXWEs0XEyRlRhgKAKRgATwVDPOeKuWGwNnuxDo2xeVCFBPhbKWFUYdjsZMIqgAEnI5KY6kdFYz8XDWWKCgBhMRyRjSz1RKBaCBcWnjAVKpnCwkI9nbQkqCM8RgwViG3H20NqxHYAAKevkVJpZcFyuZIqJ1c1egq1MxqcDRuDppuXEtGAjtrerazjvDfXofoiPabAfp5enDrD6uwZV9jb7zacxum1xwgjHdCRk+omc3VfZSLEMRsRlUq5xLdvlY77JksG5KjLOsEDFIeZxDiAQxcFqUDMHIMAQAAXlAVQXiA14VqqP5LCQCjwVUYEmiq7Y5ks0TMKwpTvumEFttmToFCQ+jYAAHAALIRmEkQxfRemYACcAAMgmcRu36kQUAAaNbYAArBx1FBkRdGztuACyZhmKJX5YRJkgADJ8dpIa6TxKz8SQxltDOW7VvxADM+hgecpwUOSYhQBgUheoEAAESIAJIAHKPPpJC+SQ9m+dgvn6QFZRelIvk1vIABWAKQB5ThAA)
- [ ] [Link to test](http://localhost:3000/rank/the-finals/light?state=N4IgLglgpgTgziAXAbVBJ5owLQIDQgB2GAyiAWEqiOojQLYCGA5lNjFIwMYAWYPUAGYRCjADZxsJAErYAHABYA+tMaEA1koCMAOgDuUAEYAHEAF88aDBCat2nXvyEjxkgOIxGx42JHMlABIA9kGaqhra+kamFlZ0NixsHNx8AsKiEtgAwmJBjOp+SgAiUABuEFxQKmqaugYm5pY01rZJDqnOGZIkQaIwSh5QogAmVeG1UQ2xzfGt9ilO6a5SYACuhAPr1RF10Y1xDInzjmkumW6MYFB6jACe2xP1MQC607SYsNiM5EQYAII-SgoA4JOzJE6dZYAMU8-kGIzGNUiT32M0OYPaizO7l8YF4Aw4CIeyL2bxaR3BHSWmQAoqVGHAIKUqkUGTxibspk13qC2gtTl1sAAVAQwJhiJQAISCHA5kxi3PJGP5kMyQs8XAKhH8rJgYDlKLMr0VdEgn0MP2IdElgKoILmlKxgoAamoIHAeIVpfRDAbSSb0XyIdTJAAFW4wIIEoaMUZ+rn2imYgXLC5waNE8YkhNo3nHKnYqT0UJVeGxxE7eWonkO5Oq9whDPl+MKxPK4OFgAyAS0LerSqDBcF0igXFWMGZUqCej7RrJpqw2C4lowWVtwNztZVIewkspSiyPEYMFYs4DecdKcyULEbMMan8Wc5L3nHxwghXdCh6+oNaT28LEVYHFJRnXdCBelnY0DnWLhLigZgZQgAAvKBhk-EAfzbQcnWWEgewATgABiIs9sPzXC1R4SM9EKABpQgmSgdMnyrV8LzrHcSD0GVhjIzd-w7QVWWYVh+lYw1zy3ITlgADVDbAAFZlAk-1yMvetsAAWS0XtVJzP92yHZZnQIkh+MMnCr0kAiAGZpCgo0KAgMAxCgDAhQCGkAAIoQASQAOT+TsSG8khbO87BvM7Py3ACIUwsY4xYHMIA)
- [ ] [Link to test](http://localhost:3000/rank/the-finals/light?state=N4IgLglgpgTgziAXAbVBJ5owLQIDQgB2GAyiAWEqiOojQLYCGA5lNjFIwMYAWYPUAGYRCjADZxsJAO4B7GABMA+gCVGhANZKAjADppUAEYAHEAF88aDBCat2nXvyEjxkkgAltATgAMP1epaegYm5pY01rZsHNx8AsKiEtgAogBujHAQqVBKACIZPAGaOvpGphZWdDYs0Q5xzolusqIwSg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5QAYECth8XwgZ2qZbBQmq-hgAAqAASACiAAEAoAJKdNIj4kIJJCeoJ2CCQJ0gAGoAJrSXIihKIJuQAIq5hYQA)
- [ ] [Link to test](http://localhost:3000/rank/the-finals/heavy?state=N4IgLglgpgTgziAXAbVBJ5owLQIDQgB2GAyiAWEqiOojQLYCGA5lNjFIwMYAWYPUAGYRCjADZxsAdRG8A+gGExjAO5yASo0IBrOQEYAdCqgAjAA4gAvnjQYITVu069+QkeMkARAPb0ockh5oMQATDS1dQ2NzKxsaOwc2Dm4+AWFRCWwAIUYYGAguRhD-TR19I1MLa1s6exYk51S3DMl1AAUAcWwAdnCyqMqrAF1q+LpIWGxGciIMAEEZyhQahnqnFNd0j2wSMSgQ1h5Gej8YPsiKmNHaVcdklzT3TJIzTjPSi+iquJu6u8bNk9JCQ5noAEx6ABs53KX1iKz+DQ2jxa2AAst5IN5CAEoIQ4N53hFYYNrgk1vcmltMgAxGAsOQdDiiYowgZXH7k-7I5rbOaESDYJmMABuEDAAE9FABXEwlYnsqojTnjLDYEwzYh0LKLKgIxLrB682nKPz8GDeYxE-qXb76ikAlHbADSJGwYIAzGzbfCxrckUbqZI2hKLXI0SJ5Ta4WTagbKYDUQoACzemMq-2GqlAoXebyM5lFKOfUnKlYTHBcTUYBS65Z+xFZxPbDqMOAFvFFtOkjONhNOzIhsNMzusj4kjn27mBnNoyEABm7k4b8cdxskABkoCoIO2OtKcePFcNY5hJoJq3QaXXqL9Vzyg9gaco4DwTFpmEu7SuHQ-Zx0Nw9MEvxPDMD0KMAoGYQkIAAL32S8QBvKcA2zVEOjzRkDxA08+zXR80SgV8AiCKBQhw3t7xnJMjhgVg5AAOQCU0cJGIYKHFPYMAAFQACQAUQAAhpABJBi5g3EhBJID1BOwQSBLmAA1ABNQSZEIXhBKUVRtIARVrSwgA)

### Additional context

<!--
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-image-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'dependabot/')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check for image updates and add label
run: |
if git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep -q '^package.*\.json' && git diff ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep -q '"image-'; then
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Playwright Tests
on:
deployment_status:
jobs:
test:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Upload snapshots on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results/
retention-days: 30
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ next-env.d.ts
public/images/*
!public/images/.gitkeep
.prepare-images-lock
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
3 changes: 1 addition & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/(static)/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const AboutPage = () => {
<section className="py-20">
<div className="container mx-auto px-4">
<h2 className="text-4xl md:text-5xl font-bold mb-12 text-center">Our Approach</h2>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
<div className="flex flex-col md:grid md:grid-cols-3 gap-8">
<Card className="col-span-3">
<CardHeader>
<h3 className="text-2xl font-semibold">Community Driven & Open-Source</h3>
Expand Down
9 changes: 0 additions & 9 deletions components/ThemeProvider.tsx

This file was deleted.

Loading