Providing fields argument to Drive.Comments.create and Drive.Replies.… #4057
CI.yml
on: push
Get Playwright Version
2s
Frontend test
1m 35s
Annotations
11 errors
tests/backend/move/copyFileComments.test.ts > copyFileComments works correctly:
tests/backend/move/copyFileComments.test.ts#L66
AssertionError: expected undefined to be defined
❯ tests/backend/move/copyFileComments.test.ts:66:5
|
tests/backend/move/copyFileComments.test.ts > copyFileComments works correctly with replies:
tests/backend/move/copyFileComments.test.ts#L155
AssertionError: expected undefined to be defined
❯ tests/backend/move/copyFileComments.test.ts:155:5
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > create works:
src/backend/utils/SafeDriveService/SafeCommentsCollection.ts#L39
TypeError: Cannot read properties of undefined (reading 'author')
❯ commentIsSafe_ src/backend/utils/SafeDriveService/SafeCommentsCollection.ts:39:11
❯ Object.create src/backend/utils/SafeDriveService/SafeCommentsCollection.ts:83:10
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:30:34
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > create throws an error on an invalid comment:
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts#L62
AssertionError: expected [Function] to throw error matching /^$/ but got 'Cannot read properties of undefined (…'
- Expected:
/^$/
+ Received:
"Cannot read properties of undefined (reading 'author')"
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:62:68
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > list works:
src/backend/utils/SafeDriveService/SafeCommentsCollection.ts#L39
TypeError: Cannot read properties of undefined (reading 'author')
❯ commentIsSafe_ src/backend/utils/SafeDriveService/SafeCommentsCollection.ts:39:11
❯ src/backend/utils/SafeDriveService/SafeCommentsCollection.ts:53:46
❯ commentListIsSafe_ src/backend/utils/SafeDriveService/SafeCommentsCollection.ts:53:27
❯ Object.list src/backend/utils/SafeDriveService/SafeCommentsCollection.ts:101:10
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:114:34
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > list works with optional arguments:
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts#L178
AssertionError: expected { fields: 'nextPageToken, comments()' } to be { fields: 'comments(id)', …(2) } // Object.is equality
- Expected
+ Received
Object {
- "fields": "comments(id)",
- "maxResults": 100,
- "pageToken": "TOKEN",
+ "fields": "nextPageToken, comments()",
}
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:178:33
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > list throws an error on an invalid comment:
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts#L225
AssertionError: expected [Function] to throw error matching /^$/ but got 'Cannot read properties of undefined (…'
- Expected:
/^$/
+ Received:
"Cannot read properties of undefined (reading 'author')"
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:225:57
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > list throws an error on an invalid comment list:
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts#L242
AssertionError: expected [Function] to throw error matching /^$/ but got 'Comments.list: Comment list is not sa…'
- Expected:
/^$/
+ Received:
"Comments.list: Comment list is not safe."
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:242:57
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > list throws an error on missing replies:
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts#L285
AssertionError: expected [Function] to throw error matching /^$/ but got 'Cannot read properties of undefined (…'
- Expected:
/^$/
+ Received:
"Cannot read properties of undefined (reading 'author')"
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:285:57
|
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts > list throws an error on an invalid reply:
tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts#L336
AssertionError: expected [Function] to throw error matching /^$/ but got 'Cannot read properties of undefined (…'
- Expected:
/^$/
+ Received:
"Cannot read properties of undefined (reading 'author')"
❯ tests/backend/utils/SafeDriveService/SafeCommentsCollection.test.ts:336:57
|
Lint
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
221 KB |
|