const { test } = require('@playwright/test'); test('check repo content', async ({ page }) => { // Login first await page.goto('https://gitea.wellnua.com/user/login'); await page.locator('input#user_name').fill('sergei_t'); await page.locator('input#password').fill('WellNuo2025!Secure'); await page.locator('button:has-text("Sign In")').click(); await page.waitForTimeout(2000); // Go to repo await page.goto('https://gitea.wellnua.com/robert/MobileApp_react_native'); await page.waitForLoadState('networkidle'); await page.screenshot({ path: 'tests/screenshots/repo-content.png', fullPage: true }); console.log('Page title:', await page.title()); console.log('URL:', page.url()); });