Skip to content

Commit

Permalink
re-add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed Dec 10, 2024
1 parent 08b5795 commit 44246b5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 49 deletions.
91 changes: 43 additions & 48 deletions frontend/e2e/init.cafe.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,50 +85,46 @@ fixture`E2E Tests`.requestHooks(logger).before(async () => {
await logResults(logger.requests, t)
})

// test('Segment-part-1', async () => {
// await testSegment1()
// await logout()
// })
//
// test('Segment-part-2', async () => {
// await testSegment2()
// await logout()
// })
//
// test('Segment-part-3', async () => {
// await testSegment3()
// await logout()
// })
//
// test('Flag', async () => {
// await flagTests()
// await logout()
// })
//
// test('Signup', async () => {
// await initialiseTests()
// await logout()
// })
//
// test('Invite', async () => {
// await inviteTest()
// })
//
// test('Environment', async () => {
// await environmentTest()
// await logout()
// })
//
// test('Project', async () => {
// await projectTest()
// await logout()
// })
//
// test('Versioning', async () => {
// await versioningTests()
// await logout()
// })
//
test('Segment-part-1', async () => {
await testSegment1()
await logout()
})

test('Segment-part-2', async () => {
await testSegment2()
await logout()
})

test('Segment-part-3', async () => {
await testSegment3()
await logout()
})

test('Flag', async () => {
await flagTests()
await logout()
})

test('Signup', async () => {
await initialiseTests()
await logout()
})

test('Invite', async () => {
await inviteTest()
})

test('Environment', async () => {
await environmentTest()
await logout()
})

test('Project', async () => {
await projectTest()
await logout()
})


// test('Organisation-permission', async () => {
// await organisationPermissionTest()
// await logout()
Expand All @@ -138,12 +134,11 @@ test('Project-permission', async () => {
await projectPermissionTest()
await logout()
})
//
// test('Environment-permission', async () => {
// await environmentPermissionTest()

// test('Environment', async () => {
// await environmentTest()
// await logout()
// })

// test('Roles', async () => {
// await rolesTest()
// await logout()
Expand Down
3 changes: 2 additions & 1 deletion frontend/e2e/tests/environment-test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
byId,
click, createEnvironment,
click,
createEnvironment,
log,
login,
setText,
Expand Down

0 comments on commit 44246b5

Please sign in to comment.