add changes
This commit is contained in:
parent
842f754d3a
commit
9a75db06ca
|
@ -392,16 +392,12 @@ export function createBookingPageFixture(page: Page) {
|
|||
}
|
||||
},
|
||||
createTeam: async (name: string) => {
|
||||
const teamsText = (await localize("en"))("teams");
|
||||
const continueText = (await localize("en"))("continue");
|
||||
const publishTeamText = (await localize("en"))("team_publish");
|
||||
|
||||
await page.getByRole("link", { name: teamsText }).click();
|
||||
await page.getByTestId("teams-test").click();
|
||||
await page.getByTestId("new-team-btn").click();
|
||||
await page.getByPlaceholder("Acme Inc.").click();
|
||||
await page.getByPlaceholder("Acme Inc.").fill(name);
|
||||
await page.getByRole("button", { name: continueText }).click();
|
||||
await page.getByRole("button", { name: publishTeamText }).click();
|
||||
await page.getByTestId("continue-button").click();
|
||||
await page.getByTestId("publish-button").click();
|
||||
|
||||
await page.getByTestId("vertical-tab-Back").click();
|
||||
},
|
||||
|
|
|
@ -157,7 +157,8 @@ export const CreateANewTeamForm = () => {
|
|||
color="primary"
|
||||
EndIcon={ArrowRight}
|
||||
type="submit"
|
||||
className="w-full justify-center">
|
||||
className="w-full justify-center"
|
||||
data-testid="continue-button">
|
||||
{t(flag.submitLabel)}
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
@ -736,7 +736,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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user