|
const {test, expect} =require('@playwright/test')
|
|
import { LoginPage } from '../pages/LoginPage';
|
|
import { Feedback } from '../pages/Feedback';
|
|
|
|
|
|
test('Content page is opening?',async ({page})=>{
|
|
const login = new LoginPage(page);
|
|
await login.gotoLoginPage();
|
|
await login.loginWithCrtPassword();
|
|
await page.waitForTimeout(5000);
|
|
const content = new ContentPage(page);
|
|
await content.clickContentButton();
|
|
await expect(await page.locator(content.contentPageValidate)).toBeVisible();
|
|
// await page.waitForTimeout(3000)
|
|
|
|
})
|