Skip to content

Commit

Permalink
fix(nextjs): fix next e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Nov 20, 2024
1 parent 548973c commit 3c3a8c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/next/src/next-playwright.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Next Playwright e2e tests', () => {
afterAll(() => cleanupProject());

it('should execute e2e tests using playwright', () => {
if (runE2ETests()) {
if (runE2ETests('playwright')) {
const result = runCLI(`e2e ${appName}-e2e --verbose`);
expect(result).toContain(
`Successfully ran target e2e for project ${appName}-e2e`
Expand Down Expand Up @@ -53,7 +53,7 @@ describe('Next Playwright e2e tests', () => {
`
);

if (runE2ETests()) {
if (runE2ETests('playwright')) {
const result = runCLI(`e2e ${appName}-e2e --verbose`);
expect(result).toContain(
`Successfully ran target e2e for project ${appName}-e2e`
Expand Down

0 comments on commit 3c3a8c7

Please sign in to comment.