mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
try and fix tests (again)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
3e3a28f499
commit
4fafcc19b6
@ -165,13 +165,11 @@ describe("kube-object-menu", () => {
|
|||||||
|
|
||||||
describe("when removing kube object", () => {
|
describe("when removing kube object", () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
const menuItem = await screen.findByTestId("menu-action-delete");
|
userEvent.click(await screen.findByTestId("menu-action-delete"));
|
||||||
|
|
||||||
userEvent.click(menuItem);
|
|
||||||
await screen.findByTestId("confirmation-dialog");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("renders", () => {
|
it("renders", async () => {
|
||||||
|
await screen.findByTestId("confirmation-dialog");
|
||||||
expect(baseElement).toMatchSnapshot();
|
expect(baseElement).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user