OBA Website automated using playwright
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

16 lines
711 B

const {test, expect} =require('@playwright/test')
import { LoginPage } from '../pages/LoginPage';
import { RunnerListPage } from '../pages/RunnerListPage';
test('RunnerList Button is working?',async ({page})=>{
const login = new LoginPage(page);
await login.gotoLoginPage();
await login.loginWithCrtPassword();
await page.waitForTimeout(5000);
const runner = new RunnerListPage(page);
await runner.clickrunnerListButton();
await page.waitForTimeout(5000);
await expect(await page.locator("//span[@class='flip-indecator']")).toBeVisible();
//await page.locator("//span[@class='flip-indecator']").waitFor({ state: 'visible' });
})