fix(tests): Tries to login with valid credentials, confirmed account but no profile
article.o-notification is not enouth specific
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div id="EditIdentity">
|
||||
<breadcrumbs-nav :links="breadcrumbsLinks" />
|
||||
<div v-if="identity">
|
||||
<h1 class="flex justify-center">
|
||||
|
||||
@@ -138,7 +138,7 @@ test("Tries to login with valid credentials, confirmed account but no profile",
|
||||
});
|
||||
await submitButton.click();
|
||||
|
||||
await expect(page.locator("article.o-notification")).toHaveText(
|
||||
await expect(page.locator("#EditIdentity article.o-notification")).toHaveText(
|
||||
"This username is already taken."
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user