Skip to content

Commit

Permalink
Add missing . to copy in dynamicCite test
Browse files Browse the repository at this point in the history
  • Loading branch information
clari182 committed Dec 9, 2024
1 parent 8408fc2 commit 5154162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test.describe('Dynamic Cite pages', () => {
await expect(page.getByText(`Kronos’s scheduling algorithm and its use by Starbucks managers allegedly negatively impacted financial and scheduling stability for Starbucks employees, which disadvantaged wage workers.`)).toBeVisible();

await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText(
'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system'
'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system.'
);

await expect(page.locator('[data-cy="citation"]').getByText("Report Count", { exact: true }).locator('xpath=following-sibling::div[1]')).toHaveText('2');
Expand Down

0 comments on commit 5154162

Please sign in to comment.