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.
 

23 lines
717 B

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