test: Create E2E tests for a collective event type (teste2e-bookCollective) (#12565)

* refactor

* add localize / refactor

* add changes

* fix conflicts

* replace text by testId

* refactor

* Update regularBookings.ts

* fix conflicts

* fix failing check

* fix failing test

---------

Co-authored-by: gitstart-calcom <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: GitStart-Cal.com <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-01-28 20:55:17 -03:00
1 parent 4d128971bb
commit cc0ff17d97
5 files changed
+165 -10

No files matched your search

+1 -1
View File
@@ -742,7 +742,7 @@ const NavigationItem: React.FC<{
/>
)}
{isLocaleReady ? (
<span className="hidden w-full justify-between lg:flex">
<span className="hidden w-full justify-between lg:flex" data-testid={`${item.name}-test`}>
<div className="flex">{t(item.name)}</div>
{item.badge && item.badge}
</span>