diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2be980c95d..683c54000b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: steps: - name: Generate GitHub App Token id: github-app-token - uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 with: app-id: ${{ secrets.CLOUDOPERATOR_APP_ID }} private-key: ${{ secrets.CLOUDOPERATOR_APP_PRIVATE_KEY }} diff --git a/packages/ui-components/src/components/ComboBox/ComboBox.test.tsx b/packages/ui-components/src/components/ComboBox/ComboBox.test.tsx index 8af34e19fe..0599b3126f 100644 --- a/packages/ui-components/src/components/ComboBox/ComboBox.test.tsx +++ b/packages/ui-components/src/components/ComboBox/ComboBox.test.tsx @@ -81,26 +81,21 @@ describe("ComboBox", () => { }) test("renders options as passed", async () => { - await waitFor(() => - render( - - - Option 1 - - - ) + render( + + + Option 1 + + ) const user = userEvent.setup() const cbox = screen.getByRole("combobox") const cbutton = screen.getByRole("button") expect(cbox).toBeInTheDocument() expect(cbutton).toBeInTheDocument() - await waitFor(async () => { - await user.click(cbutton) - expect(screen.getByRole("listbox")).toBeInTheDocument() - expect(screen.getByRole("option")).toBeInTheDocument() - expect(screen.getByRole("option")).toHaveTextContent("Option 1") - }) + await user.click(cbutton) + expect(await screen.findByRole("listbox")).toBeInTheDocument() + expect(await screen.findByRole("option")).toHaveTextContent("Option 1") }) test("renders an id as passed", async () => {