Skip to content

Commit

Permalink
Update test due to buttons no longer disappearing after being clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
MReyna12 committed Jul 18, 2024
1 parent 9897752 commit 74b41f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/content-templates.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test('segmented content template works', async ({ page }) => {
<p>Want to see more?</p>
</div>
</div>
<div class="os-raise-ib-cta" data-button-text="Yes!" data-fire-event="event2" data-wait-for-event="event1">
<div class="os-raise-ib-cta" data-button-text="Yes!!" data-fire-event="event2" data-wait-for-event="event1">
<div class="os-raise-ib-cta-content">
<p>This is the content for block 2</p>
</div>
Expand All @@ -52,7 +52,7 @@ test('segmented content template works', async ({ page }) => {
await page.click('text=Yes!')
await page.waitForSelector('text=This is the content for block 2')
await expect(page.locator('text=That\'s all folks!')).not.toBeVisible()
await page.click('text=Yes!')
await page.click('text=Yes!!')
await page.waitForSelector('text=That\'s all folks!')
})

Expand Down

0 comments on commit 74b41f8

Please sign in to comment.