增加table示例用例

This commit is contained in:
zhiyong.yue 2023-05-23 16:44:36 +08:00
parent 41b6b0f3cb
commit 594182e36e
1 changed files with 13 additions and 0 deletions

View File

@ -27,4 +27,17 @@ test.describe('示例', () => {
expect(await user_2.page.getByText(`我的关注`).count()).toBe(1)
});
});
test('manager查看我的项目-3', async ({ manager }) => {
await test.step('登录用户', async () => {
await manager.LoginPage.goto();
await manager.LoginPage.("manager", "cloud2018");
await manager.DashboardPage.waitForMe()
});
await test.step('进入我的项目,查看第3行项目编码', async () => {
await manager.MyProject.goto();
const cell = await manager.MyProject..getCellLocator(3, "项目编号");
console.log(await cell.innerText());
});
});
});