Skip to content

Commit

Permalink
fix(e2e): fix upload image response
Browse files Browse the repository at this point in the history
  • Loading branch information
wlliaml committed Oct 17, 2023
1 parent 8550950 commit 61b8165
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lang/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -1835,4 +1835,4 @@
"defaultMessage": "{subscriber, plural, =1 {人} other {人}}",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
}
}
}
4 changes: 2 additions & 2 deletions tests/helpers/poms/userProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class UserProfilePage {

await waitForAPIResponse({
page: this.page,
path: 'data.singleFileUpload.type',
path: 'data.directImageUpload.type',
isOK: (value) => value === 'profileCover',
})

Expand All @@ -122,7 +122,7 @@ export class UserProfilePage {

await waitForAPIResponse({
page: this.page,
path: 'data.singleFileUpload.type',
path: 'data.directImageUpload.type',
isOK: (value) => value === 'avatar',
})

Expand Down

0 comments on commit 61b8165

Please sign in to comment.