mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-25 01:12:42 -04:00
Refactor signInFixture parameters in E2E test for clarity and update signinWithEmail usage accordingly
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import {expect, test} from '../fixtures/signInFixture'
|
||||
|
||||
test.describe('when given valid input', () => {
|
||||
test('should be able to sign in to an available account', async ({app, signedInAccount}) => {
|
||||
test('should be able to sign in to an available account', async ({
|
||||
app,
|
||||
signedOutAccount: account,
|
||||
}) => {
|
||||
await app.signinWithEmail(account)
|
||||
await app.home.goToHomePage()
|
||||
await app.home.verifySignedInHomePage(signedInAccount.display_name)
|
||||
await app.home.verifySignedInHomePage(account.display_name)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user