test: Migrate 3 specs from Cypress - Playwright (#19269)

This commit is contained in:
shortstacked
2025-09-08 12:46:08 +01:00
committed by GitHub
parent c6be123ddb
commit f7d225e871
24 changed files with 1154 additions and 470 deletions

View File

@@ -2,7 +2,7 @@ import { test, expect } from '../../fixtures/base';
test.describe('OAuth Credentials', () => {
test('should create and connect with Google OAuth2', async ({ n8n, page }) => {
const projectId = await n8n.start.fromNewProject();
const projectId = await n8n.start.fromNewProjectBlankCanvas();
await page.goto(`projects/${projectId}/credentials`);
await n8n.credentials.emptyListCreateCredentialButton.click();
await n8n.credentials.openNewCredentialDialogFromCredentialList('Google OAuth2 API');