0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/integration-tests/tests/ui/smoke.test.ts
Gao Sun 6a2e604926
test(ui): init smoke testing (#1771)
* test(ui): init smoke testing

* fix(test): logto url env key
2022-08-12 18:07:16 +08:00

8 lines
245 B
TypeScript

import { logtoUrl } from '@/constants';
describe('smoke testing', () => {
it('opens with app element', async () => {
await page.goto(new URL('/sign-in', logtoUrl).href);
await expect(page.$('#app')).resolves.not.toBeNull();
});
});