Fixed the members e2e test

no issue

- Added a missing `'content-length': anyString` as it's not returning a stable value
- Removed snapshots that aren't relevant anymore
This commit is contained in:
Thibaut Patel 2022-02-17 15:56:16 +01:00
parent b10ea7c714
commit d4d6842bcc
2 changed files with 3 additions and 2086 deletions

File diff suppressed because it is too large Load Diff

View File

@ -178,7 +178,8 @@ describe('Members API', function () {
.get('members/?order=email_open_rate%20asc')
.expectStatus(200)
.matchHeaderSnapshot({
etag: anyEtag
etag: anyEtag,
'content-length': anyString
})
.matchBodySnapshot({
members: new Array(8).fill(memberMatcherShallowIncludes)