Skip to content

Commit

Permalink
Fixing a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shech2 committed Dec 23, 2023
1 parent b18eb77 commit 8e3084b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions aatp/peerbook_webrtc/admin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ test.describe('peerbook administration', () => {
const fromPeerbook = await page.$$('.from-peerbook')
expect(fromPeerbook.length).toBe(0)
})
test('try subcribe with an invalid email', async ({ browser }) => {
test('try subscribe with an invalid email', async ({ browser }) => {
// TODO: rename to context2
context = await browser.newContext()
page = await context.newPage()
Expand All @@ -261,7 +261,7 @@ test.describe('peerbook administration', () => {
await sleep(100)
if (await page.locator('[data-test="twr-minimized"]').isVisible())
await page.click('[data-test="twr-minimized"]')
await page.keyboard.type('subcribe')
await page.keyboard.type('subscribe')
await page.keyboard.press("Enter")
await sleep(100)
let twr = await getTWRBuffer(page)
Expand All @@ -279,9 +279,9 @@ test.describe('peerbook administration', () => {
twr = await getTWRBuffer(page)
expect(twr).toMatch(/Invalid credentials/)
})
test('try subcribe with an invalid OTP', async () => {
test('try subscribe with an invalid OTP', async () => {
await sleep(100)
await page.keyboard.type('subcribe')
await page.keyboard.type('subscribe')
await page.keyboard.press("Enter")
await sleep(100)
let twr = await getTWRBuffer(page)
Expand All @@ -299,9 +299,9 @@ test.describe('peerbook administration', () => {
twr = await getTWRBuffer(page)
expect(twr).toMatch(/Invalid credentials/)
})
test('subcribe with a valid email & OTP', async () => {
test('subscribe with a valid email & OTP', async () => {
await sleep(100)
await page.keyboard.type('subcribe')
await page.keyboard.type('subscribe')
await page.keyboard.press("Enter")
await sleep(100)
let twr = await getTWRBuffer(page)
Expand Down

0 comments on commit 8e3084b

Please sign in to comment.