Skip to content

Commit

Permalink
last.fm test now working
Browse files Browse the repository at this point in the history
  • Loading branch information
trossr32 committed Apr 29, 2024
1 parent a39df42 commit 8cfdc7e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions tests/playwright/site.integrations.tests/last.fm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import { iconDataLocator } from '../constants';
import { test, expect } from '../fixtures';
import { getExpectedLidarrUrl } from '../helpers';

// TODO: test is not currently working but the integration is. Not sure why

// test('last.fm artist has lidarr icon', async ({ page }) => {
// await page.goto('https://www.last.fm/music/Aqua', { waitUntil: 'commit' });
// await expect(page.locator(iconDataLocator)).toHaveCount(1);
// await expect(page.locator(iconDataLocator)).toHaveAttribute('href', getExpectedLidarrUrl('Aqua'));
// });
test('last.fm artist has lidarr icon', async ({ page }) => {
await page.goto('https://www.last.fm/music/Aqua', { waitUntil: 'commit' });
await expect(page.locator(iconDataLocator)).toHaveCount(1);
await expect(page.locator(iconDataLocator)).toHaveAttribute('href', getExpectedLidarrUrl('Aqua'));
});

0 comments on commit 8cfdc7e

Please sign in to comment.