Skip to content

Commit 0b30b24

Browse files
committed
removed .env in e2e from workflow
1 parent e6bd14d commit 0b30b24

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

.github/workflows/e2e.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,9 @@ jobs:
1313
touch .env
1414
echo "RESEND_API_KEY=${{ secrets.RESEND_API_KEY }}" >> .env
1515
echo "JWT_TOKEN_KEY=${{ secrets.JWT_TOKEN_KEY }}" >> .env
16-
- name: Create e2e .env
17-
run: |
18-
cd e2e
19-
touch .env
20-
echo "TEST_MAIL_API_KEY=${{ secrets.TEST_MAIL_API_KEY }}" >> .env
21-
echo "TEST_MAIL_NAMESPACE=${{ secrets.TEST_MAIL_NAMESPACE }}" >> .env
2216
- name: Launch e2e tests
2317
shell: bash
2418
env:
2519
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
2620
JWT_TOKEN_KEY: ${{ secrets.JWT_TOKEN_KEY }}
27-
TEST_MAIL_API_KEY: ${{ secrets.TEST_MAIL_API_KEY }}
28-
TEST_MAIL_NAMESPACE: ${{ secrets.TEST_MAIL_NAMESPACE }}
2921
run: docker compose -f docker-compose.e2e.yml up --build --exit-code-from=e2e

e2e/tests/AuthTestmail.test.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@ import "dotenv/config";
44

55
const baseUrl = "http://localhost:7000/";
66

7-
// const API_KEY = process.env.TEST_MAIL_API_KEY;
8-
// const namespace = process.env.TEST_MAIL_NAMESPACE;
9-
10-
// const API_KEY = "ad2ffaa6-a3a5-4498-809b-6c6ff70f247d";
11-
// const namespace = "eb9hz";
12-
13-
// console.log("test-API_KEY:", API_KEY)
14-
// console.log("test-namespace:", namespace)
15-
167
test("register and login", async ({ page }) => {
178
// Enregistre l'utilisateur avec l'adresse du compte testmail
189
await page.goto(baseUrl);

0 commit comments

Comments
 (0)