Skip to content

Commit f9922f0

Browse files
committed
feat: improve topbar and login tests
1 parent f85f652 commit f9922f0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

__checks__/key-user-flows/login.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ test('login', async ({ page }) => {
99
const shopPage = new DanubeShopPage(page);
1010

1111
await shopPage.performLogin(registeredUser);
12-
expect(await shopPage.isPastLogin());
12+
expect(await shopPage.loginMessage).toBeVisible();
1313
});

vue/src/components/Topbar.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<input
2828
id="n-email"
2929
class="textfield-modal"
30-
v-model="username"
30+
v-model="email"
3131
type="text"
3232
placeholder="Email"
3333
/>
@@ -163,10 +163,8 @@ export default {
163163
methods: {
164164
show() {
165165
this.$modal.show("modal-login");
166-
console.log('hello world')
167166
},
168167
signIn() {
169-
console.log('Sign IN attempt', this.email, this.password)
170168
this.error = ''
171169
172170
if (!this.email || !this.password) {

0 commit comments

Comments
 (0)