mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-24 08:49:39 -04:00
Fix unassigned variable (#52)
This commit is contained in:
@@ -427,8 +427,8 @@ export class PeoplePage {
|
||||
|
||||
async verifyNumberOfMatchingProfiles(count: number) {
|
||||
await expect(this.profileCount).toBeVisible()
|
||||
const test = await this.profileCount.textContent()
|
||||
if (!test) return
|
||||
expect(actual).toStrictEqual(expected)
|
||||
const actualCount = await this.profileCount.textContent()
|
||||
if (!actualCount) return
|
||||
expect(parseInt(actualCount)).toStrictEqual(count)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,4 +38,4 @@ test.describe('when given invalid input', () => {
|
||||
page.getByText('Failed to sign in with your email and password', {exact: true}),
|
||||
).toBeVisible()
|
||||
})
|
||||
})
|
||||
})
|
||||
@@ -28,4 +28,4 @@ test.describe('when an error occurs', () => {
|
||||
await app.signUp.verifyUsernameError()
|
||||
await expect(app.signUp.nextButtonLocator).toBeDisabled()
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user