Skip to content

Commit ec5ef61

Browse files
committed
test(e2e/axiom): implement basic regression suite
1 parent 22a0a15 commit ec5ef61

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

apps/axiom-e2e/src/index.spec.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,23 @@ export function startLoggedOut() {
1010
))
1111
}
1212

13-
describe('Hacker', () => {
13+
describe('When a Hacker', () => {
14+
describe('navigates to axiom', () => {
15+
it('they should be re-directed to portal', async ({ actor }) => {
16+
await actor.attemptsTo(
17+
Navigate.to('/'),
18+
)
19+
})
20+
})
21+
22+
describe('navigates to portal', () => {
23+
it('they should see the login screen', async ({ actor }) => {
24+
await actor.attemptsTo(
25+
Navigate.to('portal.cuhacking.ca'),
26+
)
27+
})
28+
})
29+
1430
it('should be able to log in with LinkedIn', async ({ actor }) => {
1531
await actor.attemptsTo(
1632
)

0 commit comments

Comments
 (0)