Design Language tweaks

This commit is contained in:
2026-05-15 01:28:10 +12:00
parent baafafabdb
commit 580d600c47
52 changed files with 3465 additions and 1548 deletions
+4 -4
View File
@@ -16,7 +16,7 @@ async function fillOwnerStep() {
}
async function fillDogStep() {
await fireEvent.click(screen.getByLabelText('Pack Walks'));
await fireEvent.click(screen.getByLabelText('Tiny Gang Pack Walks'));
await fireEvent.click(screen.getByLabelText('Other Services'));
await fireEvent.input(screen.getByLabelText(/Dog's Name/i), {
target: { value: 'Maya' }
@@ -24,7 +24,7 @@ async function fillDogStep() {
await fireEvent.input(screen.getByLabelText(/Location/i), {
target: { value: 'Kingsland' }
});
await fireEvent.input(screen.getByLabelText(/Pack Walks fit/i), {
await fireEvent.input(screen.getByLabelText(/Tiny Gang Pack Walks fit/i), {
target: { value: 'Loves small group walks.' }
});
}
@@ -103,7 +103,7 @@ describe('BookingSection', () => {
petName: 'Maya',
location: 'Kingsland',
message: 'Loves small group walks.',
services: ['Pack Walks', 'Other Services'],
services: ['Tiny Gang Pack Walks', 'Other Services'],
website: '',
referrer: 'https://www.google.com/',
stepChanges: 1,
@@ -139,7 +139,7 @@ describe('BookingSection', () => {
await fireEvent.click(screen.getByLabelText(/General enquiry/i));
expect(screen.queryByLabelText(/Dog's Name/i)).not.toBeInTheDocument();
expect(screen.queryByText('Pack Walks')).not.toBeInTheDocument();
expect(screen.queryByText('Tiny Gang Pack Walks')).not.toBeInTheDocument();
await fireEvent.click(container.querySelector('.booking-next-button')!);
expect(screen.getByText('Please tell us how we can help')).toBeInTheDocument();