Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f1bb7c4fa6 | |||
| 56b11befe9 | |||
| 42f3e3211a | |||
| f414d2589f | |||
| d1f8d27d1c |
@@ -2,9 +2,9 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, dev]
|
branches: [main, dev, uat]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, dev]
|
branches: [main, dev, uat]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
ref:
|
ref:
|
||||||
+1
-1
@@ -18,4 +18,4 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
|
||||||
CMD curl -f http://localhost:80/ || exit 1
|
CMD wget --spider -q http://localhost:80/ || exit 1
|
||||||
@@ -111,7 +111,7 @@ describe("PetForm", () => {
|
|||||||
render(<PetForm pet={petWithAlert} onSave={onSave} onCancel={onCancel} />);
|
render(<PetForm pet={petWithAlert} onSave={onSave} onCancel={onCancel} />);
|
||||||
const removeButtons = screen.getAllByRole("button", { name: "" });
|
const removeButtons = screen.getAllByRole("button", { name: "" });
|
||||||
if (removeButtons.length === 0) return;
|
if (removeButtons.length === 0) return;
|
||||||
const removeButton = removeButtons[0];
|
const removeButton = removeButtons[0]!;
|
||||||
if (!removeButton) return;
|
if (!removeButton) return;
|
||||||
fireEvent.click(removeButton);
|
fireEvent.click(removeButton);
|
||||||
expect(screen.queryByText("Allergic to chicken")).toBeNull();
|
expect(screen.queryByText("Allergic to chicken")).toBeNull();
|
||||||
|
|||||||
+1
-1
@@ -519,7 +519,7 @@ export function BookPage() {
|
|||||||
<option value="small">Small (under 15 lbs)</option>
|
<option value="small">Small (under 15 lbs)</option>
|
||||||
<option value="medium">Medium (15–40 lbs)</option>
|
<option value="medium">Medium (15–40 lbs)</option>
|
||||||
<option value="large">Large (40–80 lbs)</option>
|
<option value="large">Large (40–80 lbs)</option>
|
||||||
<option value="x-large">X-Large (over 80 lbs)</option>
|
<option value="xlarge">X-Large (over 80 lbs)</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user