0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

test: test

This commit is contained in:
Gao Sun 2023-06-13 12:40:41 +08:00
parent ff06ead917
commit 8de7e5538d
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -171,6 +171,8 @@ describe('smoke testing for cloud', () => {
await expect(page).toClick('button[name=submit]');
await page.waitForNavigation({ waitUntil: 'networkidle0' });
console.log('???', page.url());
expect(page.url().startsWith(logtoCloudUrl.href)).toBeTruthy();
expect(new URL(page.url()).pathname.endsWith('/onboarding/welcome')).toBeTruthy();
});