Playwright_TS/Playwright_GH_TS/lukan/tests/menuButton.test.spec.ts

14 lines
469 B
TypeScript
Raw Normal View History

2023-08-15 16:27:27 +00:00
import { test, expect } from '@playwright/test';
import { HomePage } from '../page-objects/HomePage';
test('Click menu button with HomePage' , async ({ page }) => {
const homePage = new HomePage(page);
await homePage.gotoHome();
await homePage.clickUvodniStranaButton();
await homePage.clickOMneButton();
await homePage.clickZOOUButton();
await homePage.clickPodporovateleButton();
//await context.close();
//await browser.close();
});