Add data-e2e selector
This commit is contained in:
@@ -26,7 +26,7 @@ test("User can log in with default credentials", async t => {
|
||||
await t.typeText(Selector("#login-password"), PASSWORD);
|
||||
await t.click(Selector("#login-submit"));
|
||||
|
||||
const frontPage = Selector(".admin-front-page");
|
||||
const frontPage = Selector(`[data-e2e="admin-front-page"]`);
|
||||
await t.expect(frontPage.exists).ok();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user