Skip to content

Commit

Permalink
refactor: test cases updated
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadip committed Oct 21, 2023
1 parent e12b1d3 commit b89915f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/app-button.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test';

test('Primary Button Test Case', async ({ page }) => {
await page.goto('http://localhost:6006/iframe.html?id=appbutton--primary');
await page.goto('http://localhost:6006/iframe.html?args=&id=stories-app-button--primary&viewMode=story');
const titleLocator = page.locator("[class*='_title_']");
expect(await titleLocator.textContent()).toBe('Button');
});

0 comments on commit b89915f

Please sign in to comment.