app: test fixes for community plugins removal

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-04-20 12:03:09 +02:00
parent ab1ac5ce99
commit 1f2acab2b8
2 changed files with 1 additions and 7 deletions
-5
View File
@@ -16,11 +16,6 @@
import { renderWithEffects } from '@backstage/test-utils';
jest.mock('@backstage/plugin-graphiql', () => ({
...jest.requireActual('@backstage/plugin-graphiql'),
GraphiQLIcon: () => null,
}));
// Rarely, and only in windows CI, do these tests take slightly more than the
// default five seconds
jest.setTimeout(15_000);
@@ -76,9 +76,8 @@ describe('EntityPage Test', () => {
expect(rendered.getByText('ExampleComponent')).toBeInTheDocument();
await expect(
rendered.findByText('No Workflow Data'),
rendered.findByText('No CI/CD available for this entity'),
).resolves.toBeInTheDocument();
expect(rendered.getByText('Create new Workflow')).toBeInTheDocument();
});
});
});