Skip to content

Commit

Permalink
Move rss.spec and signup.spec to e2e-full
Browse files Browse the repository at this point in the history
  • Loading branch information
clari182 committed Sep 2, 2024
1 parent 35bd189 commit ed2dcba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import { expect } from '@playwright/test';
import config from '../config';
import { test } from '../utils';
import { XMLParser } from 'fast-xml-parser';
import { init } from '../memory-mongo';

test.describe('RSS', () => {
test('Should generate a valid RSS feed', async ({ page }) => {
await init();
const response = await page.request.get('/rss.xml');
expect(response.status()).toBe(200);
expect(response.headers()['content-type']).toContain('application/xml');
Expand All @@ -22,6 +24,7 @@ test.describe('RSS', () => {

if (!config.isEmptyEnvironment) {
test('Should generate a valid RSS feed data', async ({ page }) => {
await init();
const response = await page.request.get('/rss.xml');
expect(response.status()).toBe(200);
expect(response.headers()['content-type']).toContain('application/xml');
Expand Down

0 comments on commit ed2dcba

Please sign in to comment.