Skip to content

Commit e05d5d7

Browse files
committed
debug
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
1 parent 561446f commit e05d5d7

4 files changed

Lines changed: 5 additions & 0 deletions

File tree

.drone.star

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ def beforePipelines(ctx):
289289
pipelinesDependsOn(pnpmlint(ctx), pnpmCache(ctx))
290290

291291
def stagePipelines(ctx):
292+
return e2eTestsOnPlaywright(ctx)
292293
unit_test_pipelines = unitTests(ctx)
293294

294295
# run only unit tests when publishing a standalone package

tests/e2e-playwright/support/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ const cleanupPredefinedUser = async (userKey: string, user: User) => {
8787
}
8888

8989
const cleanUpGroup = async (adminUser: User) => {
90+
console.log('groups:', store.createdGroupStore.keys())
9091
if (config.predefinedUsers) {
9192
return
9293
}

tests/e2e/support/environment/userManagement.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@ export class UsersEnvironment {
9797
}
9898

9999
storeCreatedGroup({ group }: { group: Group }): Group {
100+
console.log('store group', group)
100101
if (createdGroupStore.has(group.id)) {
101102
throw new Error(`group with key '${group.id}' already exists`)
102103
}
103104
createdGroupStore.set(group.id, group)
104105

106+
console.log('stored group', createdGroupStore.keys())
105107
return group
106108
}
107109

tests/e2e/support/objects/app-admin-settings/groups/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class Groups {
1717
async createGroup({ key }: { key: string }): Promise<void> {
1818
const group = this.#usersEnvironment.getGroup({ key })
1919
const response = await po.createGroup({ page: this.#page, key: group.displayName })
20+
console.log(`Created group: ${key}: ${response['displayName']}`)
2021
this.#usersEnvironment.storeCreatedGroup({
2122
group: {
2223
id: key,

0 commit comments

Comments
 (0)