-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/playwright integration #9
Conversation
tests/MainPageToOthers.test.ts
Outdated
return; | ||
} | ||
await page.locator('[data-test="main-map-btn"]').click(); | ||
await expect(page.locator('[data-test="map-page-container"]')).toBeVisible(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also check for toHaveURL
?
pages/index.vue
Outdated
@@ -45,26 +45,26 @@ const contentToUse = computed(() => { | |||
<VCol cols="auto"> | |||
<VBtn | |||
size="large" | |||
role="button" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't do this. <VBtn to="/">
renders an anchor tag <a href="/">
, so it should be targeted with getByRole("link")
pages/index.vue
Outdated
> | ||
{{ $t("global.basics.map") }} | ||
</VBtn> | ||
</VCol> | ||
<VCol cols="auto"> | ||
<VBtn | ||
size="large" | ||
role="button" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above
follow-up PR should refactor locale-dependent tests to either only run for |
merge playwright integration into develop.