|
1 |
| -import { expect, test } from '@playwright/test'; |
| 1 | +import { test } from '@playwright/test'; |
2 | 2 |
|
3 | 3 | import type { Application } from '../models/application';
|
4 | 4 | import { appConfigs } from '../presets';
|
@@ -29,31 +29,12 @@ test.describe('session tasks sign in flow @nextjs', () => {
|
29 | 29 | await app.teardown();
|
30 | 30 | });
|
31 | 31 |
|
32 |
| - test('on after sign-in, navigates to task', async ({ page, context }) => { |
33 |
| - const u = createTestUtils({ app, page, context }); |
34 |
| - await u.po.signIn.goTo(); |
35 |
| - await u.po.signIn.setIdentifier(fakeUser.email); |
36 |
| - await u.po.signIn.continue(); |
37 |
| - await u.po.signIn.setPassword(fakeUser.password); |
38 |
| - await u.po.signIn.continue(); |
39 |
| - await u.po.expect.toBeSignedIn(); |
40 |
| - await expect(u.page.getByRole('heading', { name: 'Create Organization' })).toBeVisible(); |
41 |
| - expect(u.page.url()).toContain('/sign-in/add-organization'); |
| 32 | + test.fixme('on after sign-in, navigates to task', async () => { |
| 33 | + // todo |
42 | 34 | });
|
43 | 35 |
|
44 |
| - test('redirects back to task when accessing root sign in component', async ({ page, context }) => { |
45 |
| - const u = createTestUtils({ app, page, context }); |
46 |
| - await u.po.signIn.goTo(); |
47 |
| - await u.po.signIn.setIdentifier(fakeUser.email); |
48 |
| - await u.po.signIn.continue(); |
49 |
| - await u.po.signIn.setPassword(fakeUser.password); |
50 |
| - await u.po.signIn.continue(); |
51 |
| - await u.po.expect.toBeSignedIn(); |
52 |
| - await expect(u.page.getByRole('heading', { name: 'Create Organization' })).toBeVisible(); |
53 |
| - expect(u.page.url()).toContain('/sign-in/add-organization'); |
54 |
| - await u.po.signIn.goTo(); |
55 |
| - await expect(u.page.getByRole('heading', { name: 'Create Organization' })).toBeVisible(); |
56 |
| - expect(u.page.url()).toContain('/sign-in/add-organization'); |
| 36 | + test.fixme('redirects back to task when accessing root sign in component', async () => { |
| 37 | + // todo |
57 | 38 | });
|
58 | 39 |
|
59 | 40 | test.fixme('redirects to after sign-in url when accessing root sign in component with a active session', {
|
|
0 commit comments