Skip to content

Commit

Permalink
fix dappstaking register (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
gluneau authored Aug 14, 2023
1 parent 041c1ed commit 4155cbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_specs/dappstaking-register.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { clickDisclaimerButton } from 'src/modules/playwright';
import { BrowserContext, Page, expect } from '@playwright/test';
import { test } from '../fixtures';
import {
Expand All @@ -23,8 +24,8 @@ test.afterAll(async () => {
test.beforeEach(async ({ page, context }: { page: Page; context: BrowserContext }) => {
await page.goto('/astar/dapp-staking/discover');

// Close cookies popup
await page.getByRole('button', { name: 'Accept' }).click();
// Close disclaimer popup
await clickDisclaimerButton(page);

const polkadotButton = page.getByText('Polkadot.js');
await polkadotButton.click();
Expand Down

0 comments on commit 4155cbb

Please sign in to comment.